Home
last modified time | relevance | path

Searched refs:ClrType (Results 1 - 7 of 7) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DMessageDescriptor.cs74 ClrType = generatedCodeInfo?.ClrType; in MessageDescriptor()
162 extensionSetIsInitialized = ReflectionUtil.CreateIsInitializedCaller(ClrType); in IsExtensionsInitialized()
185 public Type ClrType { get; } property in Google.Protobuf.Reflection.MessageDescriptor
193 /// typed to the relevant type, but it should produce objects of a type compatible with <see cref="ClrType"/>.
H A DGeneratedClrTypeInfo.cs50 public Type ClrType { get; private set; } property in Google.Protobuf.Reflection.GeneratedClrTypeInfo
95 ClrType = clrType; in GeneratedClrTypeInfo()
H A DOneofDescriptor.cs177 var caseProperty = containingType.ClrType.GetProperty(clrName + "Case"); in CreateAccessor()
180 throw new DescriptorValidationException(this, $"Property {clrName}Case not found in {containingType.ClrType}"); in CreateAccessor()
184 throw new ArgumentException($"Cannot read from property {clrName}Case in {containingType.ClrType}"); in CreateAccessor()
186 var clearMethod = containingType.ClrType.GetMethod("Clear" + clrName); in CreateAccessor()
189 throw new DescriptorValidationException(this, $"Method Clear{clrName} not found in {containingType.ClrType}"); in CreateAccessor()
H A DEnumDescriptor.cs90 public Type ClrType { get { return clrType; } } property in Google.Protobuf.Reflection.EnumDescriptor
H A DFieldDescriptor.cs444 var property = ContainingType.ClrType.GetProperty(propertyName); in CreateAccessor()
447 throw new DescriptorValidationException(this, $"Property {propertyName} not found in {ContainingType.ClrType}"); in CreateAccessor()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs66 Assert.AreSame(typeof(TestAllTypes), messageType.ClrType); in FileDescriptor()
234 Assert.IsNull(descriptor.ClrType); in MapEntryMessageDescriptor()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs163 Assert.AreSame(typeof(TestAllTypes), messageType.ClrType); in MessageDescriptorFromGeneratedCodeFileDescriptor()
351 Assert.IsNull(descriptor.ClrType); in MapEntryMessageDescriptor()

Completed in 5 milliseconds