27 references to MemberType
System.Private.DataContractSerialization (27)
System\Runtime\Serialization\ClassDataContract.cs (9)
370childElementNamespaces[i + baseChildElementNamespaceCount] = GetChildNamespaceToDeclare(this, Members[i].MemberType, dictionary); 864memberContract.IsNullable = DataContract.IsTypeNullable(memberContract.MemberType); 913if (_hasExtensionData && memberContract.MemberType == Globals.TypeOfExtensionDataObject 919memberContract.IsNullable = DataContract.IsTypeNullable(memberContract.MemberType); 945memberContract.IsNullable = DataContract.IsTypeNullable(memberContract.MemberType); 965if (CollectionDataContract.IsCollection(memberContract.MemberType, false /*isConstructorRequired*/, skipIfReadOnlyContract) && !memberContract.MemberType.IsValueType) 1017hasConflictingType = (membersInHierarchy[endIndex]._member.MemberType != membersInHierarchy[endIndex + 1]._member.MemberType);
System\Runtime\Serialization\DataContractSet.cs (1)
267Type dataMemberType = dataMember.MemberType;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (3)
367Type memberType = dataMember.MemberType; 997LocalBuilder pairKey = _ilg.DeclareLocal(keyMember.MemberType); 998LocalBuilder pairValue = _ilg.DeclareLocal(valueMember.MemberType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
243Type memberType = member.MemberType; 301LocalBuilder memberValue = _ilg.DeclareLocal(member.MemberType);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
215Type memberType = member.MemberType;
System\Runtime\Serialization\ReflectionReader.cs (1)
385Type type = dataMember.MemberType;
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (3)
150Type memberType = member.MemberType; 261if (member.MemberType != member.ConflictingMember.MemberType)
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
426Type memberType = dataMember.MemberType; 926LocalBuilder pairKey = _ilg.DeclareLocal(keyMember.MemberType); 927LocalBuilder pairValue = _ilg.DeclareLocal(valueMember.MemberType);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (4)
313Type memberType = member.MemberType; 367LocalBuilder memberValue = _ilg.DeclareLocal(member.MemberType); 821if (member.MemberType != member.ConflictingMember.MemberType)