Google.Protobuf.Reflection.DescriptorValidationException
Thrown when building descriptors fails because the source DescriptorProtos
are not valid.
namespace Google.Protobuf.Reflection
{
public sealed class DescriptorDeclaration
{
public IDescriptor Descriptor { get; }
public int StartLine { get; }
public int StartColumn { get; }
public int EndLine { get; }
public int EndColumn { get; }
public string LeadingComments { get; }
public string TrailingComments { get; }
public IReadOnlyList<string> LeadingDetachedComments { get; }
}
}
namespace Google.Protobuf.Reflection
{
public sealed class DescriptorValidationException : Exception
{
public string ProblemSymbolName { get; }
public string Description { get; }
}
}