9 writes to IsValueType
System.Runtime.Serialization (9)
System\Runtime\Serialization\ClassDataContract.cs (1)
1436boundClassContract.IsValueType = this.IsValueType;
System\Runtime\Serialization\CodeExporter.cs (1)
558xmlContract.IsValueType = type.IsValueType;
System\Runtime\Serialization\SchemaImporter.cs (7)
668dataContract.IsValueType = IsValueType(typeName, annotation); 717xmlDataContract.IsValueType = false; 722xmlDataContract.IsValueType = IsValueType(typeName, xsdType.Annotation); 730xmlDataContract.IsValueType = true; 849dataContract.IsValueType = IsValueType(typeName, annotation); 926baseContract.IsValueType = false; 1124keyValueContract.IsValueType = true;
24 references to IsValueType
System.Runtime.Serialization (24)
System\Runtime\Serialization\ClassDataContract.cs (1)
1436boundClassContract.IsValueType = this.IsValueType;
System\Runtime\Serialization\CodeExporter.cs (7)
372if (dataContract.IsValueType && isElementTypeNullable) 730isParamValueType = paramContract.IsValueType; 816if (classDataContract.IsValueType && SupportsDeclareValueTypes) 872(dataMember.IsNullable && dataMember.MemberTypeContract.IsValueType)); 883CodeMemberProperty property = CreateProperty(memberType, propertyName, fieldName, dataMember.MemberTypeContract.IsValueType && SupportsDeclareValueTypes, raisePropertyChanged); 1136if (dataContract.IsValueType && SupportsDeclareValueTypes) 1257if (xmlDataContract.IsValueType)
System\Runtime\Serialization\CollectionDataContract.cs (3)
1243boundCollectionContract.IsItemTypeNullable = !boundCollectionContract.ItemContract.IsValueType; 1405bool thisItemTypeIsNullable = (ItemContract == null) ? false : !ItemContract.IsValueType; 1406bool otherItemTypeIsNullable = (dataContract.ItemContract == null) ? false : !dataContract.ItemContract.IsValueType;
System\Runtime\Serialization\DataContract.cs (1)
1616if (this.IsValueType && isNullable)
System\Runtime\Serialization\DataMember.cs (3)
313!memberTypeContract.IsValueType, 329bool thisIsNullable = (MemberTypeContract == null) ? false : !MemberTypeContract.IsValueType; 330bool dataMemberIsNullable = (dataMember.MemberTypeContract == null) ? false : !dataMember.MemberTypeContract.IsValueType;
System\Runtime\Serialization\SchemaExporter.cs (6)
174if (classDataContract.IsValueType) 175isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(classDataContract.IsValueType), schema); 480if (dataContract.IsValueType) 481isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.IsValueType), schema); 535dataContract.IsValueType ? 536GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.IsValueType), schema) :
System\Runtime\Serialization\SchemaImporter.cs (3)
925if (baseContract.IsValueType) 1004if (!memberTypeContract.IsValueType && !memberIsNullable) 1145if (dataMember.MemberTypeContract.IsValueType && dataMember.IsNullable)