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