33 instantiations of CustomAttributeBuilder
mscorlib (9)
system\reflection\emit\dynamicmethod.cs (2)
304CustomAttributeBuilder transparencyAttribute = new CustomAttributeBuilder(transparencyCtor, EmptyArray<Object>.Value); 319new CustomAttributeBuilder(securityRulesCtor, new object[] { SecurityRuleSet.Level1 });
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (2)
52s_NoClassItfCABuilder = new CustomAttributeBuilder(Cons, aArgs); 82s_HiddenCABuilder = new CustomAttributeBuilder(Cons, aArgs);
system\runtime\interopservices\typelibconverter.cs (5)
264new CustomAttributeBuilder(securityRulesCtor, new object[] { SecurityRuleSet.Level2 }); 375CustomAttributeBuilder GuidCABuilder = new CustomAttributeBuilder(GuidAttrCons, aArgs); 393CustomAttributeBuilder ImpFromComCABuilder = new CustomAttributeBuilder(ImpFromComAttrCons, aArgs); 412CustomAttributeBuilder TypeLibVerBuilder = new CustomAttributeBuilder(TypeLibVerCons, aArgs); 469CustomAttributeBuilder PIACABuilder = new CustomAttributeBuilder(PIAAttrCons, aArgs);
System (2)
regex\system\text\regularexpressions\RegexCompiler.cs (2)
3089CustomAttributeBuilder transparencyAttribute = new CustomAttributeBuilder(transparencyCtor, new object[0]); 3094new CustomAttributeBuilder(securityRulesCtor, new object[] { SecurityRuleSet.Level2 });
System.Activities (2)
System\Activities\Debugger\StateManager.cs (2)
697CustomAttributeBuilder transparent = new CustomAttributeBuilder( 707CustomAttributeBuilder builder = new CustomAttributeBuilder(constructorInfo, new object[] {
System.Core (1)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
69new CustomAttributeBuilder(typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes), new object[0])
System.Data.Entity (7)
System\Data\Objects\Internal\EntityProxyFactory.cs (7)
81new CustomAttributeBuilder(securityTransparentAttributeConstructor, new object[0]), 82new CustomAttributeBuilder(securityRulesAttributeConstructor, new object[1] { SecurityRuleSet.Level1 }) 809field.SetCustomAttribute(new CustomAttributeBuilder(s_NonSerializedAttributeConstructor, emptyArray)); 813field.SetCustomAttribute(new CustomAttributeBuilder(s_IgnoreDataMemberAttributeConstructor, emptyArray)); 814field.SetCustomAttribute(new CustomAttributeBuilder(s_XmlIgnoreAttributeConstructor, emptyArray)); 818field.SetCustomAttribute(new CustomAttributeBuilder(s_ScriptIgnoreAttributeConstructor, emptyArray)); 1544CustomAttributeBuilder attributeBuilder = new CustomAttributeBuilder(s_DataContractAttributeConstructor, new object[0], s_DataContractProperties, propertyValues);
System.Data.SqlXml (5)
System\Xml\Xsl\IlGen\XmlILModule.cs (5)
66asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Transparent, new object[] {})); 137asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Transparent, new object[] { })); 145asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Debuggable, new object[] {debuggingModes})); 194methBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.StepThrough, new object[] {})); 195methBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.NonUserCode, new object[] {}));
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
82CustomAttributeBuilder attributeBuilder = new CustomAttributeBuilder(classCtorInfo,
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
268CustomAttributeBuilder securityRulesAttribute = new CustomAttributeBuilder(securityRulesConstructor, new object[] { SecurityRuleSet.Level1 });
System.Xml (5)
System\Xml\Serialization\Compilation.cs (4)
430assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(SecurityTransparentAttribute_ctor, new Object[0])); 437assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(AllowPartiallyTrustedCallersAttribute_ctor, new Object[0])); 444assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(SecurityRulesAttribute_ctor, new Object[] { SecurityRuleSet.Level1 })); 457assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(AssemblyVersionAttribute_ctor, new Object[] { assemblyVersion }));
System\Xml\Xslt\XslCompiledTransform.cs (1)
243typeBuilder.SetCustomAttribute(new CustomAttributeBuilder(GeneratedCodeCtor,
65 references to CustomAttributeBuilder
mscorlib (46)
system\appdomain.cs (5)
1230IEnumerable<CustomAttributeBuilder> assemblyAttributes) 1246IEnumerable<CustomAttributeBuilder> assemblyAttributes, 1460IEnumerable<CustomAttributeBuilder> assemblyAttributes) 1484IEnumerable<CustomAttributeBuilder> assemblyAttributes) 1512IEnumerable<CustomAttributeBuilder> assemblyAttributes,
system\reflection\emit\assemblybuilder.cs (9)
305IEnumerable<CustomAttributeBuilder> unsafeAssemblyAttributes, 366List<CustomAttributeBuilder> assemblyAttributes = null; 374assemblyAttributes = new List<CustomAttributeBuilder>(unsafeAssemblyAttributes); 377foreach (CustomAttributeBuilder attribute in assemblyAttributes) 459foreach (CustomAttributeBuilder assemblyAttribute in assemblyAttributes) 513IEnumerable<CustomAttributeBuilder> assemblyAttributes) 556IEnumerable<CustomAttributeBuilder> unsafeAssemblyAttributes, 1694public void SetCustomAttribute(CustomAttributeBuilder customBuilder) 1709private void SetCustomAttributeNoLock(CustomAttributeBuilder customBuilder)
system\reflection\emit\assemblybuilderdata.cs (5)
75internal void AddCustomAttribute(CustomAttributeBuilder customBuilder) 81m_CABuilders = new CustomAttributeBuilder[m_iInitialSize]; 85CustomAttributeBuilder[] tempCABuilders = new CustomAttributeBuilder[m_iCABuilder * 2]; 488internal CustomAttributeBuilder[] m_CABuilders;
system\reflection\emit\cominterfaces.cs (1)
57[TypeLibImportClassAttribute(typeof(System.Reflection.Emit.CustomAttributeBuilder))]
system\reflection\emit\constructorbuilder.cs (1)
296public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\dynamicmethod.cs (4)
304CustomAttributeBuilder transparencyAttribute = new CustomAttributeBuilder(transparencyCtor, EmptyArray<Object>.Value); 305List<CustomAttributeBuilder> assemblyAttributes = new List<CustomAttributeBuilder>(); 318CustomAttributeBuilder securityRulesAttribute =
system\reflection\emit\enumbuilder.cs (1)
328public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\eventbuilder.cs (1)
131public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\fieldbuilder.cs (1)
246public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\generictypeparameterbuilder.cs (1)
225public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\methodbuilder.cs (1)
1197public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\modulebuilder.cs (1)
2277public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\parameterbuilder.cs (1)
85public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\propertybuilder.cs (1)
170public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\reflection\emit\typebuilder.cs (4)
56private CustomAttributeBuilder m_customBuilder; 71public CustAttr(CustomAttributeBuilder customBuilder) 1005internal void SetGenParamCustomAttribute(CustomAttributeBuilder customBuilder) 2610public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (2)
139private static volatile CustomAttributeBuilder s_NoClassItfCABuilder = null; 140private static volatile CustomAttributeBuilder s_HiddenCABuilder = null;
system\runtime\interopservices\typelibconverter.cs (7)
257List<CustomAttributeBuilder> assemblyAttributes = new List<CustomAttributeBuilder>(); 263CustomAttributeBuilder securityRulesAttribute = 375CustomAttributeBuilder GuidCABuilder = new CustomAttributeBuilder(GuidAttrCons, aArgs); 393CustomAttributeBuilder ImpFromComCABuilder = new CustomAttributeBuilder(ImpFromComAttrCons, aArgs); 412CustomAttributeBuilder TypeLibVerBuilder = new CustomAttributeBuilder(TypeLibVerCons, aArgs); 469CustomAttributeBuilder PIACABuilder = new CustomAttributeBuilder(PIAAttrCons, aArgs);
System (9)
regex\system\text\regularexpressions\Regex.cs (3)
1245public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes) { 1253public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) { 1259private static void CompileToAssemblyInternal (RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) {
regex\system\text\regularexpressions\RegexCompiler.cs (6)
215internal static void CompileToAssembly(RegexCompilationInfo[] regexes, AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) { 3078internal RegexTypeCompiler(AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) { 3086List<CustomAttributeBuilder> assemblyAttributes = new List<CustomAttributeBuilder>(); 3089CustomAttributeBuilder transparencyAttribute = new CustomAttributeBuilder(transparencyCtor, new object[0]); 3093CustomAttributeBuilder securityRulesAttribute =
System.Activities (3)
System\Activities\Debugger\StateManager.cs (3)
697CustomAttributeBuilder transparent = new CustomAttributeBuilder( 701assemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run, null, true, new CustomAttributeBuilder[] { transparent }); 707CustomAttributeBuilder builder = new CustomAttributeBuilder(constructorInfo, new object[] {
System.Data.Entity (3)
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
80CustomAttributeBuilder[] attributeBuilders = new CustomAttributeBuilder[] { 1544CustomAttributeBuilder attributeBuilder = new CustomAttributeBuilder(s_DataContractAttributeConstructor, new object[0], s_DataContractProperties, propertyValues);
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
82CustomAttributeBuilder attributeBuilder = new CustomAttributeBuilder(classCtorInfo,
System.Web.Extensions (3)
UI\WebControls\Dynamic.cs (3)
266List<CustomAttributeBuilder> assemblyAttributes = new List<CustomAttributeBuilder>(); 268CustomAttributeBuilder securityRulesAttribute = new CustomAttributeBuilder(securityRulesConstructor, new object[] { SecurityRuleSet.Level1 });