Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ namespace Roslyn.LanguageServer.Protocol;
/// <summary>
/// Class representing a unicode character class for completion continuation.
/// </summary>
[Kind(Type, "_vs_type")]
internal sealed class VSInternalContinueCharacterClass
{
public const string Type = "unicodeClass";

/// <summary>
/// Gets the type value.
/// </summary>
[JsonPropertyName("_vs_type")]
[JsonRequired]
public const string Type = "unicodeClass";
[JsonInclude]
internal string TypeDiscriminator = Type;

/// <summary>
/// Gets or sets the unicode class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ namespace Roslyn.LanguageServer.Protocol;
/// <summary>
/// Class representing range of characters for completion continuation.
/// </summary>
[Kind(Type, "_vs_type")]
internal sealed class VSInternalContinueCharacterRange
{
public const string Type = "charRange";

/// <summary>
/// Gets the type value.
/// </summary>
[JsonPropertyName("_vs_type")]
[JsonRequired]
public const string Type = "charRange";
[JsonInclude]
internal string TypeDiscriminator = Type;

/// <summary>
/// Gets or sets the first completion character of the range.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ namespace Roslyn.LanguageServer.Protocol;
/// <summary>
/// Class representing single continue character for completion.
/// </summary>
[Kind(Type, "_vs_type")]
internal sealed class VSInternalContinueCharacterSingle
{
public const string Type = "singleChar";

/// <summary>
/// Gets the type value.
/// </summary>
[JsonPropertyName("_vs_type")]
[JsonRequired]
public const string Type = "singleChar";
[JsonInclude]
internal string TypeDiscriminator = Type;

/// <summary>
/// Gets or sets the completion character.
Expand Down
Loading