4 writes to BestNameForParameter
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (4)
36
BestNameForParameter
= NameBasedOnArgument;
42
BestNameForParameter
= trimmed.Length > 0 ? tryMakeCamelCase ? trimmed.ToCamelCase() : trimmed : nameBasedOnArgument;
53
BestNameForParameter
= NameBasedOnArgument;
59
BestNameForParameter
= parameterNamingRule.NamingStyle.MakeCompliant(nameBasedOnArgument).First();