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