Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / mcs / reflection.cs
index 411416712ad368e275b30ec310760b553b0b872f..b233b9439cbfd397d52a28c70953d10d3ab8564e 100644 (file)
@@ -219,7 +219,7 @@ namespace Mono.CSharp
                //
                public bool Create (AppDomain domain, AssemblyBuilderAccess access)
                {
-#if STATIC
+#if STATIC || FULL_AOT_RUNTIME
                        throw new NotSupportedException ();
 #else
                        ResolveAssemblySecurityAttributes ();