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;
21 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);
485
if (dataContract.
IsValueType
)
486
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)
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
339
isParamValueType = paramContract.
IsValueType
;
363
if (dataContract.
IsValueType
&& isElementTypeNullable)
792
if (classDataContract.
IsValueType
&& SupportsDeclareValueTypes)
847
(dataMember.IsNullable && dataMember.MemberTypeContract.
IsValueType
));
858
CodeMemberProperty property = CreateProperty(memberType, propertyName, fieldName, dataMember.MemberTypeContract.
IsValueType
&& SupportsDeclareValueTypes, raisePropertyChanged);
1131
if (classDataContract.
IsValueType
&& SupportsDeclareValueTypes)