4 references to TypeNameMatchesDocumentName
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\AbstractEditorInlineRenameService.SymbolRenameInfo.cs (1)
167if (symbolSourceDocument != null && WorkspacePathUtilities.TypeNameMatchesDocumentName(symbolSourceDocument, RenameSymbol.Name))
Microsoft.CodeAnalysis.Workspaces (3)
Rename\Renamer.RenameSymbolDocumentAction.cs (1)
109if (symbol is null || WorkspacePathUtilities.TypeNameMatchesDocumentName(documentWithNewName, symbol.Name))
Utilities\WorkspacePathUtilities.cs (2)
24/// name is null, returns false. Otherwise uses <see cref="TypeNameMatchesDocumentName(Document, string)"/> 29return name != null && TypeNameMatchesDocumentName(document, name);