55 references to CodeAttributeDeclaration
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2436
ctdClass.CustomAttributes.Add(new
CodeAttributeDeclaration
("Microsoft.VisualBasic.CompilerServices.DesignerGenerated"));
3100
cmmMain.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(STAThreadAttribute).FullName));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1545
return new
CodeAttributeDeclaration
(name);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
374
CodeAttributeDeclaration viewGenAttribute = new
CodeAttributeDeclaration
(EntityViewGenerationConstants.ViewGenerationCustomAttributeName);
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
258
unit.AssemblyCustomAttributes.Add(new
CodeAttributeDeclaration
("System.Security.SecurityTransparentAttribute"));
System.Runtime.Serialization (13)
System\Runtime\Serialization\CodeExporter.cs (13)
515
CodeAttributeDeclaration debuggerStepThroughAttribute = new
CodeAttributeDeclaration
(typeof(System.Diagnostics.DebuggerStepThroughAttribute).FullName);
516
CodeAttributeDeclaration generatedCodeAttribute = new
CodeAttributeDeclaration
(typeof(GeneratedCodeAttribute).FullName);
822
CodeAttributeDeclaration dataContractAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute));
887
CodeAttributeDeclaration dataMemberAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfDataMemberAttribute));
900
CodeAttributeDeclaration optionalFieldAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfOptionalFieldAttribute));
1015
CodeAttributeDeclaration knownTypeAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfKnownTypeAttribute));
1041
CodeAttributeDeclaration nonSerializedAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfNonSerializedAttribute));
1086
type.CustomAttributes.Add(new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfFlagsAttribute)));
1091
CodeAttributeDeclaration dataContractAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfDataContractAttribute));
1110
CodeAttributeDeclaration enumMemberAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfEnumMemberAttribute));
1232
CodeAttributeDeclaration collectionContractAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfCollectionDataContractAttribute));
1303
CodeAttributeDeclaration xmlRootAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfXmlRootAttribute));
1344
CodeAttributeDeclaration namespaceAttribute = new
CodeAttributeDeclaration
(DataContract.GetClrTypeFullName(Globals.TypeOfContractNamespaceAttribute));
System.ServiceModel (1)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
111
CodeAttributeDeclaration knownTypeAttribute = new
CodeAttributeDeclaration
(typeof(ServiceKnownTypeAttribute).FullName);
System.Web (3)
Compilation\BaseCodeDomTreeGenerator.cs (1)
411
CodeAttributeDeclaration attribDecl = new
CodeAttributeDeclaration
(
Compilation\UserControlCodeDomTreeGenerator.cs (1)
34
CodeAttributeDeclaration attribDecl = new
CodeAttributeDeclaration
(
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
701
CodeAttributeDeclaration aptca = new
CodeAttributeDeclaration
(
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
268
outAttribute = new
CodeAttributeDeclaration
(typeof(System.Runtime.InteropServices.OutAttribute).FullName);
System.Web.Services (6)
System\Web\Services\Description\SoapProtocolImporter.cs (4)
444
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(DebuggerStepThroughAttribute).FullName));
448
CodeAttributeDeclaration webService = new
CodeAttributeDeclaration
(typeof(WebServiceAttribute).FullName);
454
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(WebServiceBindingAttribute).FullName);
780
CodeAttributeDeclaration ignoreAttribute = new
CodeAttributeDeclaration
(typeof(XmlIgnoreAttribute).FullName);
System\Web\Services\Description\WebCodeGenerator.cs (2)
40
CodeAttributeDeclaration decl = new
CodeAttributeDeclaration
(typeof(GeneratedCodeAttribute).FullName);
354
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(DebuggerStepThroughAttribute).FullName));
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
792
CodeAttributeDeclaration attrDecl = new
CodeAttributeDeclaration
("WebMethodAttribute");
System.Workflow.ComponentModel (1)
Shared\XomlSerializationHelpers.cs (1)
289
CodeAttributeDeclaration xomlSourceAttribute = new
CodeAttributeDeclaration
(typeof(WorkflowMarkupSourceAttribute).FullName);
System.Xml (24)
System\Xml\Serialization\CodeExporter.cs (7)
98
CodeAttributeDeclaration decl = new
CodeAttributeDeclaration
(typeof(GeneratedCodeAttribute).FullName);
172
CodeAttributeDeclaration include = new
CodeAttributeDeclaration
(includeType.FullName);
182
CodeAttributeDeclaration include = new
CodeAttributeDeclaration
(includeType.FullName);
228
CodeAttributeDeclaration flags = new
CodeAttributeDeclaration
(typeof(FlagsAttribute).FullName);
236
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(type.FullName);
260
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(type.FullName);
274
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(type.FullName);
System\Xml\Serialization\SoapCodeExporter.cs (5)
106
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(SerializableAttribute).FullName));
110
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(DebuggerStepThroughAttribute).FullName));
194
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(SoapElementAttribute).FullName);
231
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(SoapIgnoreAttribute).FullName);
257
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(SoapIgnoreAttribute).FullName);
System\Xml\Serialization\XmlCodeExporter.cs (12)
142
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(SerializableAttribute).FullName));
146
codeClass.CustomAttributes.Add(new
CodeAttributeDeclaration
(typeof(DebuggerStepThroughAttribute).FullName));
174
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(rootAttrName);
615
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlNamespaceDeclarationsAttribute).FullName);
693
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlChoiceIdentifierAttribute).FullName);
698
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlIgnoreAttribute).FullName);
716
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlIgnoreAttribute).FullName);
742
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlIgnoreAttribute).FullName);
749
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlTextAttribute).FullName);
776
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(attributeType.FullName);
816
CodeAttributeDeclaration attribute = new
CodeAttributeDeclaration
(typeof(XmlAnyElementAttribute).FullName);
830
metadata.Add(new
CodeAttributeDeclaration
(typeof(XmlAnyAttributeAttribute).FullName));