3 writes to TypeReference
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
415
contractCodeDomInfo.
TypeReference
= referencedType;
451
contractCodeDomInfo.
TypeReference
= new CodeTypeReference((clrNamespace == null || clrNamespace.Length == 0) ? typeName : clrNamespace + "." + typeName);
505
contractCodeDomInfo.
TypeReference
= new CodeTypeReference(containingContractCodeDomInfo.TypeReference!.BaseType + "+" + nestedTypeName); // Again, nested types by definition have containing types.
9 references to TypeReference
System.Runtime.Serialization.Schema (9)
System\Runtime\Serialization\Schema\CodeExporter.cs (7)
314
Debug.Assert(contractCodeDomInfo.
TypeReference
!= null);
315
return contractCodeDomInfo.
TypeReference
!;
505
contractCodeDomInfo.TypeReference = new CodeTypeReference(containingContractCodeDomInfo.
TypeReference
!.BaseType + "+" + nestedTypeName); // Again, nested types by definition have containing types.
822
type.BaseTypes.Add(baseContractCodeDomInfo.
TypeReference
!);
826
Type? actualType = (Type?)baseContractCodeDomInfo.
TypeReference
?.UserData[s_codeUserDataActualTypeKey];
1155
type.BaseTypes.Add(baseContractCodeDomInfo.
TypeReference
!);
1158
Type? actualType = (Type?)baseContractCodeDomInfo.
TypeReference
?.UserData[s_codeUserDataActualTypeKey];
System\Runtime\Serialization\Schema\ContractCodeDomInfo.cs (2)
29
throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.CannotSetNamespaceForReferencedType,
TypeReference
?.BaseType)));
50
throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.CannotSetMembersForReferencedType,
TypeReference
?.BaseType)));