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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs
index d7fbf7597..4a0b1d2ce 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/UnsafeGCHandle.cs
@@ -36,19 +36,19 @@ namespace System.Runtime.InteropServices
private IntPtr _handle;
// Allocate a handle storing the object and the type.
- private UnsafeGCHandle(Object value, GCHandleType type)
+ private UnsafeGCHandle(object value, GCHandleType type)
{
Debug.Assert((uint)type <= (uint)MaxHandleType, "Unexpected handle type");
_handle = RuntimeImports.RhHandleAlloc(value, type);
}
- public static UnsafeGCHandle Alloc(Object value, GCHandleType type)
+ public static UnsafeGCHandle Alloc(object value, GCHandleType type)
{
return new UnsafeGCHandle(value, type);
}
// Target property - allows getting / updating of the handle's referent.
- public Object Target
+ public object Target
{
get
{