-
Notifications
You must be signed in to change notification settings - Fork 727
Description
Environment data
.NET SDK:
Version: 9.0.306
Commit: cc9947ca66
Workload version: 9.0.300-manifests.87361a52
MSBuild version: 17.14.28+09c1be848
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.306\
Host:
Version: 9.0.10
Architecture: x64
Commit: e1f19886fe
.NET SDKs installed:
8.0.414 [C:\Program Files\dotnet\sdk]
9.0.306 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
VS Code version:
Version: 1.105.1
C# logs
2025-11-04 14:24:00.621 [error] [textDocument/diagnostic] [LSP] System.Collections.Generic.KeyNotFoundException: The given key 'Microsoft.Unity.Analyzers.MessageSuppressor' was not present in the dictionary.
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.GetAnalyzerSpecificOptions(DiagnosticAnalyzer analyzer) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerExecutor.cs:line 306
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteSuppressionAction(DiagnosticSuppressor suppressor, ImmutableArray`1 reportedDiagnostics, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerExecutor.cs:line 378
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.<>c__DisplayClass112_0.<ApplyProgrammaticSuppressionsCore>g__executeSuppressionActions|0(IEnumerable`1 reportedDiagnostics, Boolean concurrent) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.cs:line 1135
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerDriver.ApplyProgrammaticSuppressionsCore(ImmutableArray`1 reportedDiagnostics, Compilation compilation, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.cs:line 1069
at Microsoft.CodeAnalysis.Diagnostics.AnalysisResultBuilder.ApplySuppressionsAndStoreAnalysisResult(AnalysisScope analysisScope, AnalyzerDriver driver, Compilation compilation, Func`2 getAnalyzerActionCounts, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisResultBuilder.cs:line 194
at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.ComputeAnalyzerDiagnosticsAsync(AnalysisScope analysisScope, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 803
at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAnalysisResultCoreAsync(SemanticModel model, Nullable`1 filterSpan, ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 654
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.<>c__DisplayClass35_0.<<AnalyzeInProcessAsync>g__GetAnalysisResultAsync|2>d.MoveNext() in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_CoreAnalyze.cs:line 126
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.<>c__DisplayClass35_0.<<AnalyzeInProcessAsync>g__AnalyzeAsync|0>d.MoveNext() in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_CoreAnalyze.cs:line 41
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.AnalyzeInProcessAsync(DocumentAnalysisScope documentAnalysisScope, Project project, CompilationWithAnalyzers compilationWithAnalyzers, Boolean logPerformanceInfo, Boolean getTelemetryInfo, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_CoreAnalyze.cs:line 35
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.DocumentAnalysisExecutor.<>c__DisplayClass12_0.<<ComputeDiagnosticsInProcessAsync>g__GetAnalysisResultInProcessAsync|1>d.MoveNext() in /_/src/Features/Core/Portable/Diagnostics/Service/DocumentAnalysisExecutor.cs:line 155
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.DocumentAnalysisExecutor.<>c__DisplayClass12_0.<<ComputeDiagnosticsInProcessAsync>g__GetSemanticDiagnosticsInProcessAsync|4>d.MoveNext() in /_/src/Features/Core/Portable/Diagnostics/Service/DocumentAnalysisExecutor.cs:line 241
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.DocumentAnalysisExecutor.ComputeDiagnosticsInProcessAsync(DiagnosticAnalyzer analyzer, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DocumentAnalysisExecutor.cs:line 120
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.ComputeDocumentDiagnosticsCoreInProcessAsync(DocumentAnalysisExecutor executor, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs:line 32
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.ComputeDiagnosticsInProcessAsync(DocumentAnalysisExecutor executor, ImmutableArray`1 analyzers, VersionStamp version, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs:line 75
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.<>c__DisplayClass43_0.<<ComputeDiagnosticsInProcessAsync>g__ComputeDocumentDiagnosticsAsync|0>d.MoveNext() in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs:line 322
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.ComputeDiagnosticsInProcessAsync(TextDocument document, Nullable`1 range, ImmutableArray`1 allAnalyzers, ImmutableArray`1 syntaxAnalyzers, ImmutableArray`1 semanticSpanAnalyzers, ImmutableArray`1 semanticDocumentAnalyzers, Boolean incrementalAnalysis, Boolean logPerformanceInfo, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs:line 298
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.GetDiagnosticsForSpanInProcessAsync(TextDocument document, Nullable`1 range, DiagnosticIdFilter diagnosticIdFilter, Nullable`1 priority, DiagnosticKind diagnosticKind, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs:line 71
at Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.GetDiagnosticsForSpanAsync(TextDocument document, Nullable`1 range, DiagnosticIdFilter diagnosticIdFilter, Nullable`1 priority, DiagnosticKind diagnosticKind, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/Diagnostics/Service/DiagnosticAnalyzerService_RemoteOrLocalDispatcher.cs:line 207
at Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.DocumentDiagnosticSource.GetDiagnosticsAsync(RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/Diagnostics/DiagnosticSources/DocumentDiagnosticSource.cs:line 25
at Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.AbstractPullDiagnosticHandler`3.DiagnosticsPullCache.ComputeDataAsync(DiagnosticsRequestState state, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/Diagnostics/DiagnosticsPullCache.cs:line 44
at Microsoft.CodeAnalysis.LanguageServer.Handler.VersionedPullCache`3.CacheItem.UpdateCacheItemAsync(VersionedPullCache`3 cache, Nullable`1 previousPullResult, Boolean isFullyLoaded, TState state, String language, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.LanguageServer.Handler.VersionedPullCache`3.GetOrComputeNewDataAsync(Dictionary`2 idToClientLastResult, ProjectOrDocumentId projectOrDocumentId, Project project, TState state, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.AbstractPullDiagnosticHandler`3.HandleRequestAsync(TDiagnosticsParams diagnosticsParams, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/Diagnostics/AbstractPullDiagnosticHandler.cs:line 159
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken)
2025-11-04 14:24:00.623 [error] Request textDocument/diagnostic failed.
Message: The given key 'Microsoft.Unity.Analyzers.MessageSuppressor' was not present in the dictionary.
Code: -32000
[object Object]
2025-11-04 14:24:00.623 [error] Document pull failed for text document file:///d%3A/UnityAndroid/Unity/Assets/Scripts/Core/Fiber/Module/Timer/TimerCoreComponent.cs
Message: The given key 'Microsoft.Unity.Analyzers.MessageSuppressor' was not present in the dictionary.
Code: -32000
[object Object]