<PackageReference Include="Google.Protobuf" Version="3.34.1" />

Google.Protobuf.Reflection.SourceCodeInfo

Encapsulates information about the original source file from which a FileDescriptorProto was generated.
namespace Google.Protobuf.Reflection { public sealed class SourceCodeInfo : IExtendableMessage<SourceCodeInfo>, IMessage<SourceCodeInfo>, IMessage, IEquatable<SourceCodeInfo>, IDeepCloneable<SourceCodeInfo>, IBufferMessage { public static class Types { public sealed class Location : IMessage<Location>, IMessage, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage { public const int PathFieldNumber = 1; public const int SpanFieldNumber = 2; public const int LeadingCommentsFieldNumber = 3; public const int TrailingCommentsFieldNumber = 4; public const int LeadingDetachedCommentsFieldNumber = 6; public static MessageParser<Location> Parser { get; } public static MessageDescriptor Descriptor { get; } public RepeatedField<int> Path { get; } public RepeatedField<int> Span { get; } public string LeadingComments { get; set; } public bool HasLeadingComments { get; } public string TrailingComments { get; set; } public bool HasTrailingComments { get; } public RepeatedField<string> LeadingDetachedComments { get; } public Location(); public Location(Location other); public Location Clone(); public void ClearLeadingComments(); public void ClearTrailingComments(); public bool Equals(Location other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(Location other); public void MergeFrom(CodedInputStream input); } } public const int LocationFieldNumber = 1; public static MessageParser<SourceCodeInfo> Parser { get; } public static MessageDescriptor Descriptor { get; } public RepeatedField<Types.Location> Location { get; } public SourceCodeInfo(); public SourceCodeInfo(SourceCodeInfo other); public SourceCodeInfo Clone(); public bool Equals(SourceCodeInfo other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(SourceCodeInfo other); public void MergeFrom(CodedInputStream input); public TValue GetExtension<TValue>(Extension<SourceCodeInfo, TValue> extension); public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<SourceCodeInfo, TValue> extension); public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<SourceCodeInfo, TValue> extension); public void SetExtension<TValue>(Extension<SourceCodeInfo, TValue> extension, TValue value); public bool HasExtension<TValue>(Extension<SourceCodeInfo, TValue> extension); public void ClearExtension<TValue>(Extension<SourceCodeInfo, TValue> extension); public void ClearExtension<TValue>(RepeatedExtension<SourceCodeInfo, TValue> extension); } }