Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

a

オープン
#9,901 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
csharp, typescript, vscode
領域
backend, devtools

調査の方向性

The report contains Visual Basic language server errors for inlay hints, folding ranges, and code actions in a MiscellaneousFiles workspace, but it does not describe the reproduction steps or expected behavior. Start by identifying which logged request is the reported problem and find the corresponding handler or reproduction test. Done means the failure is reproducible and the intended behavior is specified.

索引モデルが issue の本文から書いたものです。

説明

C#DK untriaged

Type: Bug

Issue Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Extension version: 2.160.4
VS Code version: Code 1.141.2 (16507d91be0dc1ce4f94c04d4d0430210b8685d9, 2026-10-14T11:07:23Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Logs
C# log
2026-10-21 17:29:12.925 [info] Locating .NET runtime version 10.0.5
2026-10-21 17:29:13.827 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-10-21 17:29:13.828 [info] Activating C# + C# Dev Kit...
2026-10-21 17:29:14.812 [info] info: Program[0]
2026-10-21 17:29:14.812 [info]       Server information:
2026-10-21 17:29:14.812 [info] info: Program[0]
2026-10-21 17:29:14.812 [info]         Assembly informational version: 5.12.0-1.26452.1+e42c0e42e89e41522593d0816707e71781ecbee2
2026-10-21 17:29:14.812 [info] info: Program[0]
2026-10-21 17:29:14.813 [info]         Executable path: c:\Users\lucas.cassiani\.vscode\extensions\ms-dotnettools.csharp-2.160.4-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe
2026-10-21 17:29:14.813 [info] info: Program[0]
2026-10-21 17:29:14.813 [info]         Process ID: 24444
2026-10-21 17:29:17.450 [info] info: Program[0]
2026-10-21 17:29:17.450 [info]       Monitoring client process 7516 for exit
2026-10-21 17:29:17.450 [info] info: Program[0]
2026-10-21 17:29:17.450 [info]       Language server initialized
2026-10-21 17:29:18.143 [info] [Razor.LanguageClient.Cohost.RazorCohostDynamicRegistrationService] Requesting 27 Razor cohost registrations.
2026-10-21 17:29:18.153 [info] [initialized] [Razor]  Razor extension startup finished.
2026-10-21 17:29:18.263 [error] [textDocument/inlayHint] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.InlineHints.IInlineHintsService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.InlayHint.InlayHintHandler.CalculateInlayHintsAsync(Document document, Range range, InlineHintsOptions options, Boolean displayAllOverride, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/InlayHint/InlayHintHandler.cs:line 107
   at Microsoft.CodeAnalysis.LanguageServer.Handler.InlayHint.InlayHintHandler.GetInlayHintsAsync(Document document, TextDocumentIdentifier textDocumentIdentifier, Range range, InlineHintsOptions options, Boolean displayAllOverride, InlayHintCache inlayHintCache, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/InlayHint/InlayHintHandler.cs:line 52
   at Microsoft.CodeAnalysis.LanguageServer.Handler.InlayHint.InlayHintHandler.HandleRequestAsync(InlayHintParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/InlayHint/InlayHintHandler.cs:line 47
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:18.296 [error] Request textDocument/inlayHint failed.
  Message: Service of type 'Microsoft.CodeAnalysis.InlineHints.IInlineHintsService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:29:18.362 [error] [textDocument/foldingRange] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.Structure.BlockStructureService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FoldingRangesHandler.GetFoldingRangesAsync(Document document, BlockStructureOptions options, Boolean lineFoldingOnly, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/FoldingRanges/FoldingRangesHandler.cs:line 76
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FoldingRangesHandler.HandleRequestAsync(FoldingRangeParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/FoldingRanges/FoldingRangesHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:18.363 [error] Request textDocument/foldingRange failed.
  Message: Service of type 'Microsoft.CodeAnalysis.Structure.BlockStructureService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:29:18.369 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.ExtractInterface.ExtractInterfaceCodeRefactoringProvider threw an exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.CodeAnalysis.ExtractInterface.ExtractInterfaceCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/ExtractInterface/ExtractInterfaceCodeRefactoringProvider.cs:line 31
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.369 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.GenerateComparisonOperators.GenerateComparisonOperatorsCodeRefactoringProvider threw an exception. System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeRefactorings.IRefactoringHelpersService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.GenerateComparisonOperators.GenerateComparisonOperatorsCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/GenerateComparisonOperators/GenerateComparisonOperatorsCodeRefactoringProvider.cs:line 46
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.370 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.GenerateOverrides.GenerateOverridesCodeRefactoringProvider threw an exception. System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeRefactorings.IRefactoringHelpersService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.GenerateOverrides.GenerateOverridesCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/GenerateOverrides/GenerateOverridesCodeRefactoringProvider.cs:line 34
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.370 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.EncapsulateField.EncapsulateFieldRefactoringProvider threw an exception. System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.EncapsulateField.IEncapsulateFieldService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.EncapsulateField.EncapsulateFieldRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/EncapsulateField/EncapsulateFieldRefactoringProvider.cs:line 21
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.370 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.OrganizeImports.OrganizeImportsCodeRefactoringProvider threw an exception. System.InvalidOperationException: Syntax tree is required to accomplish the task but is not supported by document ASSEMBLIES_Run_All_Rules.vb.
   at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.GetRequiredSyntaxRootAsync(Document document, CancellationToken cancellationToken) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/DocumentExtensions.cs:line 80
   at Microsoft.CodeAnalysis.OrganizeImports.OrganizeImportsCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/OrganizeImports/OrganizeImportsCodeRefactoringProvider.cs:line 70
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.370 [error] [textDocument/codeAction] [Visual Basic] [Global] Microsoft.CodeAnalysis.ImplementInterface.ImplementInterfaceCodeRefactoringProvider threw an exception. System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeRefactorings.IRefactoringHelpersService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.ImplementInterface.ImplementInterfaceCodeRefactoringProvider.ComputeRefactoringsAsync(CodeRefactoringContext context) in /_/src/Features/Core/Portable/ImplementInterface/ImplementInterfaceCodeRefactoringProvider.cs:line 26
   at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<<GetRefactoringFromProviderAsync>b__0>d.MoveNext() in /_/src/Features/Core/Portable/CodeRefactorings/CodeRefactoringService.cs:line 272
--- End of stack trace from previous location ---
   at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](IExtensionManager extensionManager, Object extension, Func`2 function, T defaultValue, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/ExtensionManager/IExtensionManagerExtensions.cs:line 80
2026-10-21 17:29:18.408 [error] [textDocument/codeLens] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.GetCodeLensAsync(TextDocumentIdentifier textDocumentIdentifier, Document document, IGlobalOptionService globalOptionService, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 59
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.HandleRequestAsync(CodeLensParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:18.410 [error] Request textDocument/codeLens failed.
  Message: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:29:18.457 [error] [textDocument/foldingRange] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.Structure.BlockStructureService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FoldingRangesHandler.GetFoldingRangesAsync(Document document, BlockStructureOptions options, Boolean lineFoldingOnly, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/FoldingRanges/FoldingRangesHandler.cs:line 76
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FoldingRangesHandler.HandleRequestAsync(FoldingRangeParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/FoldingRanges/FoldingRangesHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:18.458 [error] Request textDocument/foldingRange failed.
  Message: Service of type 'Microsoft.CodeAnalysis.Structure.BlockStructureService' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:29:18.663 [error] [textDocument/semanticTokens/range] [Visual Basic]  System.InvalidOperationException: Syntax tree is required to accomplish the task but is not supported by document ASSEMBLIES_Run_All_Rules.vb.
   at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.GetRequiredSyntaxRootAsync(Document document, CancellationToken cancellationToken) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/DocumentExtensions.cs:line 80
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.ComputeSemanticTokensDataAsync(Document document, ImmutableArray`1 spans, Boolean supportsVisualStudioExtensions, ClassificationOptions options, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 88
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.HandleRequestHelperAsync(Document document, ImmutableArray`1 spans, Boolean supportsVisualStudioExtensions, ClassificationOptions options, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 68
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.HandleRequestHelperAsync(IGlobalOptionService globalOptions, SemanticTokensRefreshQueue semanticTokensRefreshQueue, Range[] ranges, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 46
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensRangeHandler.HandleRequestAsync(SemanticTokensRangeParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensRangeHandler.cs:line 37
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:18.664 [error] Request textDocument/semanticTokens/range failed.
  Message: Syntax tree is required to accomplish the task but is not supported by document ASSEMBLIES_Run_All_Rules.vb.
  Code: -32000 
[object Object]
2026-10-21 17:29:20.319 [error] [textDocument/semanticTokens/range] [Visual Basic]  System.InvalidOperationException: Syntax tree is required to accomplish the task but is not supported by document ASSEMBLIES_Run_All_Rules.vb.
   at Microsoft.CodeAnalysis.Shared.Extensions.DocumentExtensions.GetRequiredSyntaxRootAsync(Document document, CancellationToken cancellationToken) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/DocumentExtensions.cs:line 80
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.ComputeSemanticTokensDataAsync(Document document, ImmutableArray`1 spans, Boolean supportsVisualStudioExtensions, ClassificationOptions options, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 88
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.HandleRequestHelperAsync(Document document, ImmutableArray`1 spans, Boolean supportsVisualStudioExtensions, ClassificationOptions options, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 68
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensHelpers.HandleRequestHelperAsync(IGlobalOptionService globalOptions, SemanticTokensRefreshQueue semanticTokensRefreshQueue, Range[] ranges, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensHelpers.cs:line 46
   at Microsoft.CodeAnalysis.LanguageServer.Handler.SemanticTokens.SemanticTokensRangeHandler.HandleRequestAsync(SemanticTokensRangeParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensRangeHandler.cs:line 37
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:20.321 [error] Request textDocument/semanticTokens/range failed.
  Message: Syntax tree is required to accomplish the task but is not supported by document ASSEMBLIES_Run_All_Rules.vb.
  Code: -32000 
[object Object]
2026-10-21 17:29:20.463 [error] [textDocument/codeLens] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.GetCodeLensAsync(TextDocumentIdentifier textDocumentIdentifier, Document document, IGlobalOptionService globalOptionService, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 59
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.HandleRequestAsync(CodeLensParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:29:20.464 [error] Request textDocument/codeLens failed.
  Message: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:30:12.245 [error] [textDocument/codeLens] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.GetCodeLensAsync(TextDocumentIdentifier textDocumentIdentifier, Document document, IGlobalOptionService globalOptionService, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 59
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.HandleRequestAsync(CodeLensParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:30:12.247 [error] Request textDocument/codeLens failed.
  Message: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:30:17.618 [error] [textDocument/codeLens] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.GetCodeLensAsync(TextDocumentIdentifier textDocumentIdentifier, Document document, IGlobalOptionService globalOptionService, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 59
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.HandleRequestAsync(CodeLensParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:30:17.620 [error] Request textDocument/codeLens failed.
  Message: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]
2026-10-21 17:30:22.906 [error] [textDocument/codeLens] [Visual Basic]  System.InvalidOperationException: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
   at Microsoft.CodeAnalysis.Host.HostLanguageServices.GetRequiredService[TLanguageService]() in /_/src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs:line 67
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.GetCodeLensAsync(TextDocumentIdentifier textDocumentIdentifier, Document document, IGlobalOptionService globalOptionService, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 59
   at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeLens.CodeLensHandler.HandleRequestAsync(CodeLensParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeLens/CodeLensHandler.cs:line 46
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 198
2026-10-21 17:30:22.907 [error] Request textDocument/codeLens failed.
  Message: Service of type 'Microsoft.CodeAnalysis.CodeLens.ICodeLensMemberFinder' is required to accomplish the task but is not available from 'MiscellaneousFiles' workspace.
  Code: -32000 
[object Object]

C# LSP Trace Logs log

Environment Information

VSCode version: 1.141.2
C# Extension: 2.160.4
Using OmniSharp: false

Dotnet Information .NET SDK: Version: 10.0.402 Commit: a8dd0577c5 Workload version: 10.0.400-manifests.6055ec36 MSBuild version: 18.9.15+a8dd0577c

Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.402\

.NET workloads installed:
[maui-windows]
Installation Source: VS 18.11.12315.225
Manifest Version: 10.0.110/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maui\10.0.110\WorkloadManifest.json
Install Type: Msi

[maccatalyst]
Installation Source: VS 18.11.12315.225
Manifest Version: 26.5.10315/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maccatalyst\26.5.10315\WorkloadManifest.json
Install Type: Msi

[ios]
Installation Source: VS 18.11.12315.225
Manifest Version: 26.5.10315/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.ios\26.5.10315\WorkloadManifest.json
Install Type: Msi

[android]
Installation Source: VS 18.11.12315.225
Manifest Version: 36.1.118/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.android\36.1.118\WorkloadManifest.json
Install Type: Msi

Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.13
Architecture: x64
Commit: 4099f83977

.NET SDKs installed:
10.0.402 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
askia-qexml-generator-extension Askia 1.0.1 askia.askia-qexml-generator-extension-1.0.1
csdevkit ms-dotnettools 3.40.210 ms-dotnettools.csdevkit-3.40.210-win32-x64
csharp ms-dotnettools 2.160.4 ms-dotnettools.csharp-2.160.4-win32-x64
debugpy ms-python 2026.6.0 ms-python.debugpy-2026.6.0-win32-x64
python ms-python 2026.10.0 ms-python.python-2026.10.0-win32-x64
vscode-dotnet-runtime ms-dotnettools 3.2.0 ms-dotnettools.vscode-dotnet-runtime-3.2.0
vscode-pylance ms-python 2026.4.1 ms-python.vscode-pylance-2026.4.1
vscode-python-envs ms-python 1.40.0 ms-python.vscode-python-envs-1.40.0-win32-x64
xml2json buianhthang 1.2.5 buianhthang.xml2json-1.2.5
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700K (24 x 3418)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0xa780 [Intel(R) UHD Graphics 770], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7088 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x2571 [NVIDIA RTX A2000 12GB], DRIVER_VERSION=32.0.15.9651
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.22621.4249
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.63GB (52.10GB free)
Process Argv --crash-reporter-id 596d879d-ef95-4117-ae8b-179807cd6aa5
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
control_6dc23131:31590236
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
githubstableflight:31469463
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
608b4df9:31595861
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
748c7209:31512887
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31602494
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
atk_rai_validation_enable:31598258
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31602001
intellij_nes_preview_t:31580086
multiv2:31574985
links-treatment:31596176
aw-autom-on:31583758
issue9151-7215f35b:31597540
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31599810
9b7i0944:31600022
skill-budget-30000:31597277
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
welcomesignin9359t:31602106
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31602109
d6a5dc66-a24d-4215-bf31-317b28ac768a:31603712
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
msft-auth-on:31593345
variation7-original-dismiss:31600297

主要言語
TypeScript
スター
3.1k
フォーク
740
平均マージ
1日 4時間
マージ済み PR(30日)
51

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/vscode-csharp のほかの issue

dotnet/vscode-csharp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。