5 writes to IsValueType
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\ClassDataContract.cs (1)
1369boundClassContract.IsValueType = IsValueType;
System\Runtime\Serialization\SchemaImporter.cs (4)
659dataContract.IsValueType = IsValueType(typeName, annotation); 830dataContract.IsValueType = IsValueType(typeName, annotation); 907baseContract.IsValueType = false; 1115keyValueContract.IsValueType = true;
21 references to IsValueType
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\ClassDataContract.cs (1)
1369boundClassContract.IsValueType = IsValueType;
System\Runtime\Serialization\CollectionDataContract.cs (3)
1401boundCollectionContract.IsItemTypeNullable = !boundCollectionContract.ItemContract.IsValueType; 1542bool thisItemTypeIsNullable = (ItemContract == null) ? false : !ItemContract.IsValueType; 1543bool otherItemTypeIsNullable = (dataContract.ItemContract == null) ? false : !dataContract.ItemContract.IsValueType;
System\Runtime\Serialization\DataContract.cs (1)
1433if (IsValueType && isNullable)
System\Runtime\Serialization\DataMember.cs (3)
298!memberTypeContract.IsValueType, 315bool thisIsNullable = (MemberTypeContract == null) ? false : !MemberTypeContract.IsValueType; 316bool dataMemberIsNullable = (dataMember.MemberTypeContract == null) ? false : !dataMember.MemberTypeContract.IsValueType;
System\Runtime\Serialization\SchemaExporter.cs (4)
168if (classDataContract.IsValueType) 169isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(classDataContract.IsValueType), schema); 485if (dataContract.IsValueType) 486isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.IsValueType), schema);
System\Runtime\Serialization\SchemaImporter.cs (3)
906if (baseContract.IsValueType) 988if (!memberTypeContract.IsValueType && !memberIsNullable) 1138if (dataMember.MemberTypeContract.IsValueType && dataMember.IsNullable)
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
339isParamValueType = paramContract.IsValueType; 363if (dataContract.IsValueType && isElementTypeNullable) 792if (classDataContract.IsValueType && SupportsDeclareValueTypes) 847(dataMember.IsNullable && dataMember.MemberTypeContract.IsValueType)); 858CodeMemberProperty property = CreateProperty(memberType, propertyName, fieldName, dataMember.MemberTypeContract.IsValueType && SupportsDeclareValueTypes, raisePropertyChanged); 1131if (classDataContract.IsValueType && SupportsDeclareValueTypes)