1 implementation of Exists
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.IOService.cs (1)
20
public bool
Exists
(FileSystemInfo info) => info.Exists;
16 references to Exists
Microsoft.CodeAnalysis.Features (3)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (3)
195
if (_service._ioService.
Exists
(databaseFileInfo))
225
if (!_service._ioService.
Exists
(_cacheDirectoryInfo))
332
if (_service._ioService.
Exists
(databaseFileInfo))
Microsoft.VisualStudio.LanguageServices.UnitTests (13)
SymbolSearch\SymbolSearchUpdateEngineTests.vb (13)
32
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
64
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of DirectoryInfo))).Returns(True).Callback(
91
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
129
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
170
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
205
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
252
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
295
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
344
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(False)
403
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(True)
447
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(True)
501
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(True)
561
ioMock.Setup(Function(s) s.
Exists
(It.IsAny(Of FileSystemInfo))).Returns(True)