Suppress cls-compliance warnings (should be restored when the code goes public).

This commit is contained in:
the_fiddler 2008-12-02 16:02:08 +00:00
parent a7d5c08232
commit e6303e9e5b
5 changed files with 20 additions and 4 deletions

View file

@ -13,6 +13,9 @@ using System.Runtime.InteropServices;
namespace OpenTK.Math
{
// Todo: Remove this warning when the code goes public.
#pragma warning disable 3019
[Serializable]
[StructLayout(LayoutKind.Sequential)]
internal struct Matrix3d : IEquatable<Matrix3d>
@ -807,4 +810,6 @@ namespace OpenTK.Math
#endregion
}
#pragma warning restore 3019
}

View file

@ -13,6 +13,9 @@ using System.Runtime.InteropServices;
namespace OpenTK.Math
{
// Todo: Remove this warning when the code goes public.
#pragma warning disable 3019
[Serializable]
[StructLayout(LayoutKind.Sequential)]
internal struct Matrix4d : IEquatable<Matrix4d>
@ -75,7 +78,7 @@ namespace OpenTK.Math
{
get
{
switch( row )
switch (row)
{
case 0:
switch (column)
@ -122,7 +125,7 @@ namespace OpenTK.Math
}
set
{
switch( row )
switch (row)
{
case 0:
switch (column)
@ -166,7 +169,8 @@ namespace OpenTK.Math
}
throw new IndexOutOfRangeException();
} }
}
}
/// <summary>Gets the component at the index into the matrix.</summary>
/// <param name="index">The index into the components of the matrix.</param>
@ -2361,4 +2365,6 @@ namespace OpenTK.Math
#endregion
}
}
#pragma warning restore 3019
}

Binary file not shown.

Binary file not shown.

View file

@ -16,6 +16,9 @@ using System.Text.RegularExpressions;
namespace OpenTK.Math
{
// Todo: Remove this warning when the code goes public.
#pragma warning disable 3019
/// <summary>A 4-dimensional vector using double-precision floating point numbers.</summary>
[Serializable]
[StructLayout(LayoutKind.Sequential)]
@ -1351,4 +1354,6 @@ namespace OpenTK.Math
#endregion
}
#pragma warning restore 3019
}