80 references to CustomAttributes
Microsoft.Build.Tasks.Core (6)
system.design\stronglytypedresourcebuilder.cs (6)
224srClass.CustomAttributes.Add(new CodeAttributeDeclaration(debuggerAttrib)); 231srClass.CustomAttributes.Add(new CodeAttributeDeclaration(compilerGenedAttrib)); 310typeMember.CustomAttributes.Add(generatedCodeAttrib); 346ctor.CustomAttributes.Add(suppressMessageAttrib); 413resMgr.CustomAttributes.Add(editorBrowsableAdvancedAttribute); 437culture.CustomAttributes.Add(editorBrowsableAdvancedAttribute);
PresentationBuildTasks (7)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (7)
1478ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1488ctmTarget.CustomAttributes.Add(cad); 1496ctmTarget.CustomAttributes.Add(cad); 2221field.CustomAttributes.Add( 2447ctmTarget.CustomAttributes.Add(cad); 2488ctdClass.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated")); 3175cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
System.CodeDom (52)
Microsoft\CSharp\CSharpCodeGenerator.cs (18)
1113if (e.CustomAttributes.Count > 0) 1115GenerateAttributes(e.CustomAttributes); 1253if (e.CustomAttributes.Count > 0) 1255GenerateAttributes(e.CustomAttributes); 1267if (e.CustomAttributes.Count > 0) 1269GenerateAttributes(e.CustomAttributes); 1302if (e.CustomAttributes.Count > 0) 1304GenerateAttributes(e.CustomAttributes); 1358if (e.CustomAttributes.Count > 0) 1360GenerateAttributes(e.CustomAttributes); 1448if (e.CustomAttributes.Count > 0) 1450GenerateAttributes(e.CustomAttributes); 1760if (e.CustomAttributes.Count > 0) 1762GenerateAttributes(e.CustomAttributes); 1809if (e.CustomAttributes.Count > 0) 1811GenerateAttributes(e.CustomAttributes); 1899if (e.CustomAttributes.Count > 0) 1901GenerateAttributes(e.CustomAttributes);
Microsoft\VisualBasic\VBCodeGenerator.cs (22)
1458if (e.CustomAttributes.Count > 0) 1460OutputAttributes(e.CustomAttributes, false); 1511if (e.CustomAttributes.Count > 0) 1513OutputAttributes(e.CustomAttributes, false); 1526if (e.CustomAttributes.Count > 0) 1528OutputAttributes(e.CustomAttributes, false); 1583if (e.CustomAttributes.Count > 0) 1585OutputAttributes(e.CustomAttributes, false); 1698if (e.CustomAttributes.Count > 0) 1700OutputAttributes(e.CustomAttributes, false); 1738if (e.CustomAttributes.Count > 0) 1740OutputAttributes(e.CustomAttributes, false); 1878if (e.CustomAttributes.Count > 0) 1880OutputAttributes(e.CustomAttributes, false); 1921if (e.CustomAttributes.Count > 0) 1923OutputAttributes(e.CustomAttributes, false); 1944if (e.CustomAttributes.Count > 0) 1946OutputAttributes(e.CustomAttributes, false); 1978if (e.CustomAttributes.Count > 0) 1980OutputAttributes(e.CustomAttributes, false); 1997if (e.CustomAttributes.Count > 0) 1999OutputAttributes(e.CustomAttributes, false);
System\CodeDom\Compiler\CodeValidator.cs (12)
233if (e.CustomAttributes.Count > 0) 235ValidateAttributes(e.CustomAttributes); 252if (e.CustomAttributes.Count > 0) 254ValidateAttributes(e.CustomAttributes); 277if (e.CustomAttributes.Count > 0) 279ValidateAttributes(e.CustomAttributes); 346if (e.CustomAttributes.Count > 0) 348ValidateAttributes(e.CustomAttributes); 373if (e.CustomAttributes.Count > 0) 375ValidateAttributes(e.CustomAttributes); 579if (e.CustomAttributes.Count > 0) 581ValidateAttributes(e.CustomAttributes);
System.Runtime.Serialization.Schema (15)
System\Runtime\Serialization\Schema\CodeExporter.cs (15)
528typeDecl.CustomAttributes.Add(debuggerStepThroughAttribute); 530typeDecl.CustomAttributes.Add(generatedCodeAttribute); 772type.CustomAttributes.Add(SerializableAttribute); 803type.CustomAttributes.Add(dataContractAttribute); 872property.CustomAttributes.Add(dataMemberAttribute); 877field.CustomAttributes.Add(optionalFieldAttribute); 999contractCodeDomInfo.TypeDeclaration.CustomAttributes.Add(knownTypeAttribute); 1024extensionDataObjectField.CustomAttributes.Add(nonSerializedAttribute); 1076type.CustomAttributes.Add(new CodeAttributeDeclaration(GetClrTypeFullName(typeof(FlagsAttribute)))); 1084type.CustomAttributes.Add(dataContractAttribute); 1101enumMember.CustomAttributes.Add(enumMemberAttribute); 1255generatedType.CustomAttributes.Add(collectionContractAttribute); 1291type.CustomAttributes.Add(new CodeAttributeDeclaration( 1299type.CustomAttributes.Add(new CodeAttributeDeclaration( 1333type.CustomAttributes.Add(xmlRootAttribute);