40 references to Add
Microsoft.Build.Tasks.Core (7)
system.design\stronglytypedresourcebuilder.cs (6)
224
srClass.CustomAttributes.
Add
(new CodeAttributeDeclaration(debuggerAttrib));
231
srClass.CustomAttributes.
Add
(new CodeAttributeDeclaration(compilerGenedAttrib));
310
typeMember.CustomAttributes.
Add
(generatedCodeAttrib);
346
ctor.CustomAttributes.
Add
(suppressMessageAttrib);
413
resMgr.CustomAttributes.
Add
(editorBrowsableAdvancedAttribute);
437
culture.CustomAttributes.
Add
(editorBrowsableAdvancedAttribute);
WriteCodeFragment.cs (1)
270
unit.AssemblyCustomAttributes.
Add
(attribute);
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1474
ctmTarget.CustomAttributes.
Add
(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa));
1484
ctmTarget.CustomAttributes.
Add
(cad);
1492
ctmTarget.CustomAttributes.
Add
(cad);
2217
field.CustomAttributes.
Add
(
2443
ctmTarget.CustomAttributes.
Add
(cad);
2484
ctdClass.CustomAttributes.
Add
(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated"));
2940
ccu.AssemblyCustomAttributes.
Add
(cad);
3171
cmmMain.CustomAttributes.
Add
(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
3246
ccu.AssemblyCustomAttributes.
Add
(cad);
System.CodeDom (2)
System\CodeDom\CodeAttributeDeclarationCollection.cs (2)
41
Add
(value[i]);
55
Add
(value[i]);
System.Runtime.Serialization.Schema (16)
System\Runtime\Serialization\Schema\CodeExporter.cs (16)
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);
1363
_codeCompileUnit.AssemblyCustomAttributes.
Add
(namespaceAttribute);
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);