Replace manually written code using NotImplementedException with BindingsNotRewrittenException

This commit is contained in:
Fraser Waters 2017-08-28 17:14:19 +01:00
parent 7ae39813f3
commit 6cbaeee54a
5 changed files with 204 additions and 204 deletions

View file

@ -42,7 +42,7 @@ namespace OpenTK.Graphics.ES11
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")]
[CLSCompliant(false)]
[Obsolete("Use GetClipPlane(..., float[]) instead. This method will return incorrect results.")]
public static Single GetClipPlane(OpenTK.Graphics.ES11.All plane) { throw new NotImplementedException(); }
public static Single GetClipPlane(OpenTK.Graphics.ES11.All plane) { throw new BindingsNotRewrittenException(); }
/// <summary>[requires: v1.0]
/// Return the coefficients of the specified clipping plane
@ -55,7 +55,7 @@ namespace OpenTK.Graphics.ES11
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")]
[CLSCompliant(false)]
[Obsolete("Use GetClipPlane(..., int[]) instead. This method will return incorrect results.")]
public static int GetClipPlanex(OpenTK.Graphics.ES11.All plane) { throw new NotImplementedException(); }
public static int GetClipPlanex(OpenTK.Graphics.ES11.All plane) { throw new BindingsNotRewrittenException(); }
}
}

File diff suppressed because it is too large Load diff

View file

@ -31,152 +31,152 @@ namespace OpenTK
{
public static void Call(IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0>(T0 arg0, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1>(T0 arg0, T1 arg1, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2>(T0 arg0, T1 arg1, T2 arg2, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static void Call<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet>(IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0>(T0 arg0, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1>(T0 arg0, T1 arg1, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2>(T0 arg0, T1 arg1, T2 arg2, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2, T3>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2, T3, T4>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2, T3, T4, T5>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2, T3, T4, T5, T6>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static TRet CallReturn<TRet, T0, T1, T2, T3, T4, T5, T6, T7>(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, IntPtr address)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static IntPtr Pin<T>(T[] arg)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static IntPtr Pin<T>(T[,] arg)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static IntPtr Pin<T>(T[,,] arg)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
public static IntPtr Pin<T>(ref T arg)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}
}

View file

@ -106,28 +106,28 @@ namespace OpenTK.Platform.Windows
public static
IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, int[] attribList)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetExtensionsStringARB")]
public static
string GetExtensionsString(IntPtr hdc)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetPixelFormatAttribivARB")]
public static
Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] int[] piValues)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetPixelFormatAttribivARB")]
public static
Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out int piValues)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetPixelFormatAttribfvARB")]
@ -135,119 +135,119 @@ namespace OpenTK.Platform.Windows
public static
Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, int[] piAttributes, [Out] Single[] pfValues)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetPixelFormatAttribfvARB")]
public static
Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out Single pfValues)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglChoosePixelFormatARB")]
public static
Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, out int nNumFormats)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglChoosePixelFormatARB")]
public static
Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglMakeContextCurrentARB")]
public static
Boolean MakeContextCurrent(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetCurrentReadDCARB")]
public static
IntPtr GetCurrentReadDC()
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglCreatePbufferARB")]
public static
IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglCreatePbufferARB")]
public static
IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, ref int piAttribList)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetPbufferDCARB")]
public static
IntPtr GetPbufferDC(IntPtr hPbuffer)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglReleasePbufferDCARB")]
public static
int ReleasePbufferDC(IntPtr hPbuffer, IntPtr hDC)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglDestroyPbufferARB")]
public static
Boolean DestroyPbuffer(IntPtr hPbuffer)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglQueryPbufferARB")]
public static
Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int[] piValue)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglQueryPbufferARB")]
public static
Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] out int piValue)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglBindTexImageARB")]
public static
Boolean BindTexImage(IntPtr hPbuffer, int iBuffer)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglReleaseTexImageARB")]
public static
Boolean ReleaseTexImage(IntPtr hPbuffer, int iBuffer)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglSetPbufferAttribARB")]
public static
Boolean SetPbufferAttrib(IntPtr hPbuffer, int[] piAttribList)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglSetPbufferAttribARB")]
public static
Boolean SetPbufferAttrib(IntPtr hPbuffer, ref int piAttribList)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}
@ -257,21 +257,21 @@ namespace OpenTK.Platform.Windows
public static
string GetExtensionsString()
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglSwapIntervalEXT")]
public static
Boolean SwapInterval(int interval)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "wglGetSwapIntervalEXT")]
public static
int GetSwapInterval()
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}

View file

@ -416,13 +416,13 @@ namespace OpenTK.Platform.X11
[AutoGenerated(EntryPoint = "glXCreateContextAttribsARB")]
unsafe public static IntPtr CreateContextAttribs(IntPtr display, IntPtr fbconfig, IntPtr share_context, bool direct, int* attribs)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "glXCreateContextAttribsARB")]
public static IntPtr CreateContextAttribs(IntPtr display, IntPtr fbconfig, IntPtr share_context, bool direct, int[] attribs)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
// The linux OpenGL ABI 3.6 (1999) requires
@ -443,7 +443,7 @@ namespace OpenTK.Platform.X11
[AutoGenerated(EntryPoint = "glXSwapIntervalEXT")]
public static ErrorCode SwapInterval(IntPtr display, IntPtr drawable, int interval)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}
@ -452,13 +452,13 @@ namespace OpenTK.Platform.X11
[AutoGenerated(EntryPoint = "glXSwapIntervalMESA")]
public static ErrorCode SwapInterval(int interval)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
[AutoGenerated(EntryPoint = "glXGetSwapIntervalMESA")]
public static int GetSwapInterval()
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}
@ -467,7 +467,7 @@ namespace OpenTK.Platform.X11
[AutoGenerated(EntryPoint = "glXSwapIntervalSGI")]
public static ErrorCode SwapInterval(int interval)
{
throw new NotImplementedException();
throw new BindingsNotRewrittenException();
}
}