4 writes to IsReference
System.Runtime.Serialization (4)
System\Runtime\Serialization\ClassDataContract.cs (1)
1437
boundClassContract.
IsReference
= this.IsReference;
System\Runtime\Serialization\SchemaImporter.cs (3)
669
dataContract.
IsReference
= isReference;
682
dataContract.
IsReference
= true;
1072
dataContract.
IsReference
= isReference;
18 references to IsReference
System.Runtime.Serialization (18)
System\Runtime\Serialization\ClassDataContract.cs (4)
806
bool baseIsReference = this.BaseContract.
IsReference
;
815
this.BaseContract.
IsReference
),
825
isReference = this.BaseContract.
IsReference
;
1437
boundClassContract.IsReference = this.
IsReference
;
System\Runtime\Serialization\CodeExporter.cs (4)
825
if (classDataContract.
IsReference
!= Globals.DefaultIsReference)
826
dataContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.IsReferenceProperty, new CodePrimitiveExpression(classDataContract.
IsReference
)));
1235
if (collectionContract.
IsReference
!= Globals.DefaultIsReference)
1236
collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(Globals.IsReferenceProperty, new CodePrimitiveExpression(collectionContract.
IsReference
)));
System\Runtime\Serialization\DataContract.cs (2)
2279
return (StableName.Name == dataContract.StableName.Name && StableName.Namespace == dataContract.StableName.Namespace &&
IsReference
== dataContract.
IsReference
);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
585
if (dataContract.
IsReference
)
591
dataContract.
IsReference
)));
System\Runtime\Serialization\SchemaExporter.cs (4)
166
if (classDataContract.
IsReference
&& !classDataContract.BaseContract.
IsReference
)
176
if (classDataContract.
IsReference
)
409
if (collectionDataContract.
IsReference
)
System\Runtime\Serialization\SchemaImporter.cs (1)
680
if (dataContract.BaseContract.
IsReference
)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
229
if (preserveObjectReferences || !contract.
IsReference
|| isGetOnlyCollection)