Skip to content

Commit fd69b21

Browse files
move up
1 parent 38e7dac commit fd69b21

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

src/Features/Core/Portable/CodeRefactorings/SyncNamespace/AbstractChangeNamespaceService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Microsoft.CodeAnalysis.ChangeNamespace;
3434
/// <summary>
3535
/// This intermediate class is used to hide method `TryGetReplacementReferenceSyntax` from <see cref="IChangeNamespaceService" />.
3636
/// </summary>
37-
internal abstract class AbstractChangeNamespaceService : IChangeNamespaceService
37+
internal abstract partial class AbstractChangeNamespaceService : IChangeNamespaceService
3838
{
3939
public abstract Task<bool> CanChangeNamespaceAsync(Document document, SyntaxNode container, CancellationToken cancellationToken);
4040

src/Features/Core/Portable/CodeRefactorings/SyncNamespace/LocationForAffectedSymbol.cs

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,9 @@
66

77
namespace Microsoft.CodeAnalysis.ChangeNamespace;
88

9-
internal abstract partial class AbstractChangeNamespaceService<
10-
TCompilationUnitSyntax,
11-
TMemberDeclarationSyntax,
12-
TNamespaceDeclarationSyntax,
13-
TNameSyntax,
14-
TSimpleNameSyntax,
15-
TCrefSyntax> where TCompilationUnitSyntax : SyntaxNode
16-
where TMemberDeclarationSyntax : SyntaxNode
17-
where TNamespaceDeclarationSyntax : TMemberDeclarationSyntax
18-
where TNameSyntax : SyntaxNode
19-
where TSimpleNameSyntax : TNameSyntax
20-
where TCrefSyntax : SyntaxNode
9+
internal abstract partial class AbstractChangeNamespaceService
2110
{
22-
private readonly struct LocationForAffectedSymbol(ReferenceLocation location, bool isReferenceToExtensionMethod)
11+
protected readonly struct LocationForAffectedSymbol(ReferenceLocation location, bool isReferenceToExtensionMethod)
2312
{
2413
public ReferenceLocation ReferenceLocation { get; } = location;
2514

0 commit comments

Comments
 (0)