Remove SRE from Full AOT builds.
[mono.git] / mcs / class / corlib / System.Reflection.Emit / PackingSize.cs
index f3db05c67baac715cade05ffc04f4107e3ec1f82..08052a3386e7344b5e141c5746eaa0c0351f6af9 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 {
@@ -71,3 +72,4 @@ namespace System.Reflection.Emit {
 }
 
 
+#endif