mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:25:28 +00:00
Suppress cls-compliance warnings (should be restored when the code goes public).
This commit is contained in:
parent
a7d5c08232
commit
e6303e9e5b
|
@ -13,6 +13,9 @@ using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace OpenTK.Math
|
namespace OpenTK.Math
|
||||||
{
|
{
|
||||||
|
// Todo: Remove this warning when the code goes public.
|
||||||
|
#pragma warning disable 3019
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal struct Matrix3d : IEquatable<Matrix3d>
|
internal struct Matrix3d : IEquatable<Matrix3d>
|
||||||
|
@ -807,4 +810,6 @@ namespace OpenTK.Math
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 3019
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,9 @@ using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace OpenTK.Math
|
namespace OpenTK.Math
|
||||||
{
|
{
|
||||||
|
// Todo: Remove this warning when the code goes public.
|
||||||
|
#pragma warning disable 3019
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
internal struct Matrix4d : IEquatable<Matrix4d>
|
internal struct Matrix4d : IEquatable<Matrix4d>
|
||||||
|
@ -75,7 +78,7 @@ namespace OpenTK.Math
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
switch( row )
|
switch (row)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
switch (column)
|
switch (column)
|
||||||
|
@ -122,7 +125,7 @@ namespace OpenTK.Math
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
switch( row )
|
switch (row)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
switch (column)
|
switch (column)
|
||||||
|
@ -166,7 +169,8 @@ namespace OpenTK.Math
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new IndexOutOfRangeException();
|
throw new IndexOutOfRangeException();
|
||||||
} }
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Gets the component at the index into the matrix.</summary>
|
/// <summary>Gets the component at the index into the matrix.</summary>
|
||||||
/// <param name="index">The index into the components of the matrix.</param>
|
/// <param name="index">The index into the components of the matrix.</param>
|
||||||
|
@ -2361,4 +2365,6 @@ namespace OpenTK.Math
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
#pragma warning restore 3019
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -16,6 +16,9 @@ using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace OpenTK.Math
|
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>
|
/// <summary>A 4-dimensional vector using double-precision floating point numbers.</summary>
|
||||||
[Serializable]
|
[Serializable]
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
|
@ -1351,4 +1354,6 @@ namespace OpenTK.Math
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 3019
|
||||||
}
|
}
|
Loading…
Reference in a new issue