88 references to CustomAttributes
Microsoft.Build.Tasks.Core (8)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
661
property.
CustomAttributes
.Add(new CodeAttributeDeclaration("Microsoft.Build.Framework.Output"));
667
property.
CustomAttributes
.Add(new CodeAttributeDeclaration("Microsoft.Build.Framework.Required"));
system.design\stronglytypedresourcebuilder.cs (6)
253
srClass.
CustomAttributes
.Add(new CodeAttributeDeclaration(debuggerAttrib));
260
srClass.
CustomAttributes
.Add(new CodeAttributeDeclaration(compilerGenedAttrib));
339
typeMember.
CustomAttributes
.Add(generatedCodeAttrib);
375
ctor.
CustomAttributes
.Add(suppressMessageAttrib);
442
resMgr.
CustomAttributes
.Add(editorBrowsableAdvancedAttribute);
466
culture.
CustomAttributes
.Add(editorBrowsableAdvancedAttribute);
PresentationBuildTasks (7)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (7)
1464
ctmTarget.
CustomAttributes
.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa));
1474
ctmTarget.
CustomAttributes
.Add(cad);
1482
ctmTarget.
CustomAttributes
.Add(cad);
2206
field.
CustomAttributes
.Add(
2432
ctmTarget.
CustomAttributes
.Add(cad);
2475
ctdClass.
CustomAttributes
.Add(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated"));
3202
cmmMain.
CustomAttributes
.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
System.CodeDom (52)
Microsoft\CSharp\CSharpCodeGenerator.cs (18)
1108
if (e.
CustomAttributes
.Count > 0)
1110
GenerateAttributes(e.
CustomAttributes
);
1242
if (e.
CustomAttributes
.Count > 0)
1244
GenerateAttributes(e.
CustomAttributes
);
1256
if (e.
CustomAttributes
.Count > 0)
1258
GenerateAttributes(e.
CustomAttributes
);
1291
if (e.
CustomAttributes
.Count > 0)
1293
GenerateAttributes(e.
CustomAttributes
);
1347
if (e.
CustomAttributes
.Count > 0)
1349
GenerateAttributes(e.
CustomAttributes
);
1437
if (e.
CustomAttributes
.Count > 0)
1439
GenerateAttributes(e.
CustomAttributes
);
1749
if (e.
CustomAttributes
.Count > 0)
1751
GenerateAttributes(e.
CustomAttributes
);
1798
if (e.
CustomAttributes
.Count > 0)
1800
GenerateAttributes(e.
CustomAttributes
);
1888
if (e.
CustomAttributes
.Count > 0)
1890
GenerateAttributes(e.
CustomAttributes
);
Microsoft\VisualBasic\VBCodeGenerator.cs (22)
1451
if (e.
CustomAttributes
.Count > 0)
1453
OutputAttributes(e.
CustomAttributes
, false);
1504
if (e.
CustomAttributes
.Count > 0)
1506
OutputAttributes(e.
CustomAttributes
, false);
1519
if (e.
CustomAttributes
.Count > 0)
1521
OutputAttributes(e.
CustomAttributes
, false);
1576
if (e.
CustomAttributes
.Count > 0)
1578
OutputAttributes(e.
CustomAttributes
, false);
1691
if (e.
CustomAttributes
.Count > 0)
1693
OutputAttributes(e.
CustomAttributes
, false);
1731
if (e.
CustomAttributes
.Count > 0)
1733
OutputAttributes(e.
CustomAttributes
, false);
1871
if (e.
CustomAttributes
.Count > 0)
1873
OutputAttributes(e.
CustomAttributes
, false);
1914
if (e.
CustomAttributes
.Count > 0)
1916
OutputAttributes(e.
CustomAttributes
, false);
1937
if (e.
CustomAttributes
.Count > 0)
1939
OutputAttributes(e.
CustomAttributes
, false);
1971
if (e.
CustomAttributes
.Count > 0)
1973
OutputAttributes(e.
CustomAttributes
, false);
1990
if (e.
CustomAttributes
.Count > 0)
1992
OutputAttributes(e.
CustomAttributes
, false);
System\CodeDom\Compiler\CodeValidator.cs (12)
233
if (e.
CustomAttributes
.Count > 0)
235
ValidateAttributes(e.
CustomAttributes
);
252
if (e.
CustomAttributes
.Count > 0)
254
ValidateAttributes(e.
CustomAttributes
);
277
if (e.
CustomAttributes
.Count > 0)
279
ValidateAttributes(e.
CustomAttributes
);
346
if (e.
CustomAttributes
.Count > 0)
348
ValidateAttributes(e.
CustomAttributes
);
373
if (e.
CustomAttributes
.Count > 0)
375
ValidateAttributes(e.
CustomAttributes
);
576
if (e.
CustomAttributes
.Count > 0)
578
ValidateAttributes(e.
CustomAttributes
);
System.Runtime.Serialization.Schema (15)
System\Runtime\Serialization\Schema\CodeExporter.cs (15)
528
typeDecl.
CustomAttributes
.Add(debuggerStepThroughAttribute);
530
typeDecl.
CustomAttributes
.Add(generatedCodeAttribute);
772
type.
CustomAttributes
.Add(SerializableAttribute);
803
type.
CustomAttributes
.Add(dataContractAttribute);
872
property.
CustomAttributes
.Add(dataMemberAttribute);
877
field.
CustomAttributes
.Add(optionalFieldAttribute);
999
contractCodeDomInfo.TypeDeclaration.
CustomAttributes
.Add(knownTypeAttribute);
1024
extensionDataObjectField.
CustomAttributes
.Add(nonSerializedAttribute);
1076
type.
CustomAttributes
.Add(new CodeAttributeDeclaration(GetClrTypeFullName(typeof(FlagsAttribute))));
1084
type.
CustomAttributes
.Add(dataContractAttribute);
1101
enumMember.
CustomAttributes
.Add(enumMemberAttribute);
1255
generatedType.
CustomAttributes
.Add(collectionContractAttribute);
1291
type.
CustomAttributes
.Add(new CodeAttributeDeclaration(
1299
type.
CustomAttributes
.Add(new CodeAttributeDeclaration(
1333
type.
CustomAttributes
.Add(xmlRootAttribute);
System.Windows.Forms.Design (6)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (6)
380
classType.
CustomAttributes
.Add(new(new CodeTypeReference(typeof(DebuggerNonUserCodeAttribute))
386
classType.
CustomAttributes
.Add(new(new CodeTypeReference(typeof(CompilerGeneratedAttribute))
454
typeMember.
CustomAttributes
.Add(generatedCodeAttrib);
497
constructor.
CustomAttributes
.Add(suppressAttribute);
548
resourceManagerProperty.
CustomAttributes
.Add(editorBrowsableAdvancedAttribute);
568
culture.
CustomAttributes
.Add(editorBrowsableAdvancedAttribute);