This project has moved. For the latest updates, please go here.
1
Vote

Null literal does not work

description

The following snippet should not raise a warning since null literal is used.
class HandlingOfLiterals
{
  public string Foo([Fragment("CustomType")] int? parameter){  }

  public void NoWarningsRaised()
  {
    Foo(null);
  }
}

comments