Skip to content

Commit 1b88ce9

Browse files
Docs
1 parent e317cb5 commit 1b88ce9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/LanguageServer/Protocol/Handler/Extensions/ExtensionMessageResponse.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ namespace Microsoft.CodeAnalysis.LanguageServer.Handler.Extensions;
99
/// <summary>
1010
/// Return type for the roslyn/extensionWorkspaceMessage and roslyn/extensionDocumentMessage request.
1111
/// </summary>
12-
/// <param name="Response">Json response returned by the extension message handler.</param>
12+
/// <param name="Response">Json response returned by the extension message handler. Can be <see langword="null"/> if the
13+
/// extension was unloaded concurrently with the response being issued, or if the extension threw an exception while
14+
/// processing.</param>
1315
internal readonly record struct ExtensionMessageResponse(
1416
[property: JsonPropertyName("response"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] string? Response,
1517
[property: JsonPropertyName("extensionWasUnloaded"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)] bool ExtensionWasUnloaded,

0 commit comments

Comments
 (0)