11 references to InvalidOperation_NotFunctionPointer
System.Reflection.MetadataLoadContext (11)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (2)
58public sealed override Type GetFunctionPointerReturnType() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer); 59public sealed override Type[] GetFunctionPointerParameterTypes() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (2)
234public sealed override Type GetFunctionPointerReturnType() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer); 235public sealed override Type[] GetFunctionPointerParameterTypes() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (2)
60public sealed override Type GetFunctionPointerReturnType() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer); 61public sealed override Type[] GetFunctionPointerParameterTypes() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);
System\Reflection\TypeLoading\Types\RoHasElementType.cs (2)
73public sealed override Type GetFunctionPointerReturnType() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer); 74public sealed override Type[] GetFunctionPointerParameterTypes() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (2)
178public override Type GetFunctionPointerReturnType() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer); 179public override Type[] GetFunctionPointerParameterTypes() => throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);
System\Reflection\TypeLoading\Types\RoType.cs (1)
62throw new InvalidOperationException(SR.InvalidOperation_NotFunctionPointer);