Stylecopanalyzers: SA1011 false positive, C#8.0 and NullableContextOptions when used with arrays.

Created on 4 Apr 2019  路  3Comments  路  Source: DotNetAnalyzers/StyleCopAnalyzers

An example:

byte[]? data = null; // SA1011 Closing Bracket should be followed by a space
byte[] ? data = null; // SA1018 Nullable type symbol should not be preceded by a space

I think SA1011 is a false positive.

bug c# 8 fixed

Most helpful comment

Any chance of a stable release with this in it so we can upgrade? :)

All 3 comments

Any chance of a stable release with this in it so we can upgrade? :)

@csMACnz you can reference the StyleCop.Analyzers.Unstable package if you need a build without "beta" in the version number.

Sneaky. But still a beta release, right?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kindermannhubert picture kindermannhubert  路  6Comments

arashk1368 picture arashk1368  路  4Comments

DirtyPiece picture DirtyPiece  路  7Comments

Genarij picture Genarij  路  7Comments

iron9light picture iron9light  路  4Comments