Fixed method name in comment (dotnet/coreclr#18571)
authorAlfred Myers <git@alfredmyers.com>
Wed, 20 Jun 2018 23:31:00 +0000 (20:31 -0300)
committerJan Kotas <jkotas@microsoft.com>
Wed, 20 Jun 2018 23:31:00 +0000 (16:31 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/da40cb1ca8779566ca53ed6bd2fa67a926b29b38

src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeHandle.cs

index a8bfbdc..5410780 100644 (file)
@@ -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