diff options
Diffstat (limited to 'mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs')
-rw-r--r-- | mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs b/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs index 292083a0bf7..068e74e2c51 100644 --- a/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs +++ b/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs @@ -189,12 +189,10 @@ namespace System.Runtime.CompilerServices return !typeof (T).IsValueType || RuntimeTypeHandle.HasReferences ((typeof (T) as RuntimeType)); } -#if !NETCORE public static object GetUninitializedObject (Type type) { return FormatterServices.GetUninitializedObject (type); } -#endif /// <summary> /// GetSubArray helper method for the compiler to slice an array using a range. |