63 references to Add
Microsoft.Build.Tasks.Core (9)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
673property.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.Build.Framework.Output")); 679property.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.Build.Framework.Required"));
system.design\stronglytypedresourcebuilder.cs (6)
253srClass.CustomAttributes.Add(new CodeAttributeDeclaration(debuggerAttrib)); 260srClass.CustomAttributes.Add(new CodeAttributeDeclaration(compilerGenedAttrib)); 339typeMember.CustomAttributes.Add(generatedCodeAttrib); 375ctor.CustomAttributes.Add(suppressMessageAttrib); 442resMgr.CustomAttributes.Add(editorBrowsableAdvancedAttribute); 466culture.CustomAttributes.Add(editorBrowsableAdvancedAttribute);
WriteCodeFragment.cs (1)
293unit.AssemblyCustomAttributes.Add(attribute);
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1464ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1474ctmTarget.CustomAttributes.Add(cad); 1482ctmTarget.CustomAttributes.Add(cad); 2206field.CustomAttributes.Add( 2432ctmTarget.CustomAttributes.Add(cad); 2475ctdClass.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated")); 2970ccu.AssemblyCustomAttributes.Add(cad); 3202cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName)); 3281ccu.AssemblyCustomAttributes.Add(cad);
System.CodeDom (2)
System\CodeDom\CodeAttributeDeclarationCollection.cs (2)
38Add(value[i]); 49Add(value[i]);
System.Management (21)
System\Management\WMIGenerator.cs (21)
942cmp.CustomAttributes.Add(cad); 949cmp.CustomAttributes.Add(cad); 984cmp.CustomAttributes.Add(cad); 995cmp.CustomAttributes.Add(cad); 1023cmp.CustomAttributes.Add(cad); 1106SysPropsClass.CustomAttributes.Add(cad); 1122cmp.CustomAttributes.Add(cad); 1226cmp.CustomAttributes.Add(cad); 1234cmp2.CustomAttributes.Add(cad); 1242cmp.CustomAttributes.Add(cad); 1243cmp2.CustomAttributes.Add(cad); 1267cmp.CustomAttributes.Add(cad); 1313cmp.CustomAttributes.Add(cad); 4946cmm.CustomAttributes.Add(cad); 4980cmm.CustomAttributes.Add(cad); 5328cmp.CustomAttributes.Add(cad); 5335cmp.CustomAttributes.Add(cad); 5968cmp.CustomAttributes.Add(cad); 5979cmp.CustomAttributes.Add(cad); 6193cmm.CustomAttributes.Add(cad); 6272cmm.CustomAttributes.Add(cad);
System.Runtime.Serialization.Schema (16)
System\Runtime\Serialization\Schema\CodeExporter.cs (16)
538typeDecl.CustomAttributes.Add(debuggerStepThroughAttribute); 540typeDecl.CustomAttributes.Add(generatedCodeAttribute); 785type.CustomAttributes.Add(SerializableAttribute); 816type.CustomAttributes.Add(dataContractAttribute); 886property.CustomAttributes.Add(dataMemberAttribute); 891field.CustomAttributes.Add(optionalFieldAttribute); 1013contractCodeDomInfo.TypeDeclaration.CustomAttributes.Add(knownTypeAttribute); 1038extensionDataObjectField.CustomAttributes.Add(nonSerializedAttribute); 1091type.CustomAttributes.Add(new CodeAttributeDeclaration(GetClrTypeFullName(typeof(FlagsAttribute)))); 1099type.CustomAttributes.Add(dataContractAttribute); 1116enumMember.CustomAttributes.Add(enumMemberAttribute); 1275generatedType.CustomAttributes.Add(collectionContractAttribute); 1311type.CustomAttributes.Add(new CodeAttributeDeclaration( 1319type.CustomAttributes.Add(new CodeAttributeDeclaration( 1353type.CustomAttributes.Add(xmlRootAttribute); 1383_codeCompileUnit.AssemblyCustomAttributes.Add(namespaceAttribute);
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);