Marked some methods and classes in GLWidget with their CLS compliance.

This commit is contained in:
Jarl Gullberg 2017-07-21 11:29:48 +02:00
parent 5b03732763
commit 009f6c5098
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0

View file

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