4 references to OneOrNull
System.Private.CoreLib (4)
System\Reflection\Attribute.NativeAot.cs (4)
17return OneOrNull(element.GetMatchingCustomAttributes(attributeType)); 24return OneOrNull(element.GetMatchingCustomAttributes(attributeType, inherit)); 29return OneOrNull(element.GetMatchingCustomAttributes(attributeType)); 36return OneOrNull(element.GetMatchingCustomAttributes(attributeType, inherit));