@@ -27,7 +27,7 @@ internal sealed class FileChangeWatcher
/// <summary>
/// Gate that is used to guard modifications to <see cref="_taskQueue"/>.
/// </summary>
privatereadonlyobject_taskQueueGate=newobject();
privatereadonlyobject_taskQueueGate=new();
/// <summary>
/// We create a queue of tasks against the IVsFileChangeEx service for two reasons. First, we are obtaining the service asynchronously, and don't want to
/// This right now acquires the entire VisualStudioWorkspace because right now the production
...
...
@@ -37,14 +37,14 @@ internal sealed class FileWatchedPortableExecutableReferenceFactory
/// File watching tokens from <see cref="_fileReferenceChangeContext"/> that are watching metadata references. These are only created once we are actually applying a batch because
/// we don't determine until the batch is applied if the file reference will actually be a file reference or it'll be a converted project reference.
/// <see cref="CancellationTokenSource"/>s for in-flight refreshing of metadata references. When we see a file change, we wait a bit before trying to actually
/// update the workspace. We need cancellation tokens for those so we can cancel them either when a flurry of events come in (so we only do the delay after the last
/// modification), or when we know the project is going away entirely.
@@ -83,13 +83,13 @@ internal sealed class VisualStudioProject
// Effective boolean value to determine if analyzers should be executed based on _runAnalyzersPropertyValue and _runAnalyzersDuringLiveAnalysisPropertyValue.
/// A file change context used to watch source files, additional files, and analyzer config files for this project. It's automatically set to watch the user's project
...
...
@@ -100,7 +100,7 @@ internal sealed class VisualStudioProject
/// <summary>
/// track whether we have been subscribed to <see cref="IDynamicFileInfoProvider.Updated"/> event
/// A map of explicitly-added "always open" <see cref="SourceTextContainer"/> and their associated <see cref="DocumentId"/>. This does not contain
...
...
@@ -1152,7 +1152,7 @@ private sealed class BatchingDocumentCollection
/// <summary>
/// The map of <see cref="DocumentId"/> to <see cref="IDynamicFileInfoProvider"/> whose <see cref="DynamicFileInfo"/> got added into <see cref="Workspace"/>
/// The current list of documents that are to be added in this batch.
...
...
@@ -1162,7 +1162,7 @@ private sealed class BatchingDocumentCollection
/// <summary>
/// The current list of documents that are being removed in this batch. Once the document is in this list, it is no longer in <see cref="_documentPathsToDocumentIds"/>.
[SuppressMessage("RoslynDiagnosticsReliability","RS0033:Importing constructor should be [Obsolete]",Justification="Used in test code: https://github.com/dotnet/roslyn/issues/42814")]