20 references to MemberTypeContract
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\DataContractSet.cs (1)
288return dataMember.MemberTypeContract;
System\Runtime\Serialization\DataMember.cs (7)
295DataContract memberTypeContract = MemberTypeContract.BindGenericParameters(paramContracts, boundContracts); 315bool thisIsNullable = (MemberTypeContract == null) ? false : !MemberTypeContract.IsValueType; 316bool dataMemberIsNullable = (dataMember.MemberTypeContract == null) ? false : !dataMember.MemberTypeContract.IsValueType; 321&& MemberTypeContract!.Equals(dataMember.MemberTypeContract, checkedContracts));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
741DataContract keyDataContract = keyValueDataContract.Members![0].MemberTypeContract;
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (1)
161DataContract keyDataContract = keyValueDataContract.Members![0].MemberTypeContract;
System\Runtime\Serialization\SchemaImporter.cs (3)
1138if (dataMember.MemberTypeContract.IsValueType && dataMember.IsNullable) 1141genericInfo.Add(new GenericInfo(dataMember.MemberTypeContract.XmlName, null)); 1145genericInfo = new GenericInfo(dataMember.MemberTypeContract.XmlName, null);
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
80return member.MemberTypeContract;
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
666CodeTypeReference? keyTypeReference = GetElementTypeReference(keyMember.MemberTypeContract, keyMember.IsNullable); 667CodeTypeReference? valueTypeReference = GetElementTypeReference(valueMember.MemberTypeContract, valueMember.IsNullable); 846CodeTypeReference memberType = GetElementTypeReference(dataMember.MemberTypeContract, 847(dataMember.IsNullable && dataMember.MemberTypeContract.IsValueType)); 858CodeMemberProperty property = CreateProperty(memberType, propertyName, fieldName, dataMember.MemberTypeContract.IsValueType && SupportsDeclareValueTypes, raisePropertyChanged); 944DataContract memberContract = dataMember.MemberTypeContract;