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