[sre] Fix the signature of the create_dynamic_method () icall, make it static since...
[mono.git] / mcs / class / corlib / System.Reflection.Emit / ParameterToken.cs
index 6858f248e2d187b775e6d6c0db30e713cde612de..9c42bb136f8a38334ee0104bba32edb067df01a5 100644 (file)
@@ -25,6 +25,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
@@ -39,14 +40,7 @@ namespace System.Reflection.Emit {
 
                internal int tokValue;
 
-               public static readonly ParameterToken Empty;
-
-
-               static ParameterToken ()
-               {
-                       Empty = new ParameterToken ();
-               }
-
+               public static readonly ParameterToken Empty = new ParameterToken ();
 
                internal ParameterToken (int val)
                {
@@ -105,3 +99,4 @@ namespace System.Reflection.Emit {
 
 }
 
+#endif