5 references to WorkspacePathUtilities
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\AbstractEditorInlineRenameService.SymbolRenameInfo.cs (1)
167if (symbolSourceDocument != null && WorkspacePathUtilities.TypeNameMatchesDocumentName(symbolSourceDocument, RenameSymbol.Name))
Microsoft.CodeAnalysis.Workspaces (4)
Rename\Renamer.RenameSymbolDocumentAction.cs (4)
75return typeDeclarations.FirstOrDefault(d => WorkspacePathUtilities.TypeNameMatchesDocumentName(document, d, syntaxFacts)); 91var originalSymbolName = WorkspacePathUtilities.GetTypeNameFromDocumentName(document); 92var newTypeName = WorkspacePathUtilities.GetTypeNameFromDocumentName(documentWithNewName); 109if (symbol is null || WorkspacePathUtilities.TypeNameMatchesDocumentName(documentWithNewName, symbol.Name))