|
|
@@ -15,6 +15,7 @@ class X {
|
|
|
sbyte s = 0;
|
|
|
|
|
|
asbyte ((byte) s, (ushort) s, (uint) s, (ulong) s, (char) s);
|
|
|
+ asbyte (checked ((byte) s), checked ((ushort) s), checked ((uint) s), checked ((ulong) s), checked ((char) s));
|
|
|
}
|
|
|
|
|
|
void abyte (sbyte a, char b)
|
|
|
@@ -26,6 +27,7 @@ class X {
|
|
|
byte b = 0;
|
|
|
|
|
|
abyte ((sbyte) b, (char) b);
|
|
|
+ abyte (checked ((sbyte) b), checked ((char) b));
|
|
|
}
|
|
|
|
|
|
void ashort (sbyte a, byte b, ushort c, uint d, ulong e, char f)
|
|
|
@@ -37,6 +39,7 @@ class X {
|
|
|
short a = 1;
|
|
|
|
|
|
ashort ((sbyte) a, (byte) a, (ushort) a, (uint) a, (ulong) a, (char) a);
|
|
|
+ ashort (checked ((sbyte) a), checked ((byte) a), checked ((ushort) a), checked ((uint) a), checked ((ulong) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void aushort (sbyte a, byte b, short c, char d)
|
|
|
@@ -47,6 +50,7 @@ class X {
|
|
|
{
|
|
|
ushort a = 1;
|
|
|
aushort ((sbyte) a, (byte) a, (short) a, (char) a);
|
|
|
+ aushort (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void aint (sbyte a, byte b, short c, ushort d, uint e, ulong f, char g)
|
|
|
@@ -58,6 +62,7 @@ class X {
|
|
|
int a = 1;
|
|
|
|
|
|
aint ((sbyte) a, (byte) a, (short) a, (ushort) a, (uint) a, (ulong) a, (char) a);
|
|
|
+ aint (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((uint) a), checked ((ulong) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void auint (sbyte a, byte b, short c, ushort d, int e, char f)
|
|
|
@@ -69,6 +74,7 @@ class X {
|
|
|
uint a = 1;
|
|
|
|
|
|
auint ((sbyte) a, (byte) a, (short) a, (ushort) a, (int) a, (char) a);
|
|
|
+ auint (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((int) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void along (sbyte a, byte b, short c, ushort d, int e, uint f, ulong g, char h)
|
|
|
@@ -80,6 +86,7 @@ class X {
|
|
|
long a = 1;
|
|
|
|
|
|
along ((sbyte) a, (byte) a, (short) a, (ushort) a, (int) a, (uint) a, (ulong) a, (char) a);
|
|
|
+ along (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((int) a), checked ((uint) a), checked ((ulong) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void aulong (sbyte a, byte b, short c, ushort d, int e, uint f, long g, char h)
|
|
|
@@ -91,6 +98,7 @@ class X {
|
|
|
ulong a = 1;
|
|
|
|
|
|
aulong ((sbyte) a, (byte) a, (short) a, (ushort) a, (int) a, (uint) a, (long) a, (char) a);
|
|
|
+ aulong (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((int) a), checked ((uint) a), checked ((long) a), checked ((char) a));
|
|
|
}
|
|
|
|
|
|
void achar (sbyte a, byte b, short c)
|
|
|
@@ -103,6 +111,7 @@ class X {
|
|
|
char a = (char) 1;
|
|
|
|
|
|
achar ((sbyte) a, (byte) a, (short) a);
|
|
|
+ achar (checked ((sbyte) a), checked ((byte) a), checked ((short) a));
|
|
|
}
|
|
|
|
|
|
void afloat (sbyte a, byte b, short c, ushort d, int e, uint f, long ll, ulong g, char h, decimal dd)
|
|
|
@@ -115,6 +124,8 @@ class X {
|
|
|
|
|
|
afloat ((sbyte) a, (byte) a, (short) a, (ushort) a, (int) a, (uint) a, (long) a,
|
|
|
(ulong) a, (char) a, (decimal) a);
|
|
|
+ afloat (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((int) a), checked ((uint) a), checked ((long) a),
|
|
|
+checked ( (ulong) a), checked ((char) a), checked ((decimal) a));
|
|
|
}
|
|
|
|
|
|
void adouble (sbyte a, byte b, short c, ushort d, int e, uint f, long ll, ulong g, char h,
|
|
|
@@ -128,6 +139,8 @@ class X {
|
|
|
|
|
|
adouble ((sbyte) a, (byte) a, (short) a, (ushort) a, (int) a, (uint) a, (long) a,
|
|
|
(ulong) a, (char) a, (float) a, (decimal) a);
|
|
|
+ adouble (checked ((sbyte) a), checked ((byte) a), checked ((short) a), checked ((ushort) a), checked ((int) a), checked ((uint) a), checked ((long) a),
|
|
|
+checked ( (ulong) a), checked ((char) a), checked ((float) a), (decimal) a);
|
|
|
}
|
|
|
|
|
|
static void Main ()
|