From 2c178d54fd6ae2663e69cc18a30e32547d8cb7f4 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Mon, 3 Nov 2014 01:35:49 +0100 Subject: [PATCH] Remove unused field. Fixes warnings [#61] by removing an unused field. --- Source/Generator.Rewrite/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Generator.Rewrite/Program.cs b/Source/Generator.Rewrite/Program.cs index 94a7284f..873d6e45 100644 --- a/Source/Generator.Rewrite/Program.cs +++ b/Source/Generator.Rewrite/Program.cs @@ -50,7 +50,6 @@ namespace OpenTK.Rewrite // mscorlib types static AssemblyDefinition mscorlib; static TypeDefinition TypeMarshal; - static TypeDefinition TypeStringArray; static TypeDefinition TypeStringBuilder; static TypeDefinition TypeVoid; static TypeDefinition TypeIntPtr; @@ -116,7 +115,6 @@ namespace OpenTK.Rewrite return; } TypeMarshal = mscorlib.MainModule.GetType("System.Runtime.InteropServices.Marshal"); - TypeStringArray = mscorlib.MainModule.GetType("System.String").MakeArrayType().Resolve(); TypeStringBuilder = mscorlib.MainModule.GetType("System.Text.StringBuilder"); TypeVoid = mscorlib.MainModule.GetType("System.Void"); TypeIntPtr = mscorlib.MainModule.GetType("System.IntPtr");