Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null literal does not work #12

Open
FlorianDecker opened this issue Oct 2, 2017 · 0 comments
Open

Null literal does not work #12

FlorianDecker opened this issue Oct 2, 2017 · 0 comments

Comments

@FlorianDecker
Copy link
Contributor

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);
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant