From 9ab95a93a6f43b23355ed60434a92bc147e5b559 Mon Sep 17 00:00:00 2001 From: Alfred Myers Date: Wed, 20 Jun 2018 20:31:00 -0300 Subject: [PATCH] Fixed method name in comment (dotnet/coreclr#18571) Commit migrated from https://github.com/dotnet/coreclr/commit/da40cb1ca8779566ca53ed6bd2fa67a926b29b38 --- .../src/System/Runtime/InteropServices/SafeHandle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeHandle.cs b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeHandle.cs index a8bfbdc..5410780 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeHandle.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeHandle.cs @@ -186,7 +186,7 @@ namespace System.Runtime.InteropServices // compatibility to support the handle properties returning IntPtrs on // many of our Framework classes. // Note that this method is dangerous for two reasons: - // 1) If the handle has been marked invalid with SetHandleasInvalid, + // 1) If the handle has been marked invalid with SetHandleAsInvalid, // DangerousGetHandle will still return the original handle value. // 2) The handle returned may be recycled at any point. At best this means // the handle might stop working suddenly. At worst, if the handle or -- 2.7.4