2 writes to NameBasedOnArgument
Microsoft.CodeAnalysis.Workspaces (2)
Utilities\ParameterName.cs (2)
31NameBasedOnArgument = nameBasedOnArgument; 49NameBasedOnArgument = nameBasedOnArgument;
12 references to NameBasedOnArgument
Microsoft.CodeAnalysis.Features (7)
GenerateMember\GenerateConstructor\AbstractGenerateConstructorService.State.cs (5)
450var expectedFieldName = _fieldNamingRule.NamingStyle.MakeCompliant(parameterName.NameBasedOnArgument).First(); 451var expectedPropertyName = _propertyNamingRule.NamingStyle.MakeCompliant(parameterName.NameBasedOnArgument).First(); 495parameterToNewFieldMap[parameterName.NameBasedOnArgument] = newFieldName; 496parameterToNewPropertyMap[parameterName.NameBasedOnArgument] = newPropertyName; 516var nameBasedOnArgument = parameterName.NameBasedOnArgument;
GenerateType\AbstractGenerateTypeService.Editor.cs (2)
604var expectedFieldName = parameterName.NameBasedOnArgument; 622var nameToUse = fieldNamingRule.NamingStyle.MakeCompliant(parameterName.NameBasedOnArgument).First();
Microsoft.CodeAnalysis.Workspaces (5)
Utilities\ParameterName.cs (5)
36BestNameForParameter = NameBasedOnArgument; 54BestNameForParameter = NameBasedOnArgument; 68=> NameBasedOnArgument.Equals(other.NameBasedOnArgument); 71=> NameBasedOnArgument.GetHashCode();