86 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)
1477ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1487ctmTarget.CustomAttributes.Add(cad); 1495ctmTarget.CustomAttributes.Add(cad); 2219field.CustomAttributes.Add( 2445ctmTarget.CustomAttributes.Add(cad); 2488ctdClass.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated")); 3215cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
System.CodeDom (52)
Microsoft\CSharp\CSharpCodeGenerator.cs (18)
1110if (e.CustomAttributes.Count > 0) 1112GenerateAttributes(e.CustomAttributes); 1244if (e.CustomAttributes.Count > 0) 1246GenerateAttributes(e.CustomAttributes); 1258if (e.CustomAttributes.Count > 0) 1260GenerateAttributes(e.CustomAttributes); 1293if (e.CustomAttributes.Count > 0) 1295GenerateAttributes(e.CustomAttributes); 1349if (e.CustomAttributes.Count > 0) 1351GenerateAttributes(e.CustomAttributes); 1439if (e.CustomAttributes.Count > 0) 1441GenerateAttributes(e.CustomAttributes); 1751if (e.CustomAttributes.Count > 0) 1753GenerateAttributes(e.CustomAttributes); 1800if (e.CustomAttributes.Count > 0) 1802GenerateAttributes(e.CustomAttributes); 1890if (e.CustomAttributes.Count > 0) 1892GenerateAttributes(e.CustomAttributes);
Microsoft\VisualBasic\VBCodeGenerator.cs (22)
1455if (e.CustomAttributes.Count > 0) 1457OutputAttributes(e.CustomAttributes, false); 1508if (e.CustomAttributes.Count > 0) 1510OutputAttributes(e.CustomAttributes, false); 1523if (e.CustomAttributes.Count > 0) 1525OutputAttributes(e.CustomAttributes, false); 1580if (e.CustomAttributes.Count > 0) 1582OutputAttributes(e.CustomAttributes, false); 1695if (e.CustomAttributes.Count > 0) 1697OutputAttributes(e.CustomAttributes, false); 1735if (e.CustomAttributes.Count > 0) 1737OutputAttributes(e.CustomAttributes, false); 1875if (e.CustomAttributes.Count > 0) 1877OutputAttributes(e.CustomAttributes, false); 1918if (e.CustomAttributes.Count > 0) 1920OutputAttributes(e.CustomAttributes, false); 1941if (e.CustomAttributes.Count > 0) 1943OutputAttributes(e.CustomAttributes, false); 1975if (e.CustomAttributes.Count > 0) 1977OutputAttributes(e.CustomAttributes, false); 1994if (e.CustomAttributes.Count > 0) 1996OutputAttributes(e.CustomAttributes, false);
System\CodeDom\Compiler\CodeValidator.cs (12)
230if (e.CustomAttributes.Count > 0) 232ValidateAttributes(e.CustomAttributes); 249if (e.CustomAttributes.Count > 0) 251ValidateAttributes(e.CustomAttributes); 274if (e.CustomAttributes.Count > 0) 276ValidateAttributes(e.CustomAttributes); 343if (e.CustomAttributes.Count > 0) 345ValidateAttributes(e.CustomAttributes); 370if (e.CustomAttributes.Count > 0) 372ValidateAttributes(e.CustomAttributes); 573if (e.CustomAttributes.Count > 0) 575ValidateAttributes(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);
System.Windows.Forms.Design (6)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (6)
380classType.CustomAttributes.Add(new(new CodeTypeReference(typeof(DebuggerNonUserCodeAttribute)) 386classType.CustomAttributes.Add(new(new CodeTypeReference(typeof(CompilerGeneratedAttribute)) 454typeMember.CustomAttributes.Add(generatedCodeAttrib); 497constructor.CustomAttributes.Add(suppressAttribute); 548resourceManagerProperty.CustomAttributes.Add(editorBrowsableAdvancedAttribute); 568culture.CustomAttributes.Add(editorBrowsableAdvancedAttribute);