5 writes to IsValueType
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\ClassDataContract.cs (1)
1369
boundClassContract.
IsValueType
= IsValueType;
System\Runtime\Serialization\SchemaImporter.cs (4)
659
dataContract.
IsValueType
= IsValueType(typeName, annotation);
830
dataContract.
IsValueType
= IsValueType(typeName, annotation);
907
baseContract.
IsValueType
= false;
1115
keyValueContract.
IsValueType
= true;
15 references to IsValueType
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\ClassDataContract.cs (1)
1369
boundClassContract.IsValueType =
IsValueType
;
System\Runtime\Serialization\CollectionDataContract.cs (3)
1401
boundCollectionContract.IsItemTypeNullable = !boundCollectionContract.ItemContract.
IsValueType
;
1542
bool thisItemTypeIsNullable = (ItemContract == null) ? false : !ItemContract.
IsValueType
;
1543
bool otherItemTypeIsNullable = (dataContract.ItemContract == null) ? false : !dataContract.ItemContract.
IsValueType
;
System\Runtime\Serialization\DataContract.cs (1)
1433
if (
IsValueType
&& isNullable)
System\Runtime\Serialization\DataMember.cs (3)
298
!memberTypeContract.
IsValueType
,
315
bool thisIsNullable = (MemberTypeContract == null) ? false : !MemberTypeContract.
IsValueType
;
316
bool dataMemberIsNullable = (dataMember.MemberTypeContract == null) ? false : !dataMember.MemberTypeContract.
IsValueType
;
System\Runtime\Serialization\SchemaExporter.cs (4)
168
if (classDataContract.
IsValueType
)
169
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(classDataContract.
IsValueType
), schema);
484
if (dataContract.
IsValueType
)
485
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.
IsValueType
), schema);
System\Runtime\Serialization\SchemaImporter.cs (3)
906
if (baseContract.
IsValueType
)
988
if (!memberTypeContract.
IsValueType
&& !memberIsNullable)
1138
if (dataMember.MemberTypeContract.
IsValueType
&& dataMember.IsNullable)