28 references to PerformIO
IdeCoreBenchmarks (1)
AbstractCloudCachePersistentStorageService.cs (1)
44
var solutionFolder = IOUtilities.
PerformIO
(() => Path.GetDirectoryName(solutionKey.FilePath));
Microsoft.CodeAnalysis.Features (18)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (4)
111
var fileName = IOUtilities.
PerformIO
(() => Path.GetFileName(document.FilePath));
120
var fileName = IOUtilities.
PerformIO
(() => Path.GetFileName(document.FilePath));
148
var sourceName = IOUtilities.
PerformIO
(() => Path.GetFileName(sourceDocument.FilePath));
149
var destinationName = IOUtilities.
PerformIO
(() => Path.GetFileName(destinationDocument.FilePath));
Completion\FileSystemCompletionHelper.cs (4)
56
=> IOUtilities.
PerformIO
(Directory.GetLogicalDrives, Array.Empty<string>());
69
return IOUtilities.
PerformIO
(() => Directory.EnumerateDirectories(fullDirectoryPath), Array.Empty<string>());
76
return IOUtilities.
PerformIO
(() => Directory.EnumerateFiles(fullDirectoryPath), Array.Empty<string>());
83
return IOUtilities.
PerformIO
(() => (File.GetAttributes(fullPath) & (FileAttributes.Hidden | FileAttributes.System)) == 0, false);
Completion\Providers\Scripting\GlobalAssemblyCacheCompletionHelper.cs (1)
67
return IOUtilities.
PerformIO
(() => GlobalAssemblyCache.Instance.GetAssemblyIdentities(partialName),
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (1)
257
var isValidPath = IOUtilities.
PerformIO
(() =>
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (1)
258
var fileName = filePath == null ? null : IOUtilities.
PerformIO
(() => Path.GetFileName(filePath)) ?? filePath;
PdbSourceDocument\ImplementationAssemblyLookupService.cs (2)
137
if (IOUtilities.
PerformIO
(() => File.Exists(pathToTry)))
183
if (IOUtilities.
PerformIO
(() => File.Exists(dllPath)))
PdbSourceDocument\PdbFileLocatorService.cs (2)
39
var dllStream = IOUtilities.
PerformIO
(() => ReadFileIfExists(dllPath));
86
pdbStream = IOUtilities.
PerformIO
(() => File.OpenRead(pdbResult.PdbFilePath));
PdbSourceDocument\PdbSourceDocumentLoaderService.cs (1)
197
return IOUtilities.
PerformIO
(() =>
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (2)
143
var dllReference = IOUtilities.
PerformIO
(() => MetadataReference.CreateFromFile(dllPath));
234
IOUtilities.
PerformIO
(() => Directory.CreateDirectory(tempFilePath));
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
AbstractCloudCachePersistentStorageService.cs (1)
44
var solutionFolder = IOUtilities.
PerformIO
(() => Path.GetDirectoryName(solutionKey.FilePath));
ProjectAssetsFileReader.cs (1)
22
var doesProjectAssetsFileExist = IOUtilities.
PerformIO
(() => File.Exists(projectAssetsFilePath));
Microsoft.CodeAnalysis.Workspaces (4)
Shared\Utilities\IOUtilities.cs (1)
18
PerformIO
<object>(() =>
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
29
FileVersion = IOUtilities.
PerformIO
(() => FileVersionInfo.GetVersionInfo(Identity.AssemblyPath).FileVersion, defaultValue: "(reading version threw exception)")!;
Storage\SQLite\v2\SQLiteConnectionPoolService.cs (1)
133
return IOUtilities.
PerformIO
<IDisposable?>(() =>
Utilities\WorkspacePathUtilities.cs (1)
47
return IOUtilities.
PerformIO
(() => Path.GetFileNameWithoutExtension(document.Name));
Microsoft.VisualStudio.LanguageServices (3)
Implementation\AbstractEditorFactory.cs (1)
404
var text = IOUtilities.
PerformIO
(() =>
Storage\AbstractCloudCachePersistentStorageService.cs (1)
44
var solutionFolder = IOUtilities.
PerformIO
(() => Path.GetDirectoryName(solutionKey.FilePath));
UnusedReferences\ProjectAssets\ProjectAssetsFileReader.cs (1)
22
var doesProjectAssetsFileExist = IOUtilities.
PerformIO
(() => File.Exists(projectAssetsFilePath));