3 public class Misc
{ //Only append content to this class as the test suite depends on line info
4 public static int CreateObject (int foo
, int bar
) {
10 Console
.WriteLine ($"{f.Foo} {f.Bar}");
17 public int Bar { get ; set; }
18 public static void Types () {
19 double dPI
= System
.Math
.PI
;
20 float fPI
= (float)System
.Math
.PI
;
22 int iMax
= int.MaxValue
;
23 int iMin
= int.MinValue
;
24 uint uiMax
= uint.MaxValue
;
25 uint uiMin
= uint.MinValue
;
27 long l
= uiMax
* (long)2;
28 long lMax
= long.MaxValue
; // cannot be represented as double
29 long lMin
= long.MinValue
; // cannot be represented as double
31 sbyte sbMax
= sbyte.MaxValue
;
32 sbyte sbMin
= sbyte.MinValue
;
33 byte bMax
= byte.MaxValue
;
34 byte bMin
= byte.MinValue
;
36 short sMax
= short.MaxValue
;
37 short sMin
= short.MinValue
;
38 ushort usMin
= ushort.MinValue
;
39 ushort usMax
= ushort.MaxValue
;
41 var d
= usMin
+ usMax
;