4 references to StripCommonPrefixes
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Naming\IdentifierNameParts.cs (1)
62
newBaseName = NamingStyle.
StripCommonPrefixes
(newBaseName, out var _);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (3)
146
name =
StripCommonPrefixes
(name[Prefix.Length..], out var prefix);
310
name =
StripCommonPrefixes
(name.StartsWith(Prefix) ? name[Prefix.Length..] : name, out _);
335
name =
StripCommonPrefixes
(name, out _);