8 references to FileUtilities
Microsoft.CodeAnalysis.Workspaces (8)
src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
31
using (var reader = new PEReader(
FileUtilities
.OpenRead(filePath)))
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (2)
38
string? resolvedPath =
FileUtilities
.ResolveRelativePath(reference, baseFilePath, BaseDirectory, SearchPaths, FileExists);
44
return
FileUtilities
.TryNormalizeAbsolutePath(resolvedPath);
Workspace\Solution\FileTextLoader.cs (5)
103
FileUtilities
.GetFileLengthAndTimeStamp(Path, out var fileLength, out var prevLastWriteTime);
174
var textAndVersion = await
FileUtilities
.RethrowExceptionsAsIOExceptionAsync(
197
FileUtilities
.GetFileLengthAndTimeStamp(Path, out var fileLength, out var prevLastWriteTime);
201
var textAndVersion =
FileUtilities
.RethrowExceptionsAsIOException(
220
var newLastWriteTime =
FileUtilities
.GetFileTimeStamp(Path);