You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/LanguageServer/Protocol/Features/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer.CompilationManager.cs
+1-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
5
5
usingSystem;
6
6
usingSystem.Collections.Immutable;
7
-
usingSystem.Diagnostics;
8
7
usingSystem.Linq;
9
8
usingSystem.Runtime.CompilerServices;
10
9
usingSystem.Threading;
@@ -37,7 +36,7 @@ internal partial class DiagnosticAnalyzerService
Copy file name to clipboardexpand all lines: src/LanguageServer/Protocol/Features/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_IncrementalAnalyzer.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ private partial class DiagnosticIncrementalAnalyzer
/// Calculates a checksum that contains a project's checksum along with a checksum for each of the project's
438
+
/// transitive dependencies.
439
+
/// </summary>
440
+
/// <remarks>
441
+
/// This checksum calculation can be used for cases where a feature needs to know if the semantics in this project
442
+
/// changed. For example, for diagnostics or caching computed semantic data. The goal is to ensure that changes to
443
+
/// <list type="bullet">
444
+
/// <item>Files inside the current project</item>
445
+
/// <item>Project properties of the current project</item>
446
+
/// <item>Visible files in referenced projects</item>
447
+
/// <item>Project properties in referenced projects</item>
448
+
/// </list>
449
+
/// are reflected in the metadata we keep so that comparing solutions accurately tells us when we need to recompute
450
+
/// semantic work.
451
+
///
452
+
/// <para>This method of checking for changes has a few important properties that differentiate it from other methods of determining project version.
453
+
/// <list type="bullet">
454
+
/// <item>Changes to methods inside the current project will be reflected to compute updated diagnostics.
455
+
/// <see cref="Project.GetDependentSemanticVersionAsync(CancellationToken)"/> does not change as it only returns top level changes.</item>
456
+
/// <item>Reloading a project without making any changes will re-use cached diagnostics.
457
+
/// <see cref="Project.GetDependentSemanticVersionAsync(CancellationToken)"/> changes as the project is removed, then added resulting in a version change.</item>
458
+
/// </list>
459
+
/// </para>
460
+
/// This checksum is also affected by the <see cref="SourceGeneratorExecutionVersion"/> for this project.
461
+
/// As such, it is not usable across different sessions of a particular host.
/// Calculates a checksum that contains a project's checksum along with a checksum for each of the project's
549
-
/// transitive dependencies.
550
-
/// </summary>
551
-
/// <remarks>
552
-
/// This checksum calculation can be used for cases where a feature needs to know if the semantics in this project
553
-
/// changed. For example, for diagnostics or caching computed semantic data. The goal is to ensure that changes to
554
-
/// <list type="bullet">
555
-
/// <item>Files inside the current project</item>
556
-
/// <item>Project properties of the current project</item>
557
-
/// <item>Visible files in referenced projects</item>
558
-
/// <item>Project properties in referenced projects</item>
559
-
/// </list>
560
-
/// are reflected in the metadata we keep so that comparing solutions accurately tells us when we need to recompute
561
-
/// semantic work.
562
-
///
563
-
/// <para>This method of checking for changes has a few important properties that differentiate it from other methods of determining project version.
564
-
/// <list type="bullet">
565
-
/// <item>Changes to methods inside the current project will be reflected to compute updated diagnostics.
566
-
/// <see cref="Project.GetDependentSemanticVersionAsync(CancellationToken)"/> does not change as it only returns top level changes.</item>
567
-
/// <item>Reloading a project without making any changes will re-use cached diagnostics.
568
-
/// <see cref="Project.GetDependentSemanticVersionAsync(CancellationToken)"/> changes as the project is removed, then added resulting in a version change.</item>
569
-
/// </list>
570
-
/// </para>
571
-
/// This checksum is also affected by the <see cref="SourceGeneratorExecutionVersion"/> for this project.
572
-
/// As such, it is not usable across different sessions of a particular host.
Copy file name to clipboardexpand all lines: src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs
-24
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,6 @@ private sealed class WithFrozenSourceGeneratedDocumentsCompilationTracker : ICom
0 commit comments