Marked some methods and classes in GLWidget with their CLS compliance.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 21 Jul 2017 09:29:48 +0000 (11:29 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 21 Jul 2017 09:29:48 +0000 (11:29 +0200)
src/OpenTK.GLWidget/GLWidget.cs

index 1ac61a0..b0a7c0a 100644 (file)
@@ -15,6 +15,7 @@ namespace OpenTK
     /// <summary>
     /// The <see cref="GLWidget"/> is a GTK widget for which an OpenGL context can be used to draw arbitrary graphics.
     /// </summary>
+    [CLSCompliant(false)]
     [ToolboxItem(true)]
     public class GLWidget: DrawingArea
     {
@@ -268,6 +269,7 @@ namespace OpenTK
         /// </summary>
         /// <param name="cr"></param>
         /// <returns></returns>
+        [CLSCompliant(false)]
         protected override bool OnDrawn(Cairo.Context cr)
 #else
         /// <summary>
@@ -275,6 +277,7 @@ namespace OpenTK
         /// </summary>
         /// <param name="cr"></param>
         /// <returns></returns>
+        [CLSCompliant(false)]
         protected override bool OnExposeEvent(Gdk.EventExpose evnt)
 #endif
         {
@@ -309,6 +312,7 @@ namespace OpenTK
         /// </summary>
         /// <param name="evnt"></param>
         /// <returns></returns>
+        [CLSCompliant(false)]
         protected override bool OnConfigureEvent(Gdk.EventConfigure evnt)
         {
             bool result = base.OnConfigureEvent(evnt);