8 overrides of TryFindCustomAttribute
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
75internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => TypeDefinition.GetCustomAttributes().TryFindCustomAttribute(ns, name, GetEcmaModule());
System\Reflection\TypeLoading\Types\Ecma\EcmaGenericParameterType.cs (1)
35internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => GenericParameter.GetCustomAttributes().TryFindCustomAttribute(ns, name, GetEcmaModule());
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
111internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => _genericTypeDefinition.TryFindCustomAttribute(ns, name);
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
37internal sealed override CustomAttributeData TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
177internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => null;
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
56internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => null;
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
163internal override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => _unmodifiedType.TryFindCustomAttribute(ns, name);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
50internal sealed override CustomAttributeData TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => throw null!;
4 references to TryFindCustomAttribute
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
111internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => _genericTypeDefinition.TryFindCustomAttribute(ns, name);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
132CustomAttributeData? cad = TryFindCustomAttribute(Utf8Constants.SystemRuntimeInteropServices, Utf8Constants.GuidAttribute);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
163internal override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => _unmodifiedType.TryFindCustomAttribute(ns, name);
System\Reflection\TypeLoading\Types\RoType.cs (1)
302CustomAttributeData? attribute = type.TryFindCustomAttribute(Utf8Constants.SystemReflection, Utf8Constants.DefaultMemberAttribute);