1 write to TypeDeclaration
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
461contractCodeDomInfo.TypeDeclaration = type;
15 references to TypeDeclaration
System.Runtime.Serialization (15)
System\Runtime\Serialization\CodeExporter.cs (15)
420CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 487CodeTypeDeclaration containingType = containingContractCodeDomInfo.TypeDeclaration; 813CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 1017contractCodeDomInfo.TypeDeclaration.CustomAttributes.Add(knownTypeAttribute); 1034if (contractCodeDomInfo != null && contractCodeDomInfo.TypeDeclaration != null) 1036CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 1054if (EnableDataBinding && SupportsDeclareEvents && contractCodeDomInfo != null && contractCodeDomInfo.TypeDeclaration != null) 1056CodeTypeDeclaration codeTypeDeclaration = contractCodeDomInfo.TypeDeclaration; 1081CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 1130if (contractCodeDomInfo.TypeDeclaration.Name != expectedName) 1131throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidClrNameGeneratedForISerializable, dataContract.StableName.Name, dataContract.StableName.Namespace, contractCodeDomInfo.TypeDeclaration.Name))); 1133CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 1230CodeTypeDeclaration generatedType = contractCodeDomInfo.TypeDeclaration; 1254CodeTypeDeclaration type = contractCodeDomInfo.TypeDeclaration; 1357if (memberName == contractCodeDomInfo.TypeDeclaration.Name)