diff --git a/src/LanguageServer/Protocol/Protocol/IPartialResultParams.cs b/src/LanguageServer/Protocol/Protocol/IPartialResultParams.cs index e21b13450804..61db86ddda7b 100644 --- a/src/LanguageServer/Protocol/Protocol/IPartialResultParams.cs +++ b/src/LanguageServer/Protocol/Protocol/IPartialResultParams.cs @@ -20,6 +20,7 @@ internal interface IPartialResultParams /// An instance that can be used to report partial results /// via the $/progress notification. /// + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName(Methods.PartialResultTokenName)] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public IProgress? PartialResultToken { get; set; } diff --git a/src/LanguageServer/Protocol/Protocol/IStaticRegistrationOptions.cs b/src/LanguageServer/Protocol/Protocol/IStaticRegistrationOptions.cs index 8a6efa81edca..4411c446a28e 100644 --- a/src/LanguageServer/Protocol/Protocol/IStaticRegistrationOptions.cs +++ b/src/LanguageServer/Protocol/Protocol/IStaticRegistrationOptions.cs @@ -17,6 +17,7 @@ internal interface IStaticRegistrationOptions /// /// Gets or sets the id used to register the request. The id can be used to deregister the request again. /// + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName("id")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public string? Id { get; set; } diff --git a/src/LanguageServer/Protocol/Protocol/ITextDocumentParams.cs b/src/LanguageServer/Protocol/Protocol/ITextDocumentParams.cs index 072b1297de8b..6f271165befe 100644 --- a/src/LanguageServer/Protocol/Protocol/ITextDocumentParams.cs +++ b/src/LanguageServer/Protocol/Protocol/ITextDocumentParams.cs @@ -14,6 +14,7 @@ internal interface ITextDocumentParams /// /// The identifier of the document. /// + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName("textDocument")] [JsonRequired] public TextDocumentIdentifier TextDocument { get; } diff --git a/src/LanguageServer/Protocol/Protocol/ITextDocumentPositionParams.cs b/src/LanguageServer/Protocol/Protocol/ITextDocumentPositionParams.cs index 5d4cb0509cd4..a567a5b949ab 100644 --- a/src/LanguageServer/Protocol/Protocol/ITextDocumentPositionParams.cs +++ b/src/LanguageServer/Protocol/Protocol/ITextDocumentPositionParams.cs @@ -17,6 +17,7 @@ internal interface ITextDocumentPositionParams : ITextDocumentParams /// /// The position within the document. /// + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName("position")] [JsonRequired] public Position Position { get; set; } diff --git a/src/LanguageServer/Protocol/Protocol/ITextDocumentRegistrationOptions.cs b/src/LanguageServer/Protocol/Protocol/ITextDocumentRegistrationOptions.cs index d3a6424880b6..22fa3f67e4da 100644 --- a/src/LanguageServer/Protocol/Protocol/ITextDocumentRegistrationOptions.cs +++ b/src/LanguageServer/Protocol/Protocol/ITextDocumentRegistrationOptions.cs @@ -18,6 +18,7 @@ internal interface ITextDocumentRegistrationOptions /// A document selector to identify the scope of the registration. If set to /// the document selector provided on the client side will be used. /// + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName("documentSelector")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public DocumentFilter[]? DocumentSelector { get; set; } diff --git a/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressOptions.cs b/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressOptions.cs index d130861d2488..4dfd193f32bf 100644 --- a/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressOptions.cs +++ b/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressOptions.cs @@ -19,6 +19,7 @@ internal interface IWorkDoneProgressOptions /// /// /// Since LSP 3.15 + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName("workDoneProgress")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)] public bool WorkDoneProgress { get; init; } diff --git a/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressParams.cs b/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressParams.cs index c3af55716512..1be9c0613a34 100644 --- a/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressParams.cs +++ b/src/LanguageServer/Protocol/Protocol/IWorkDoneProgressParams.cs @@ -23,6 +23,7 @@ internal interface IWorkDoneProgressParams /// /// /// Since LSP 3.15 + // NOTE: these JSON attributes are not inherited, they are here as a reference for implementations [JsonPropertyName(Methods.WorkDoneTokenName)] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public IProgress? WorkDoneToken { get; set; }