6 references to GetMatchingCustomAttributes
System.Private.CoreLib (6)
System\Reflection\Attribute.NativeAot.cs (4)
17return OneOrNull(element.GetMatchingCustomAttributes(attributeType)); 41IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(null, skipTypeValidation: true); 47return Instantiate(element.GetMatchingCustomAttributes(attributeType), attributeType); 89IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(attributeType);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (2)
36IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, skipTypeValidation: true); // inherit is meaningless for Assemblies 43IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, skipTypeValidation: true); // inherit is meaningless for Assemblies