mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
C#: Change string.Format calls to interpolated strings
This commit is contained in:
@@ -203,7 +203,7 @@ namespace Semmle.Extraction
|
||||
private void EnterScope()
|
||||
{
|
||||
if (currentRecursiveDepth >= maxRecursiveDepth)
|
||||
throw new StackOverflowException(string.Format("Maximum nesting depth of {0} exceeded", maxRecursiveDepth));
|
||||
throw new StackOverflowException($"Maximum nesting depth of {maxRecursiveDepth} exceeded");
|
||||
++currentRecursiveDepth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user