10 references to GeneratedNameConstants
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Synthesized\GeneratedNameParser.cs (4)
17
=> name.StartsWith(
GeneratedNameConstants
.SynthesizedLocalNamePrefix, StringComparison.Ordinal);
107
methodName = methodName.Replace(
GeneratedNameConstants
.DotReplacementInTypeNames, '.');
126
int localFunctionNameStart = closeBracketOffset + 2 +
GeneratedNameConstants
.SuffixSeparator.Length;
132
int localFunctionNameEnd = generatedName.IndexOf(
GeneratedNameConstants
.LocalFunctionNameTerminator, localFunctionNameStart);
Symbols\Synthesized\GeneratedNames.cs (6)
122
return MakeMethodScopedSynthesizedName(GeneratedNameKind.LocalFunction, methodOrdinal, methodGeneration, methodName, localFunctionName,
GeneratedNameConstants
.LocalFunctionNameTerminator, lambdaOrdinal, lambdaGeneration);
158
builder.Replace('.',
GeneratedNameConstants
.DotReplacementInTypeNames);
167
builder.Append(
GeneratedNameConstants
.SuffixSeparator);
275
return
GeneratedNameConstants
.SynthesizedLocalNamePrefix + "InstrumentationPayload" + StringExtensions.GetNumeral(uniqueId);
281
return
GeneratedNameConstants
.SynthesizedLocalNamePrefix + "<>8__locals" + StringExtensions.GetNumeral(uniqueId);
477
builder.Append(
GeneratedNameConstants
.SuffixSeparator).Append(methodOrdinal);