6 references to GetMatchingCustomAttributes
System.Private.CoreLib (6)
System\Reflection\Attribute.NativeAot.cs (4)
36return OneOrNull(element.GetMatchingCustomAttributes(attributeType, inherit)); 78IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(null, inherit, skipTypeValidation: true); 84return Instantiate(element.GetMatchingCustomAttributes(attributeType, inherit), attributeType); 111IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(attributeType, inherit);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (2)
174IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for parameters, this form of the api ignores "inherit" 181IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for parameters, this form of the api ignores "inherit"