Skip to content

Commit a865562

Browse files
committed
Fix some typos
1 parent 016be20 commit a865562

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/LanguageServer/Protocol/Handler/Diagnostics/PullDiagnosticCategories.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal static class PullDiagnosticCategories
1616
/// <summary>
1717
/// Edit and Continue diagnostics. Can be for Document or Workspace pull requests.
1818
/// </summary>
19-
public static readonly string EditAndContinue = VSInternalDiagnosticKind.EditAndContiue.Value;
19+
public static readonly string EditAndContinue = VSInternalDiagnosticKind.EditAndContinue.Value;
2020

2121
// Workspace categories
2222

src/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<RestrictedInternalsVisibleTo Include="Microsoft.CodeAnalysis.Remote.Razor" Namespace="Roslyn.Text.Adornments" Partner="Razor" Key="$(RazorKey)" />
4646
<RestrictedInternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Razor" Namespace="Roslyn.LanguageServer.Protocol" Partner="Razor" Key="$(RazorKey)" />
4747
<RestrictedInternalsVisibleTo Include="rzls" Namespace="Roslyn.LanguageServer.Protocol" Partner="Razor" Key="$(RazorKey)" />
48-
<!-- Restricted IVT for protocol types for Razor tests and other non shipping ocde -->
48+
<!-- Restricted IVT for protocol types for Razor tests and other non shipping code -->
4949
<RestrictedInternalsVisibleTo Include="Microsoft.AspNetCore.Razor.Microbenchmarks" Namespace="Roslyn.LanguageServer.Protocol" Partner="Razor" Key="$(RazorKey)" />
5050
<RestrictedInternalsVisibleTo Include="Microsoft.AspNetCore.Razor.LanguageServer.Test" Namespace="Roslyn.LanguageServer.Protocol" Partner="Razor" Key="$(RazorKey)" />
5151
<RestrictedInternalsVisibleTo Include="Microsoft.AspNetCore.Razor.LanguageServer.Test" Namespace="Roslyn.Text.Adornments" Partner="Razor" Key="$(RazorKey)" />

src/LanguageServer/Protocol/Protocol/Internal/Diagnostics/VSInternalDiagnosticKind.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

@@ -22,6 +22,7 @@ internal readonly record struct VSInternalDiagnosticKind(string Value) : IString
2222
/// <summary>
2323
/// Edit and Continue diagnostic kind.
2424
/// </summary>
25+
public static readonly VSInternalDiagnosticKind EditAndContinue = new("enc");
2526

2627
/// <summary>
2728
/// Syntax diagnostic kind.

0 commit comments

Comments
 (0)