Home
last modified time | relevance | path

Searched refs:LeadingComments (Results 1 - 3 of 3) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorDeclarationTest.cs61 Assert.AreEqual(" This is a test service\n", service.Declaration.LeadingComments); in ServiceComments()
70 Assert.AreEqual(" This is a test method\n", method.Declaration.LeadingComments); in MethodComments()
78 Assert.AreEqual(" This is a leading comment\n", message.Declaration.LeadingComments); in MessageComments()
101 Assert.AreEqual(" Leading enum comment\n", descriptor.Declaration.LeadingComments); in EnumComments()
110 Assert.AreEqual(" Leading nested message comment\n", nested.Declaration.LeadingComments); in NestedMessageComments()
119 Assert.AreEqual(" Leading nested enum comment\n", nested.Declaration.LeadingComments); in NestedEnumComments()
128 Assert.AreEqual(" Leading field comment\n", field.Declaration.LeadingComments); in FieldComments()
139 Assert.AreEqual(" Leading nested message field comment\n", field.Declaration.LeadingComments); in NestedMessageFieldComments()
148 Assert.AreEqual(" Zero value comment\n", value.Declaration.LeadingComments); in EnumValueComments()
158 Assert.AreEqual(" Zero value comment\n", value.Declaration.LeadingComments); in NestedEnumValueComments()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DDescriptorDeclaration.cs77 public string LeadingComments { get; } property in Google.Protobuf.Reflection.DescriptorDeclaration
104 LeadingComments = location.LeadingComments; in DescriptorDeclaration()
H A DDescriptor.cs185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}), in DescriptorReflection()
9540 public string LeadingComments { property in Google.Protobuf.Reflection.SourceCodeInfo.Types.Location
9605 if (LeadingComments != other.LeadingComments) return false; in Equals()
9616 if (HasLeadingComments) hash ^= LeadingComments.GetHashCode(); in GetHashCode()
9639 output.WriteString(LeadingComments); in WriteTo()
9659 output.WriteString(LeadingComments); in IBufferMessage.InternalWriteTo()
9678 size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments); in CalculateSize()
9698 LeadingComments = other.LeadingComments; in MergeFrom()
[all...]

Completed in 15 milliseconds