6 instantiations of CustomAttributeData
mscorlib (6)
system\reflection\customattribute.cs (6)
85
pca[i] = new
CustomAttributeData
(a[i]);
108
pca[i] = new
CustomAttributeData
(a[i]);
131
pca[i] = new
CustomAttributeData
(a[i]);
189
pca[i] = new
CustomAttributeData
(a[i]);
211
pca[i] = new
CustomAttributeData
(a[i]);
314
customAttributes[i] = new
CustomAttributeData
(module, records[i]);
134 references to CustomAttributeData
mscorlib (82)
system\diagnostics\eventing\eventsource.cs (2)
3162
foreach (
CustomAttributeData
data in
CustomAttributeData
.GetCustomAttributes(member))
system\reflection\assembly.cs (4)
909
public virtual IEnumerable<
CustomAttributeData
> CustomAttributes
944
public virtual IList<
CustomAttributeData
> GetCustomAttributesData()
1679
public override IList<
CustomAttributeData
> GetCustomAttributesData()
1681
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\ConstructorInfo.cs (2)
430
public override IList<
CustomAttributeData
> GetCustomAttributesData()
432
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\customattribute.cs (38)
31
public static IList<
CustomAttributeData
> GetCustomAttributes(MemberInfo target)
39
public static IList<
CustomAttributeData
> GetCustomAttributes(Module target)
48
public static IList<
CustomAttributeData
> GetCustomAttributes(Assembly target)
57
public static IList<
CustomAttributeData
> GetCustomAttributes(ParameterInfo target)
69
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeType target)
73
IList<
CustomAttributeData
> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
81
CustomAttributeData
[] pca = new
CustomAttributeData
[cad.Count + pcaCount];
92
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeFieldInfo target)
96
IList<
CustomAttributeData
> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
104
CustomAttributeData
[] pca = new
CustomAttributeData
[cad.Count + pcaCount];
115
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeMethodInfo target)
119
IList<
CustomAttributeData
> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
127
CustomAttributeData
[] pca = new
CustomAttributeData
[cad.Count + pcaCount];
138
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeConstructorInfo target)
146
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeEventInfo target)
154
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimePropertyInfo target)
162
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeModule target)
167
return new List<
CustomAttributeData
>();
173
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeAssembly target)
177
IList<
CustomAttributeData
> cad = GetCustomAttributes((RuntimeModule)target.ManifestModule, RuntimeAssembly.GetToken(target.GetNativeHandle()));
185
CustomAttributeData
[] pca = new
CustomAttributeData
[cad.Count + pcaCount];
196
internal static IList<
CustomAttributeData
> GetCustomAttributesInternal(RuntimeParameterInfo target)
200
IList<
CustomAttributeData
> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
208
CustomAttributeData
[] pca = new
CustomAttributeData
[cad.Count + pcaCount];
288
CustomAttributeEncoding encodedType =
CustomAttributeData
.TypeToCustomAttributeEncoding(parameterType);
296
encodedArrayType =
CustomAttributeData
.TypeToCustomAttributeEncoding(parameterType);
308
private static IList<
CustomAttributeData
> GetCustomAttributes(RuntimeModule module, int tkTarget)
312
CustomAttributeData
[] customAttributes = new
CustomAttributeData
[records.Length];
340
internal static CustomAttributeTypedArgument Filter(IList<
CustomAttributeData
> attrs, Type caType, int parameter)
1603
CustomAttributeRecord[] car =
CustomAttributeData
.GetCustomAttributeRecords(decoratedModule, decoratedMetadataToken);
1662
CustomAttributeRecord[] car =
CustomAttributeData
.GetCustomAttributeRecords(decoratedModule, decoratedMetadataToken);
2016
CustomAttributeRecord[] car =
CustomAttributeData
.GetCustomAttributeRecords(decoratedModule, decoratedAttribute.MetadataToken);
system\reflection\emit\assemblybuilder.cs (1)
1192
public override IList<
CustomAttributeData
> GetCustomAttributesData()
system\reflection\emit\modulebuilder.cs (1)
821
public override IList<
CustomAttributeData
> GetCustomAttributesData()
system\reflection\eventinfo.cs (2)
338
public override IList<
CustomAttributeData
> GetCustomAttributesData()
340
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\fieldinfo.cs (2)
361
public override IList<
CustomAttributeData
> GetCustomAttributesData()
363
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\memberinfo.cs (2)
47
public virtual IEnumerable<
CustomAttributeData
> CustomAttributes
60
public virtual IList<
CustomAttributeData
> GetCustomAttributesData()
system\reflection\methodinfo.cs (2)
512
public override IList<
CustomAttributeData
> GetCustomAttributesData()
514
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\module.cs (4)
133
public virtual IEnumerable<
CustomAttributeData
> CustomAttributes
156
public virtual IList<
CustomAttributeData
> GetCustomAttributesData()
1046
public override IList<
CustomAttributeData
> GetCustomAttributesData()
1048
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\parameterinfo.cs (8)
148
public virtual IEnumerable<
CustomAttributeData
> CustomAttributes
179
public virtual IList<
CustomAttributeData
> GetCustomAttributesData()
622
CustomAttributeData
.Filter(
623
CustomAttributeData
.GetCustomAttributes(this), typeof(DateTimeConstantAttribute), 0);
649
foreach (
CustomAttributeData
attr in
CustomAttributeData
.GetCustomAttributes(this))
772
public override IList<
CustomAttributeData
> GetCustomAttributesData()
774
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\reflection\propertyinfo.cs (2)
407
public override IList<
CustomAttributeData
> GetCustomAttributesData()
409
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\resources\resourcemanager.cs (2)
879
foreach (
CustomAttributeData
data in
CustomAttributeData
.GetCustomAttributes(a)) {
system\rttype.cs (5)
1785
CustomAttributeData
attr = null;
1789
IList<
CustomAttributeData
> attrs =
CustomAttributeData
.GetCustomAttributes(t);
5063
public override IList<
CustomAttributeData
> GetCustomAttributesData()
5065
return
CustomAttributeData
.GetCustomAttributesInternal(this);
system\runtime\compilerservices\customconstantattribute.cs (1)
18
internal static object GetRawConstant(
CustomAttributeData
attr)
system\runtime\compilerservices\datetimeconstantattribute.cs (1)
29
internal static DateTime GetRawDateTimeConstant(
CustomAttributeData
attr)
system\runtime\compilerservices\decimalconstantattribute.cs (1)
52
internal static Decimal GetRawDecimalConstant(
CustomAttributeData
attr)
system\runtime\interopservices\marshal.cs (2)
2355
IList<
CustomAttributeData
> cas =
CustomAttributeData
.GetCustomAttributes(type);
PresentationBuildTasks (29)
Framework\System\Windows\Markup\ParserContext.cs (3)
887
IList<
CustomAttributeData
> customAttributes =
CustomAttributeData
.GetCustomAttributes(property);
889
foreach (
CustomAttributeData
attributeData in customAttributes)
Framework\System\Windows\Markup\XamlReaderHelper.cs (5)
4886
IList<
CustomAttributeData
> attributes =
CustomAttributeData
.GetCustomAttributes(collectionType);
5669
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(baseType);
5670
foreach (
CustomAttributeData
cad in list)
Framework\System\Windows\Markup\XmlnsCache.cs (10)
230
private
CustomAttributeData
[] GetAttributes(Assembly asm, string fullClrName)
232
IList<
CustomAttributeData
> allAttributes =
CustomAttributeData
.GetCustomAttributes(asm);
233
List<
CustomAttributeData
> foundAttributes = new List<
CustomAttributeData
>();
237
CustomAttributeData
data = allAttributes[i];
247
private void GetNamespacesFromDefinitionAttr(
CustomAttributeData
data, out string xmlns, out string clrns)
267
private void GetNamespacesFromCompatAttr(
CustomAttributeData
data, out string oldXmlns, out string newXmlns)
320
CustomAttributeData
[] attributes = GetAttributes(asmList[asmIdx],
389
CustomAttributeData
[] attributes = GetAttributes(asmList[asmIdx],
Shared\System\Windows\Markup\ReflectionHelper.cs (11)
202
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(mi);
214
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(t);
223
private static string GetCustomAttributeData(IList<
CustomAttributeData
> list, Type attrType, out Type typeValue, bool allowTypeAlso, bool allowZeroArgs)
254
CustomAttributeData
cad;
258
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(currentType);
286
private static string GetCustomAttributeData(
CustomAttributeData
cad,
459
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(sourceAssembly);
PresentationFramework (3)
src\Framework\System\Windows\Markup\ParserContext.cs (3)
887
IList<
CustomAttributeData
> customAttributes =
CustomAttributeData
.GetCustomAttributes(property);
889
foreach (
CustomAttributeData
attributeData in customAttributes)
System.AddIn (7)
System\Addin\Hosting\InspectionWorker.cs (1)
277
CustomAttributeData
cad = Utils.GetCustomAttributeData(PipelineComponent.AddInBaseAttributeInReflectionLoaderContext, type);
System\Addin\Hosting\Store\PipelineComponent.cs (3)
86
IList<
CustomAttributeData
> cas =
CustomAttributeData
.GetCustomAttributes(_typeInfo.ReflectionType);
88
foreach (
CustomAttributeData
ca in cas)
System\Addin\Hosting\Utils.cs (3)
49
internal static
CustomAttributeData
GetCustomAttributeData(Type attributeType, Type inspectType)
61
foreach (
CustomAttributeData
ca in
CustomAttributeData
.GetCustomAttributes(inspectType))
System.Web (1)
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
298
foreach (
var
attr in p.CustomAttributes) {
WindowsBase (7)
Shared\System\Windows\Markup\ReflectionHelper.cs (7)
202
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(mi);
223
private static string GetCustomAttributeData(IList<
CustomAttributeData
> list, Type attrType, out Type typeValue, bool allowTypeAlso, bool allowZeroArgs)
254
CustomAttributeData
cad;
258
IList<
CustomAttributeData
> list =
CustomAttributeData
.GetCustomAttributes(currentType);
286
private static string GetCustomAttributeData(
CustomAttributeData
cad,
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (5)
306
IList<
CustomAttributeData
> cads =
CustomAttributeData
.GetCustomAttributes(t);
311
foreach (
var
cad in cads)
330
cads =
CustomAttributeData
.GetCustomAttributes(t.Assembly);
332
foreach (
var
cad in cads)