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