3 implementations of FileExists
Microsoft.AspNetCore.Razor.Test.Common.Cohosting (1)
TestFileSystem.cs (1)
20public bool FileExists(string filePath)
Microsoft.CodeAnalysis.Razor.Workspaces (1)
FileSystem.cs (1)
17public bool FileExists(string filePath)
Microsoft.CodeAnalysis.Remote.Razor (1)
RemoteFileSystem.cs (1)
16public bool FileExists(string filePath)
12 references to FileExists
Microsoft.CodeAnalysis.Razor.Workspaces (5)
CodeActions\Razor\ComponentAccessibilityCodeActionProvider.cs (1)
107if (_fileSystem.FileExists(newComponentPath))
CodeActions\Razor\ExtractToCssCodeActionResolver.cs (1)
60if (_fileSystem.FileExists(cssFilePath))
CodeActions\Razor\PromoteUsingCodeActionResolver.cs (1)
48if (!_fileSystem.FileExists(importsFile))
Rename\RenameService.cs (2)
62if (_fileSystem.FileExists(newPath)) 129if (_fileSystem.FileExists(changedPath))
Microsoft.CodeAnalysis.Remote.Razor (1)
RemoteFileSystem.cs (1)
17=> _fileSystem.FileExists(filePath);
Microsoft.VisualStudio.LanguageServices.Razor (6)
LanguageClient\Cohost\CohostApplyRenameEditEndpoint.cs (2)
77!fileSystem.FileExists(documentFilePath)) 109if (fileSystem.FileExists(renameEdit.OldDocumentUri.GetRequiredParsedUri().GetDocumentFilePath()))
Rename\RazorRefactorNotifyService.cs (4)
101if (!fileSystem.FileExists(razorFileName)) 111if (fileSystem.FileExists(newFileName)) 123if (fileSystem.FileExists($"{razorFileName}.cs")) 128if (fileSystem.FileExists($"{razorFileName}.css"))