Skip to content

Commit

Permalink
Fix outdated comment (#50834)
Browse files Browse the repository at this point in the history
Fix comments that refer to a method that is no longer in the same file.
  • Loading branch information
martincostello authored Apr 7, 2021
1 parent 8a1101d commit 79f33ed
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 79f33ed

Please sign in to comment.