public static void ThrowBadImageFormatException() { CoreLibThrow.ThrowBadImageFormatException(ExceptionStringID.BadImageFormatGeneric); }
public static void ThrowInvalidProgramException() { CoreLibThrow.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramDefault); }
public static void ThrowInvalidProgramException(ExceptionStringID id, MethodDesc method) { CoreLibThrow.ThrowInvalidProgramExceptionWithArgument(id, Format.Method(method)); }
public static void ThrowFileNotFoundException(ExceptionStringID id, string fileName) { CoreLibThrow.ThrowFileNotFoundException(id, fileName); }
public static void ThrowMissingFieldException(TypeDesc owningType, string fieldName) { CoreLibThrow.ThrowMissingFieldException(ExceptionStringID.MissingField, Format.Field(owningType, fieldName)); }
public static void ThrowMissingMethodException(TypeDesc owningType, string methodName, MethodSignature signature) { CoreLibThrow.ThrowMissingMethodException(ExceptionStringID.MissingMethod, Format.Method(owningType, methodName, signature)); }
private static void ThrowTypeLoadException(ExceptionStringID id, string typeName, string assemblyName) { CoreLibThrow.ThrowTypeLoadException(id, typeName, assemblyName); }
private static void ThrowTypeLoadException(ExceptionStringID id, string typeName, string assemblyName, string messageArg) { CoreLibThrow.ThrowTypeLoadExceptionWithArgument(id, typeName, assemblyName, messageArg); }