diff --git a/Source/OpenTK/BlittableValueType.cs b/Source/OpenTK/BlittableValueType.cs index ec69e652..1c3e1213 100644 --- a/Source/OpenTK/BlittableValueType.cs +++ b/Source/OpenTK/BlittableValueType.cs @@ -178,6 +178,7 @@ namespace OpenTK /// /// An instance of the type to check. /// True if T is blittable; false otherwise. + [CLSCompliant(false)] public static bool Check(T[] type) { return BlittableValueType.Check(); @@ -188,6 +189,7 @@ namespace OpenTK /// /// An instance of the type to check. /// True if T is blittable; false otherwise. + [CLSCompliant(false)] public static bool Check(T[,] type) { return BlittableValueType.Check(); @@ -198,6 +200,7 @@ namespace OpenTK /// /// An instance of the type to check. /// True if T is blittable; false otherwise. + [CLSCompliant(false)] public static bool Check(T[, ,] type) { return BlittableValueType.Check(); @@ -240,6 +243,7 @@ namespace OpenTK /// An instance of the value type. /// An integer, specifying the size of the type in bytes. /// Occurs when type is not blittable. + [CLSCompliant(false)] public static int StrideOf(T[] type) { if (!Check(type)) @@ -255,6 +259,7 @@ namespace OpenTK /// An instance of the value type. /// An integer, specifying the size of the type in bytes. /// Occurs when type is not blittable. + [CLSCompliant(false)] public static int StrideOf(T[,] type) { if (!Check(type)) @@ -270,6 +275,7 @@ namespace OpenTK /// An instance of the value type. /// An integer, specifying the size of the type in bytes. /// Occurs when type is not blittable. + [CLSCompliant(false)] public static int StrideOf(T[, ,] type) { if (!Check(type))