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