3 writes to TypeReference
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (3)
415
contractCodeDomInfo.
TypeReference
= referencedType;
451
contractCodeDomInfo.
TypeReference
= new CodeTypeReference((clrNamespace == null || clrNamespace.Length == 0) ? typeName : clrNamespace + "." + typeName);
503
contractCodeDomInfo.
TypeReference
= new CodeTypeReference(containingContractCodeDomInfo.TypeReference.BaseType + "+" + nestedTypeName);
8 references to TypeReference
System.Runtime.Serialization (8)
System\Runtime\Serialization\CodeExporter.cs (6)
360
return contractCodeDomInfo.
TypeReference
;
503
contractCodeDomInfo.TypeReference = new CodeTypeReference(containingContractCodeDomInfo.
TypeReference
.BaseType + "+" + nestedTypeName);
846
type.BaseTypes.Add(baseContractCodeDomInfo.
TypeReference
);
850
Type actualType = (Type)baseContractCodeDomInfo.
TypeReference
.UserData[codeUserDataActualTypeKey];
1160
type.BaseTypes.Add(baseContractCodeDomInfo.
TypeReference
);
1163
Type actualType = (Type)baseContractCodeDomInfo.
TypeReference
.UserData[codeUserDataActualTypeKey];
System\Runtime\Serialization\ContractCodeDomInfo.cs (2)
30
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetNamespaceForReferencedType,
TypeReference
.BaseType)));
39
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetMembersForReferencedType,
TypeReference
.BaseType)));