Remove SRE from Full AOT builds.
[mono.git] / mcs / class / corlib / System.Reflection.Emit / FieldToken.cs
index 85cc6599ee68be075f36f9a36fb4d9b325fe4abd..7c7135ee17225f65d8a7cf1279ca2f15fb598938 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 {
@@ -99,3 +100,4 @@ namespace System.Reflection.Emit {
 
 }
 
+#endif