/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | TypeRegistry.cs | 45 …static TypeRegistry Empty { get; } = new TypeRegistry(new Dictionary<string, MessageDescriptor>()); 47 private readonly Dictionary<string, MessageDescriptor> fullNameToMessageMap; 49 private TypeRegistry(Dictionary<string, MessageDescriptor> fullNameToMessageMap) in TypeRegistry() 61 public MessageDescriptor Find(string fullName) in Find() 63 MessageDescriptor ret; in Find() 113 public static TypeRegistry FromMessages(params MessageDescriptor[] messageDescriptors) in FromMessages() 115 return FromMessages((IEnumerable<MessageDescriptor>) messageDescriptors); in FromMessages() 129 public static TypeRegistry FromMessages(IEnumerable<MessageDescriptor> messageDescriptors) in FromMessages() 140 private readonly Dictionary<string, MessageDescriptor> types; 145 types = new Dictionary<string, MessageDescriptor>(); in Builder() [all …]
|
D | MethodDescriptor.cs | 42 private MessageDescriptor inputType; 43 private MessageDescriptor outputType; 53 public MessageDescriptor InputType { get { return inputType; } } 58 public MessageDescriptor OutputType { get { return outputType; } } 89 if (!(lookup is MessageDescriptor)) in CrossLink() 93 inputType = (MessageDescriptor) lookup; in CrossLink() 96 if (!(lookup is MessageDescriptor)) in CrossLink() 100 outputType = (MessageDescriptor) lookup; in CrossLink()
|
D | MessageDescriptor.cs | 43 public sealed class MessageDescriptor : DescriptorBase class 63 …internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, i… in MessageDescriptor() method in Google.Protobuf.Reflection.MessageDescriptor 82 … new MessageDescriptor(type, file, this, index, generatedCodeInfo.NestedTypes[index])); in MessageDescriptor() 174 public MessageDescriptor ContainingType { get; } 184 public IList<MessageDescriptor> NestedTypes { get; } 224 foreach (MessageDescriptor message in NestedTypes) in CrossLink() 245 private readonly MessageDescriptor messageDescriptor; 247 internal FieldCollection(MessageDescriptor messageDescriptor) in FieldCollection()
|
D | FieldDescriptor.cs | 44 private MessageDescriptor messageType; 52 public MessageDescriptor ContainingType { get; } 68 MessageDescriptor parent, int index, string propertyName) in FieldDescriptor() 241 public MessageDescriptor MessageType 266 if (typeDescriptor is MessageDescriptor) in CrossLink() 282 if (!(typeDescriptor is MessageDescriptor)) in CrossLink() 286 messageType = (MessageDescriptor) typeDescriptor; in CrossLink()
|
D | EnumDescriptor.cs | 44 private readonly MessageDescriptor containingType; 48 …internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, … in EnumDescriptor() 83 public MessageDescriptor ContainingType
|
D | OneofDescriptor.cs | 46 private MessageDescriptor containingType; 50 …internal OneofDescriptor(OneofDescriptorProto proto, FileDescriptor file, MessageDescriptor parent… in OneofDescriptor() 71 public MessageDescriptor ContainingType
|
D | FileDescriptor.cs | 59 … new MessageDescriptor(message, this, null, index, generatedCodeInfo.NestedTypes[index])); in FileDescriptor() 73 internal string ComputeFullName(MessageDescriptor parent, string name) in ComputeFullName() 142 public IList<MessageDescriptor> MessageTypes { get; } 272 foreach (MessageDescriptor message in MessageTypes) in CrossLink()
|
D | Descriptor.cs | 179 public static pbr::MessageDescriptor Descriptor { 183 pbr::MessageDescriptor pb::IMessage.Descriptor { 277 public static pbr::MessageDescriptor Descriptor { 281 pbr::MessageDescriptor pb::IMessage.Descriptor { 667 public static pbr::MessageDescriptor Descriptor { 671 pbr::MessageDescriptor pb::IMessage.Descriptor { 961 public static pbr::MessageDescriptor Descriptor { 965 pbr::MessageDescriptor pb::IMessage.Descriptor { 1096 public static pbr::MessageDescriptor Descriptor { 1100 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Wrappers.cs | 64 public static pbr::MessageDescriptor Descriptor { 68 pbr::MessageDescriptor pb::IMessage.Descriptor { 175 public static pbr::MessageDescriptor Descriptor { 179 pbr::MessageDescriptor pb::IMessage.Descriptor { 286 public static pbr::MessageDescriptor Descriptor { 290 pbr::MessageDescriptor pb::IMessage.Descriptor { 397 public static pbr::MessageDescriptor Descriptor { 401 pbr::MessageDescriptor pb::IMessage.Descriptor { 508 public static pbr::MessageDescriptor Descriptor { 512 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | Struct.cs | 84 public static pbr::MessageDescriptor Descriptor { 88 pbr::MessageDescriptor pb::IMessage.Descriptor { 190 public static pbr::MessageDescriptor Descriptor { 194 pbr::MessageDescriptor pb::IMessage.Descriptor { 503 public static pbr::MessageDescriptor Descriptor { 507 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | Type.cs | 100 public static pbr::MessageDescriptor Descriptor { 104 pbr::MessageDescriptor pb::IMessage.Descriptor { 341 public static pbr::MessageDescriptor Descriptor { 345 pbr::MessageDescriptor pb::IMessage.Descriptor { 825 public static pbr::MessageDescriptor Descriptor { 829 pbr::MessageDescriptor pb::IMessage.Descriptor { 1044 public static pbr::MessageDescriptor Descriptor { 1048 pbr::MessageDescriptor pb::IMessage.Descriptor { 1206 public static pbr::MessageDescriptor Descriptor { 1210 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | Empty.cs | 57 public static pbr::MessageDescriptor Descriptor { 61 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | Api.cs | 62 public static pbr::MessageDescriptor Descriptor { 66 pbr::MessageDescriptor pb::IMessage.Descriptor { 354 public static pbr::MessageDescriptor Descriptor { 358 pbr::MessageDescriptor pb::IMessage.Descriptor { 711 public static pbr::MessageDescriptor Descriptor { 715 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | SourceContext.cs | 50 public static pbr::MessageDescriptor Descriptor { 54 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | FieldMask.cs | 195 public static pbr::MessageDescriptor Descriptor { 199 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | Duration.cs | 89 public static pbr::MessageDescriptor Descriptor { 93 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | Timestamp.cs | 101 public static pbr::MessageDescriptor Descriptor { 105 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 65 MessageDescriptor messageType = TestAllTypes.Descriptor; in FileDescriptor() 69 Assert.AreEqual(messageType, file.FindTypeByName<MessageDescriptor>("TestAllTypes")); in FileDescriptor() 70 Assert.Null(file.FindTypeByName<MessageDescriptor>("NoSuchType")); in FileDescriptor() 71 Assert.Null(file.FindTypeByName<MessageDescriptor>("protobuf_unittest.TestAllTypes")); in FileDescriptor() 91 public void MessageDescriptor() in MessageDescriptor() method in Google.Protobuf.Reflection.DescriptorsTest 93 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptor() 94 MessageDescriptor nestedType = TestAllTypes.Types.NestedMessage.Descriptor; in MessageDescriptor() 122 … Assert.AreEqual(nestedType, messageType.FindDescriptor<MessageDescriptor>("NestedMessage")); in MessageDescriptor() 123 Assert.Null(messageType.FindDescriptor<MessageDescriptor>("NoSuchType")); in MessageDescriptor() 140 MessageDescriptor messageType = TestAllTypes.Descriptor; in FieldDescriptor()
|
D | TypeRegistryTest.cs | 84 … private static void AssertDescriptorPresent(TypeRegistry registry, MessageDescriptor descriptor) in AssertDescriptorPresent() 89 … private static void AssertDescriptorAbsent(TypeRegistry registry, MessageDescriptor descriptor) in AssertDescriptorAbsent()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestIssues.cs | 91 public static pbr::MessageDescriptor Descriptor { 95 pbr::MessageDescriptor pb::IMessage.Descriptor { 169 public static pbr::MessageDescriptor Descriptor { 173 pbr::MessageDescriptor pb::IMessage.Descriptor { 247 public static pbr::MessageDescriptor Descriptor { 251 pbr::MessageDescriptor pb::IMessage.Descriptor { 333 public static pbr::MessageDescriptor Descriptor { 337 pbr::MessageDescriptor pb::IMessage.Descriptor { 476 public static pbr::MessageDescriptor Descriptor { 480 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | UnittestProto3.cs | 243 public static pbr::MessageDescriptor Descriptor { 247 pbr::MessageDescriptor pb::IMessage.Descriptor { 1544 public static pbr::MessageDescriptor Descriptor { 1548 pbr::MessageDescriptor pb::IMessage.Descriptor { 1660 public static pbr::MessageDescriptor Descriptor { 1664 pbr::MessageDescriptor pb::IMessage.Descriptor { 1821 public static pbr::MessageDescriptor Descriptor { 1825 pbr::MessageDescriptor pb::IMessage.Descriptor { 1929 public static pbr::MessageDescriptor Descriptor { 1933 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | MapUnittestProto3.cs | 183 public static pbr::MessageDescriptor Descriptor { 187 pbr::MessageDescriptor pb::IMessage.Descriptor { 582 public static pbr::MessageDescriptor Descriptor { 586 pbr::MessageDescriptor pb::IMessage.Descriptor { 691 public static pbr::MessageDescriptor Descriptor { 695 pbr::MessageDescriptor pb::IMessage.Descriptor { 789 public static pbr::MessageDescriptor Descriptor { 793 pbr::MessageDescriptor pb::IMessage.Descriptor { 903 public static pbr::MessageDescriptor Descriptor { 907 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | UnittestImportPublicProto3.cs | 45 public static pbr::MessageDescriptor Descriptor { 49 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | UnittestImportProto3.cs | 59 public static pbr::MessageDescriptor Descriptor { 63 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
/external/protobuf/csharp/src/AddressBook/ |
D | Addressbook.cs | 54 public static pbr::MessageDescriptor Descriptor { 58 pbr::MessageDescriptor pb::IMessage.Descriptor { 241 public static pbr::MessageDescriptor Descriptor { 245 pbr::MessageDescriptor pb::IMessage.Descriptor { 379 public static pbr::MessageDescriptor Descriptor { 383 pbr::MessageDescriptor pb::IMessage.Descriptor {
|