internal void MethodEight(Something.Bar f) // Noncompliant {{Consider using more general type 'Something.IFoo' instead of 'Something.Bar'.}} { var x = f.IsFoo; }
protected void MethodSix(Something.Bar f) // Noncompliant {{Consider using more general type 'Something.Foo' instead of 'Something.Bar'.}} { var x = f.IsFoo; }
private void MethodSeven(Something.Bar f) // Noncompliant {{Consider using more general type 'Something.IFoo' instead of 'Something.Bar'.}} { var x = f.IsFoo; }
public void MethodFive(Something.Bar f) // Noncompliant {{Consider using more general type 'Something.Foo' instead of 'Something.Bar'.}} { var x = f.IsFoo; }