changeset 831:8d1740117404

added C# like code
author thomask
date Wed, 15 Feb 2006 13:53:14 +0000
parents 726e10340496
children 602e7b841889
files nocompile/a/array_initialization_22_A.d nocompile/a/array_initialization_22_B.d nocompile/a/array_initialization_22_C.d nocompile/a/array_initialization_22_D.d nocompile/a/array_initialization_22_E.d nocompile/a/array_initialization_22_F.d nocompile/a/array_initialization_22_G.d nocompile/a/array_initialization_22_H.d nocompile/a/array_initialization_22_I.d nocompile/a/at_01_A.d nocompile/a/at_01_B.d nocompile/a/at_01_C.d nocompile/a/at_01_D.d nocompile/a/at_02_A.d nocompile/a/at_02_B.d nocompile/a/at_02_C.d nocompile/b/bang_01_B.d nocompile/b/bang_01_C.d nocompile/c/checked_01_A.d nocompile/c/checked_01_B.d nocompile/d/decimal_01_A.d nocompile/d/decimal_01_B.d nocompile/d/decimal_01_C.d nocompile/d/decimal_01_D.d nocompile/d/decimal_01_E.d nocompile/d/decimal_01_F.d nocompile/d/decimal_01_G.d nocompile/d/delegate_14_B.d nocompile/f/foreach_32_A.d nocompile/f/foreach_32_B.d nocompile/g/goto_15_A.d nocompile/g/goto_15_B.d nocompile/g/goto_16_A.d nocompile/g/goto_16_B.d nocompile/l/length_09_A.d nocompile/l/length_09_B.d nocompile/l/length_09_C.d nocompile/l/length_09_D.d nocompile/l/length_09_E.d nocompile/l/length_09_F.d nocompile/l/length_09_G.d nocompile/l/lock_01_A.d nocompile/l/lock_01_B.d nocompile/n/namespace_01_A.d nocompile/n/namespace_01_B.d nocompile/n/namespace_01_C.d nocompile/p/params_01_A.d nocompile/p/params_01_B.d nocompile/p/params_01_C.d nocompile/r/ref_01_A.d nocompile/r/ref_01_B.d nocompile/u/unchecked_01_A.d nocompile/u/unchecked_01_B.d nocompile/u/using_01_A.d nocompile/u/using_01_B.d nocompile/u/using_01_C.d nocompile/u/using_01_D.d nocompile/u/using_02_A.d nocompile/u/using_02_B.d nocompile/u/using_03_A.d nocompile/u/using_03_C.d nocompile/u/using_03_D.d nocompile/u/using_03_E.d
diffstat 63 files changed, 871 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_A;
+
+char[*] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_B;
+
+char[,] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_C;
+
+char[,,] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_D;
+
+char[...] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_E.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_E;
+
+char[..] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_F.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_F;
+
+char[.] x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_G.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_G;
+
+int[,] x = new int[2, 3];
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_H.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_H;
+
+int[,] x = new int[2][3];
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/array_initialization_22_I.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.array_initialization_22_I;
+
+int[,] x = {{1, 2}, {3}};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_01_A;
+
+int @int;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_01_B;
+
+int @x;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_01_C;
+
+void @x(){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_01_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_01_D;
+
+void x(int @x){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_02_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_02_A;
+
+char[] s = @"abc";
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_02_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_02_B;
+
+char[] s = @`abc`;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/at_02_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.a.at_02_C;
+
+char[] s = @abc;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/bang_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,9 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 7 
+
+#! blah foo bar
+
+module dstess.nocompile.b.bang_01_B;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/b/bang_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,11 @@
+#! blah foo bar
+
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 9
+
+#! blah foo bar
+
+module dstess.nocompile.b.bang_01_C;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/c/checked_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.c.checked_01_A;
+
+void test(){
+	short a = 0x7FFF;
+	short b;
+	b = checked(a*a);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/c/checked_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.c.checked_01_B;
+
+void test(){
+	short a = 0x7FFF;
+
+	short b;
+	
+	checked{
+		b = a * a;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_A;
+
+decimal x;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_B;
+
+decimal x = 4m;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_C;
+
+decimal x = 4M;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_C;
+
+decimal x = 4.0m;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_E.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_E;
+
+auto x = 4.2M;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_F.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_F;
+
+auto x = 4.2m;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/decimal_01_G.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.d.decimal_01_G;
+
+auto x = 4.2M;
+
--- a/nocompile/d/delegate_14_B.d	Mon Feb 13 06:00:25 2006 +0000
+++ b/nocompile/d/delegate_14_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -11,6 +11,6 @@
 module dstress.nocompile.d.delegate_14_B;
 
 int main(){
-	delegate void ();
+	auto a = delegate void ();
 ;
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/f/foreach_32_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.f.foreach_32_A;
+
+void test(){
+	int[] x;
+	
+	foreach(int i in x){
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/f/foreach_32_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.f.foreach_32_B;
+
+void test(){
+	char[] x;
+	
+	foreach(char c in x){
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/g/goto_15_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.g.goto_15_A;
+
+void test(int i){
+	switch(i){
+		case 0:
+			break;
+		case 1:
+			goto 0;
+		case 3:
+			break;
+	}
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/g/goto_15_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.g.goto_15_B;
+
+void test(int i){
+	switch(i){
+		case 0:
+			break;
+		case 1:
+			goto 2;
+		case 2:
+			break;
+	}
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/g/goto_16_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.g.goto_16_A;
+
+void foo(){
+	some_label: return;
+}
+
+void test(){
+	goto some_label;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/g/goto_16_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// __DSTRESS_ELINE__ 10
+
+module dstress.nocompile.g.goto_16_B;
+
+void test(){
+	goto some_label;
+}
+
+void foo(){
+	some_label: return;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_A;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.Length;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_B;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.Length();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_C;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.GetLength(0);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_D;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.GetLength(-1);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_E.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_E;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.getLength(0);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_F.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_F;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.length(0);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/length_09_G.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.l.length_09_G;
+
+void main(){
+	int[] x = new int[2];
+
+	int y = x.Length(0);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/lock_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.l.lock_01_A;
+
+class C{
+	int i;
+	
+	void test(){
+		lock(this) i++;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/l/lock_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.l.lock_01_B;
+
+class C{
+	int i;
+	
+	void test(){
+		lock(this){
+			i++;
+		}
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/n/namespace_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.n.namespace_01_A;
+
+namespace x{
+	class C{
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/n/namespace_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.n.namespace_01_B;
+
+namespace x.y.z{
+	class C{
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/n/namespace_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.n.namespace_01_C;
+
+namespace x{
+	namespace y{
+		class C{
+		}
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/p/params_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.p.params_01_A;
+
+void test(params int[] x){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/p/params_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.p.params_01_B;
+
+void test(params int x[]){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/p/params_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.p.params_01_C;
+
+void test(params int x){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/r/ref_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 11
+
+module dstress.nocompile.r.ref_01_A;
+
+void test(ref int i){
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/r/ref_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 13
+
+module dstress.nocompile.r.ref_01_B;
+
+void main(){
+	int i;
+	test(ref i);
+}
+
+void test(ref int i){
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/unchecked_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.u.unchecked_01_A;
+
+void test(){
+	short a = 0x7FFF;
+	short b;
+	b = unchecked(a * a);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/unchecked_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.u.unchecked_01_B;
+
+void test(){
+	short a = 0x7FFF;
+
+	short b;
+	
+	unchecked{
+		b = a * a;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_01_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.u.using_01_A;
+
+class C{
+	int i;
+}
+
+void main(){
+	using(C c = new C()){
+		c.i++;	
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_01_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.u.using_01_B;
+
+class C{
+	int i;
+}
+
+void main(){
+	C c = new C();
+
+	using(c){
+		c.i++;	
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_01_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.u.using_01_C;
+
+class C{
+	int i;
+}
+
+void main(){
+	C c = new C();
+
+	using(c) c.i++;	
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_01_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 16
+
+module dstress.nocompile.u.using_01_D;
+
+class C{
+	int i;
+}
+
+void main(){
+	using(C c = new C()) c.i++;	
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_02_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.u.using_02_A;
+
+class C{
+}
+
+void main(){
+	using .C;	
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_02_B.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.u.using_02_B;
+
+class C{
+}
+
+void main(){
+	using dstress.nocompile.u.using_02_B.C;	
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_03_A.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.u.using_03_A;
+
+class C{
+}
+
+using cc C;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_03_C.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.u.using_03_B;
+
+class C{
+}
+
+using cc = C;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_03_D.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.u.using_03_D;
+
+class C{
+}
+
+using C cc;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/u/using_03_E.d	Wed Feb 15 13:53:14 2006 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// Porting: C#
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.u.using_03_E;
+
+class C{
+}
+
+using C == cc;