6 references to TryParseGeneratedName
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (6)
src\Compilers\CSharp\Portable\Symbols\Synthesized\GeneratedNameParser.cs (3)
21
=>
TryParseGeneratedName
(name, out var kind, out _, out _) ? kind : GeneratedNameKind.None;
91
if (!
TryParseGeneratedName
(generatedName, out var kind, out int openBracketOffset, out int closeBracketOffset))
121
if (!
TryParseGeneratedName
(generatedName, out var kind, out _, out int closeBracketOffset) || kind != GeneratedNameKind.LocalFunction)
src\ExpressionEvaluator\CSharp\Source\ResultProvider\CSharpFormatter.cs (2)
53
if (!GeneratedNameParser.
TryParseGeneratedName
(name, out _, out var openBracketOffset, out var closeBracketOffset))
64
if (!GeneratedNameParser.
TryParseGeneratedName
(name, out _, out var openBracketOffset, out var closeBracketOffset))
src\ExpressionEvaluator\CSharp\Source\ResultProvider\CSharpResultProvider.cs (1)
47
if (!GeneratedNameParser.
TryParseGeneratedName
(metadataName, out var kind, out var openBracketOffset, out var closeBracketOffset))