Skip to content

Commit 4434164

Browse files
committed
Remove unused code
1 parent cea55da commit 4434164

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

sources/SilkTouch/SilkTouch/Naming/NameUtils.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -314,21 +314,6 @@ private static string MakeFirstLetterUpper(string wordToConvert, CultureInfo cul
314314
private static partial Regex Words();
315315
}
316316

317-
private static Location? IdentifierLocation(SyntaxNode? node) =>
318-
node switch
319-
{
320-
BaseTypeDeclarationSyntax bt => bt.Identifier.GetLocation(),
321-
DelegateDeclarationSyntax d => d.Identifier.GetLocation(),
322-
EnumMemberDeclarationSyntax em => em.Identifier.GetLocation(),
323-
EventDeclarationSyntax e => e.Identifier.GetLocation(),
324-
MethodDeclarationSyntax m => m.Identifier.GetLocation(),
325-
PropertyDeclarationSyntax p => p.Identifier.GetLocation(),
326-
VariableDeclaratorSyntax v => v.Identifier.GetLocation(),
327-
ConstructorDeclarationSyntax c => c.Identifier.GetLocation(),
328-
DestructorDeclarationSyntax d => d.Identifier.GetLocation(),
329-
_ => null,
330-
};
331-
332317
/// <summary>
333318
/// Rename all symbols with the given new names
334319
/// </summary>

0 commit comments

Comments
 (0)