This analyzer allows you to pull through documentation from a base class or interface member for a method or property. It also gives the option to insert <inheritdoc>.
This extension provides an analyzer with code fix that gives you the opportunity to pull through documentation from a base class or interface member. For example, if you have this interface:
interface IMyInterface
{
/// <summary>
/// This method does something
/// </summary>
void DoSomething();
}
And this class:
class MyClass : IMyInterface
{
public void DoSomething();
}
The code fix will allow you to pull through the documentation from the interface declaration to the class, resulting in this:
class MyClass : IMyInterface
{
/// <summary>
/// This method does something
/// </summary>
public void DoSomething();
}
Alternatively, it will give the option to insert <inheritdoc/> instead (or even switch between the two):
class MyClass : IMyInterface
{
/// <inheritdoc/>
public void DoSomething();
}