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>
/// 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);