diff --git a/generator/ObjectGen.cs b/generator/ObjectGen.cs index e70bca453..238b4c5ca 100644 --- a/generator/ObjectGen.cs +++ b/generator/ObjectGen.cs @@ -141,6 +141,7 @@ namespace GtkSharp.Generation { sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); + sw.WriteLine ("\tusing System.Collections.Generic;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); diff --git a/generator/OpaqueGen.cs b/generator/OpaqueGen.cs index a8a656cf9..eee007652 100644 --- a/generator/OpaqueGen.cs +++ b/generator/OpaqueGen.cs @@ -51,6 +51,7 @@ namespace GtkSharp.Generation { sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); + sw.WriteLine ("\tusing System.Collections.Generic;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); diff --git a/generator/StructBase.cs b/generator/StructBase.cs index 21f6eab13..b0ac8bfbc 100644 --- a/generator/StructBase.cs +++ b/generator/StructBase.cs @@ -200,6 +200,7 @@ namespace GtkSharp.Generation { sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); + sw.WriteLine ("\tusing System.Collections.Generic;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine ();