dotnet / dotnet/roslynator

Refactor request: Convert to explicit implementation

Open
#241 0 comments 0 reactions 0 assignees View on GitHub
Area-Refactorings Feature Request
Dominant language
C#
Stars
3.5k
Forks
294
Avg merge
2h 30m
Merged PRs (30d)
4

Description

Please provide a refactor to convert implicit interface implementation to explicit implementation.
````C#
interface ITest {
void Test();
}
class A : ITest {
public void Test() {}
}
````
The `Test` method in class `A` can be refactored to
````C#
void ITest.Test() {}
````

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by searching the repository for the C# refactoring implementation and any tests covering interface members. Done means the shown implicit ITest.Test implementation can be converted to an explicit ITest.Test implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.