33 references to Add
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (9)
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")); 2983ccu.AssemblyCustomAttributes.Add(cad); 3215cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName)); 3294ccu.AssemblyCustomAttributes.Add(cad);
System.CodeDom (2)
System\CodeDom\CodeAttributeDeclarationCollection.cs (2)
38Add(value[i]); 49Add(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);