1 write to TypeDeclaration
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
462
contractCodeDomInfo.
TypeDeclaration
= type;
22 references to TypeDeclaration
System.Runtime.Serialization.Schema (22)
System\Runtime\Serialization\Schema\CodeExporter.cs (22)
420
CodeTypeDeclaration? type = contractCodeDomInfo.
TypeDeclaration
;
489
CodeTypeDeclaration containingType = containingContractCodeDomInfo.
TypeDeclaration
!; // Nested types by definition have containing types.
787
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
789
CodeTypeDeclaration type = contractCodeDomInfo.
TypeDeclaration
;
995
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
999
contractCodeDomInfo.
TypeDeclaration
.CustomAttributes.Add(knownTypeAttribute);
1016
if (contractCodeDomInfo.
TypeDeclaration
!= null)
1018
CodeTypeDeclaration type = contractCodeDomInfo.
TypeDeclaration
;
1036
if (EnableDataBinding && SupportsDeclareEvents && contractCodeDomInfo.
TypeDeclaration
!= null)
1038
CodeTypeDeclaration codeTypeDeclaration = contractCodeDomInfo.
TypeDeclaration
;
1067
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
1069
CodeTypeDeclaration type = contractCodeDomInfo.
TypeDeclaration
;
1123
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
1125
if (contractCodeDomInfo.
TypeDeclaration
.Name != expectedName)
1126
throw ExceptionUtil.ThrowHelperError(new InvalidDataContractException(SR.Format(SR.InvalidClrNameGeneratedForISerializable, classDataContract.XmlName.Name, classDataContract.XmlName.Namespace, contractCodeDomInfo.
TypeDeclaration
.Name)));
1128
CodeTypeDeclaration type = contractCodeDomInfo.
TypeDeclaration
;
1237
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
1239
CodeTypeDeclaration generatedType = contractCodeDomInfo.
TypeDeclaration
;
1268
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
1270
CodeTypeDeclaration type = contractCodeDomInfo.
TypeDeclaration
;
1374
Debug.Assert(contractCodeDomInfo.
TypeDeclaration
!= null);
1376
if (memberName == contractCodeDomInfo.
TypeDeclaration
.Name)