1 write to Kind
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
70this.Kind = kind;
28 references to Kind
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1428Assert.Equal(WorkspaceChangeKind.DocumentChanged, e.Kind);
Microsoft.CodeAnalysis.EditorFeatures (7)
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
54switch (e.Kind)
InlineRename\InlineRenameSession.cs (2)
380if (args.Kind != WorkspaceChangeKind.DocumentChanged) 390m["Kind"] = Enum.GetName(typeof(WorkspaceChangeKind), args.Kind);
LanguageServer\AlwaysActiveLanguageClientEventListener.cs (2)
48if (e.Kind == WorkspaceChangeKind.SolutionAdded) 55else if (e.Kind is WorkspaceChangeKind.SolutionRemoved)
Remote\SolutionChecksumUpdater.cs (1)
105if (e.Kind == WorkspaceChangeKind.DocumentChanged)
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (1)
34if (e.Kind == WorkspaceChangeKind.ProjectChanged)
Microsoft.CodeAnalysis.Features (6)
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
57switch (e.Kind)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (3)
149UnitTestingSolutionCrawlerLogger.LogWorkspaceEvent(_logAggregator, args.Kind); 152switch (args.Kind) 214throw ExceptionUtilities.UnexpectedValue(args.Kind);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (1)
21/// <param name="kind"><inheritdoc cref="WorkspaceChangeEventArgs.Kind"/></param>
Workspace\CompileTimeSolutionProvider.cs (1)
72if (e.Kind is WorkspaceChangeKind.SolutionCleared or WorkspaceChangeKind.SolutionRemoved)
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\AbstractRefreshQueue.cs (1)
81if (e.DocumentId is not null && e.Kind is WorkspaceChangeKind.DocumentChanged)
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (3)
72if (e.Kind is WorkspaceChangeKind.DocumentChanged) 77else if (e.Kind is WorkspaceChangeKind.AdditionalDocumentChanged) 85else if (e.Kind is WorkspaceChangeKind.DocumentReloaded)
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (1)
107if (e.Kind is WorkspaceChangeKind.SolutionChanged or WorkspaceChangeKind.SolutionAdded or WorkspaceChangeKind.SolutionRemoved or WorkspaceChangeKind.SolutionReloaded or WorkspaceChangeKind.SolutionCleared)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
2218Assert.Equal(expectedEventKind, args.Kind); 2248Assert.Equal(expectedEventKind, args.Kind);
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
WorkspaceTests\AdhocWorkspaceTests.cs (4)
425if (args.Kind == WorkspaceChangeKind.DocumentInfoChanged 458if (args.Kind == WorkspaceChangeKind.DocumentInfoChanged 492if (args.Kind == WorkspaceChangeKind.DocumentInfoChanged 523if (args.Kind == WorkspaceChangeKind.DocumentInfoChanged
Microsoft.VisualStudio.LanguageServices (3)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
84switch (e.Kind)
Packaging\PackageInstallerServiceFactory.cs (1)
430switch (e.Kind)
ValueTracking\ValueTrackingToolWindow.cs (1)
74if (e.Kind is WorkspaceChangeKind.SolutionCleared