Merge pull request #2006 from steffen-kiess/posix-sockets-2
[mono.git] / mcs / class / corlib / System.Reflection.Emit / DerivedTypes.cs
index 7457b8d0d0668d3b23c8f1cec4cf44791f3222e1..4d8b2ee34ba918eaaca8660fbcd515c1b552b850 100644 (file)
@@ -27,6 +27,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System.Reflection;
 using System.Reflection.Emit;
 using System.Collections;
@@ -316,6 +317,12 @@ namespace System.Reflection.Emit
                {
                        throw new NotSupportedException ();
                }
+
+               internal override bool IsUserType {
+                       get {
+                               return elementType.IsUserType;
+                       }
+               }
        }
 
        [StructLayout (LayoutKind.Sequential)]
@@ -454,3 +461,4 @@ namespace System.Reflection.Emit
        }
 
 }
+#endif