9 writes to ContainingProjectPaths
dotnet-watch (3)
Build\EvaluationResult.cs (1)
153
ContainingProjectPaths
= [projectPath],
HotReload\HotReloadDotNetWatcher.cs (1)
438
new FileItem() { FilePath = changedPath.Path,
ContainingProjectPaths
= [] },
Watch\MsBuildFileSetFactory.cs (1)
106
ContainingProjectPaths
= [projectPath],
dotnet-watch.Tests (6)
Watch\BuildEvaluatorTests.cs (6)
46
await evaluator.EvaluateAsync(changedFile: new(new() { FilePath = "Test.csproj",
ContainingProjectPaths
= [] }, ChangeKind.Update), CancellationToken.None);
64
await evaluator.EvaluateAsync(changedFile: new(new() { FilePath = "Controller.cs",
ContainingProjectPaths
= [] }, ChangeKind.Update), CancellationToken.None);
84
await evaluator.EvaluateAsync(changedFile: new(new() { FilePath = "Controller.cs",
ContainingProjectPaths
= [] }, ChangeKind.Update), CancellationToken.None);
99
{ "Controlller.cs", new FileItem { FilePath = "Controlller.cs",
ContainingProjectPaths
= []} },
100
{ "Proj.csproj", new FileItem { FilePath = "Proj.csproj",
ContainingProjectPaths
= [] } },
121
await evaluator.EvaluateAsync(new(new() { FilePath = "Controller.cs",
ContainingProjectPaths
= [] }, ChangeKind.Update), CancellationToken.None);
9 references to ContainingProjectPaths
dotnet-watch (8)
Build\EvaluationResult.cs (2)
157
else if (!existingFile.
ContainingProjectPaths
.Contains(projectPath))
160
existingFile.
ContainingProjectPaths
.Add(projectPath);
HotReload\CompilationHandler.cs (1)
493
foreach (var containingProjectPath in file.
ContainingProjectPaths
)
HotReload\HotReloadDotNetWatcher.cs (1)
491
if (file.Item.
ContainingProjectPaths
.All(containingProjectPath => rebuiltProjectPaths.Contains(containingProjectPath)))
HotReload\ScopedCssFileHandler.cs (1)
31
foreach (var containingProjectPath in file.
ContainingProjectPaths
)
HotReload\StaticFileHandler.cs (1)
30
foreach (var containingProjectPath in file.
ContainingProjectPaths
)
Watch\MsBuildFileSetFactory.cs (2)
110
else if (!existingFile.
ContainingProjectPaths
.Contains(projectPath))
113
existingFile.
ContainingProjectPaths
.Add(projectPath);
dotnet-watch.Tests (1)
Build\EvaluationTests.cs (1)
22
.Select(entry => $"{InspectPath(entry.Key, rootDir)}: [{string.Join(", ", entry.Value.
ContainingProjectPaths
.Select(p => InspectPath(p, rootDir)))}]");