51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace Google.Protobuf.Reflection
|
|
{
|
|
// Token: 0x02000058 RID: 88
|
|
public sealed class DescriptorValidationException : Exception
|
|
{
|
|
// Token: 0x17000166 RID: 358
|
|
// (get) Token: 0x06000571 RID: 1393 RVA: 0x0001397A File Offset: 0x00011B7A
|
|
public string ProblemSymbolName
|
|
{
|
|
get
|
|
{
|
|
return this.name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000167 RID: 359
|
|
// (get) Token: 0x06000572 RID: 1394 RVA: 0x00013982 File Offset: 0x00011B82
|
|
public string Description
|
|
{
|
|
get
|
|
{
|
|
return this.description;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000573 RID: 1395 RVA: 0x0001398A File Offset: 0x00011B8A
|
|
internal DescriptorValidationException(IDescriptor problemDescriptor, string description)
|
|
: base(problemDescriptor.FullName + ": " + description)
|
|
{
|
|
this.name = problemDescriptor.FullName;
|
|
this.description = description;
|
|
}
|
|
|
|
// Token: 0x06000574 RID: 1396 RVA: 0x000139B6 File Offset: 0x00011BB6
|
|
internal DescriptorValidationException(IDescriptor problemDescriptor, string description, Exception cause)
|
|
: base(problemDescriptor.FullName + ": " + description, cause)
|
|
{
|
|
this.name = problemDescriptor.FullName;
|
|
this.description = description;
|
|
}
|
|
|
|
// Token: 0x0400020E RID: 526
|
|
private readonly string name;
|
|
|
|
// Token: 0x0400020F RID: 527
|
|
private readonly string description;
|
|
}
|
|
}
|