14 references to NotSupported_SubclassOverride
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBase.cs (1)
51
public virtual Type[] GetGenericArguments() { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInfo.cs (5)
18
public override Type[] GetGenericArguments() { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
19
public virtual MethodInfo GetGenericMethodDefinition() { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
23
public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments) { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
29
public virtual Delegate CreateDelegate(Type delegateType) { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
30
public virtual Delegate CreateDelegate(Type delegateType, object? target) { throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
src\libraries\System.Private.CoreLib\src\System\Type.cs (8)
66
public virtual bool IsByRefLike { [Intrinsic] get => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
); }
75
public virtual int GetArrayRank() => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
78
public virtual Type GetGenericTypeDefinition() => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
80
public virtual Type[] GetGenericArguments() => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
248
public virtual MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr) => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
600
public virtual InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType) => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
640
public virtual Array GetEnumValuesAsUnderlyingType() => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);
650
public virtual Type MakeGenericType(params Type[] typeArguments) => throw new NotSupportedException(SR.
NotSupported_SubclassOverride
);