Skip to content

Commit 5b92168

Browse files
authored
Remove accessibility modifiers from interface members (#11472)
Fixes build errors in dotnet/sdk#46633
2 parents 0adfd39 + 6547454 commit 5b92168

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/AutoInsert/IOnAutoInsertProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.CodeAnalysis.Razor.AutoInsert;
99

1010
internal interface IOnAutoInsertProvider : IOnAutoInsertTriggerCharacterProvider
1111
{
12-
public bool TryResolveInsertion(
12+
bool TryResolveInsertion(
1313
Position position,
1414
RazorCodeDocument codeDocument,
1515
bool enableAutoClosingTags,

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Completion/Delegation/IDelegatedCSharpCompletionResponseRewriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Razor.Completion.Delegation;
1010

1111
internal interface IDelegatedCSharpCompletionResponseRewriter
1212
{
13-
public Task<VSInternalCompletionList> RewriteAsync(
13+
Task<VSInternalCompletionList> RewriteAsync(
1414
VSInternalCompletionList completionList,
1515
int hostDocumentIndex,
1616
DocumentContext hostDocumentContext,

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/IFileSystem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ namespace Microsoft.CodeAnalysis.Razor.Workspaces;
88

99
internal interface IFileSystem
1010
{
11-
public IEnumerable<string> GetFiles(string workspaceDirectory, string searchPattern, SearchOption searchOption);
11+
IEnumerable<string> GetFiles(string workspaceDirectory, string searchPattern, SearchOption searchOption);
1212

13-
public IEnumerable<string> GetDirectories(string workspaceDirectory);
13+
IEnumerable<string> GetDirectories(string workspaceDirectory);
1414

1515
bool FileExists(string filePath);
1616

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Protocol/IDelegatedParams.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ namespace Microsoft.CodeAnalysis.Razor.Protocol;
88
/// </summary>
99
internal interface IDelegatedParams
1010
{
11-
public TextDocumentIdentifierAndVersion Identifier { get; }
12-
public RazorLanguageKind ProjectedKind { get; }
11+
TextDocumentIdentifierAndVersion Identifier { get; }
12+
RazorLanguageKind ProjectedKind { get; }
1313
}

0 commit comments

Comments
 (0)