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