This rule only fires on publicly visible interfaces.
The following example demonstrates a violation of this rule:
using System;
namespace NamingLibrary
{
public interface MyInterface // Violates IdentifiersShouldHaveCorrectPrefix
{
}
public interface IsolatedInterface // Violates IdentifiersShouldHaveCorrectPrefix
{
}
public interface IIsolatedInterface // Does not violate IdentifiersShouldHaveCorrectPrefix
{ }
internal interface AnotherInterface // Does not violate IdentifiersShouldHaveCorrectPrefix
{
}
}