Home
last modified time | relevance | path

Searched refs:FromMessages (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs113 public static TypeRegistry FromMessages(params MessageDescriptor[] messageDescriptors) in FromMessages() method in Google.Protobuf.Reflection.TypeRegistry
115 return FromMessages((IEnumerable<MessageDescriptor>) messageDescriptors); in FromMessages()
129 public static TypeRegistry FromMessages(IEnumerable<MessageDescriptor> messageDescriptors) in FromMessages() method in Google.Protobuf.Reflection.TypeRegistry
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DTypeRegistryTest.cs55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile()
65 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in DependenciesAreIncluded()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs468 …er = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Timestamp.Descr… in AnyWellKnownType()
477 …er = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(TestAllTypes.De… in AnyMessageType()
486 …er = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(TestAllTypes.De… in AnyMessageType_CustomPrefix()
495 … var registry = TypeRegistry.FromMessages(TestWellKnownTypes.Descriptor, TestAllTypes.Descriptor); in AnyNested()
DJsonParserTest.cs802 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in Any_RegularMessage()
803 …er = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(TestAllTypes.De… in Any_RegularMessage()
816 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in Any_CustomPrefix()
841 var registry = TypeRegistry.FromMessages(Timestamp.Descriptor); in Any_WellKnownType()
855 … var registry = TypeRegistry.FromMessages(TestWellKnownTypes.Descriptor, TestAllTypes.Descriptor); in Any_Nested()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs51 var typeRegistry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in Main()