40 references to Add
Microsoft.Build.Tasks.Core (7)
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);
WriteCodeFragment.cs (1)
270unit.AssemblyCustomAttributes.Add(attribute);
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
1479ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1489ctmTarget.CustomAttributes.Add(cad); 1497ctmTarget.CustomAttributes.Add(cad); 2221field.CustomAttributes.Add( 2447ctmTarget.CustomAttributes.Add(cad); 2490ctdClass.CustomAttributes.Add(new CodeAttributeDeclaration("Microsoft.VisualBasic.CompilerServices.DesignerGenerated")); 2985ccu.AssemblyCustomAttributes.Add(cad); 3218cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName)); 3297ccu.AssemblyCustomAttributes.Add(cad);
System.CodeDom (2)
System\CodeDom\CodeAttributeDeclarationCollection.cs (2)
41Add(value[i]); 55Add(value[i]);
System.Runtime.Serialization.Schema (16)
System\Runtime\Serialization\Schema\CodeExporter.cs (16)
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); 1363_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);