From 79f33ed52892cd3824b2a56b92ea9e524c3f3585 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Wed, 7 Apr 2021 18:25:47 +0100 Subject: [PATCH] Fix outdated comment (#50834) Fix comments that refer to a method that is no longer in the same file. --- .../Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs b/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs index d65b043f4c400..63f9108ee0e9b 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs @@ -132,15 +132,13 @@ public static int OffsetToStringData // This method ensures that there is sufficient stack to execute the average Framework function. // If there is not enough stack, then it throws System.InsufficientExecutionStackException. - // Note: this method is not part of the CER support, and is not to be confused with ProbeForSufficientStack - // below. + // Note: this method is not part of the CER support, and is not to be confused with ProbeForSufficientStack. [MethodImpl(MethodImplOptions.InternalCall)] public static extern void EnsureSufficientExecutionStack(); // This method ensures that there is sufficient stack to execute the average Framework function. // If there is not enough stack, then it return false. - // Note: this method is not part of the CER support, and is not to be confused with ProbeForSufficientStack - // below. + // Note: this method is not part of the CER support, and is not to be confused with ProbeForSufficientStack. [MethodImpl(MethodImplOptions.InternalCall)] public static extern bool TryEnsureSufficientExecutionStack();