3 writes to FilePath
dotnet-watch (1)
Watch\MsBuildFileSetFactory.cs (1)
113FilePath = filePath,
Microsoft.DotNet.HotReload.Watch (2)
Build\EvaluationResult.cs (1)
225FilePath = filePath,
HotReload\HotReloadDotNetWatcher.cs (1)
354new FileItem() { FilePath = changedPath.Path, ContainingProjectPaths = [] },
15 references to FilePath
dotnet-watch (4)
Watch\BuildEvaluator.cs (1)
154if (changedFile != null && IsMsBuildFileExtension(changedFile.Value.FilePath))
Watch\DotNetWatcher.cs (1)
149context.Logger.LogInformation("File changed: {Path}", changedFile.Value.Item.FilePath);
Watch\MsBuildFileSetFactory.cs (1)
128Debug.Assert(fileItems.Values.All(f => Path.IsPathRooted(f.FilePath)), "All files should be rooted paths");
Watch\StaticFileHandler.cs (1)
30logger.LogDebug("Handling file change event for static content {FilePath}.", file.FilePath);
Microsoft.DotNet.HotReload.Watch (11)
Build\BuildReporter.cs (2)
32? $"{file.FilePath}{Path.PathSeparator}{string.Join(Path.PathSeparator, file.StaticWebAssetRelativeUrl)}" 33: $"{file.FilePath}");
HotReload\CompilationHandler.cs (3)
693var isScopedCss = StaticWebAsset.IsScopedCssFile(file.FilePath); 760filePath = file.FilePath; 1026var solution = await Workspace.UpdateFileContentAsync(changedFiles.Select(static f => (f.Item.FilePath, f.Kind.Convert())), cancellationToken);
HotReload\HotReloadDotNetWatcher.cs (6)
406if (evaluationResult.Files.TryGetValue(file.Item.FilePath, out var evaluatedFile)) 433newAccumulator = newAccumulator.Add(new ChangedPath(file.Item.FilePath, file.Kind)); 554if (changedFiles.Select(f => f.Item.FilePath).FirstOrDefault(path => evaluationResult.ProjectGraph.BuildFiles.Contains(path) || MatchesBuildFile(path)) is { } firstBuildFilePath) 564var filePath = changedFile.Item.FilePath; 915? GetSingularMessage(kind) + ": " + GetRelativeFilePath(item.FilePath) 916: GetPluralMessage(kind) + ": " + string.Join(", ", items.Select(f => GetRelativeFilePath(f.Item.FilePath)));