Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs')
-rw-r--r--mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs2
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.