Pavel Mikula

Results 65 issues of Pavel Mikula

Improve CI performance. We do not use `netstandard2.0` builds and we do not ship them. So we don't need to wait for them to be build and analyzed.

Improve implementation of S2259 on the new SE to fully migrate the rule to the new engine. Required scaffolding was done in #5862

Type: Improvement
Area: CFG/SE
Area: C#

### History Issue with documentation tags was originally reported and fixed in #2694 with a simple reproducer: ```C# using System; // Compliant, used by cref. namespace SonarAnalyzer.Experiments.CSharp { public enum...

Type: False Positive
Area: C#

### Description As reported on [this community thread](https://community.sonarsource.com/t/c-missing-simple-possible-null-references/22784) Linq `FirstOrDefault()` extension methods does not trigger S2259 "'item' is null on at least one execution path." All OrDefault Linq extensions should...

Type: False Negative
Area: CFG/SE
Area: C#

An issue on peach: https://peach.sonarsource.com/issues?open=AXoJkYeoXaALAbC4wYt6&rules=csharpsquid%3AS2259&statuses=CLOSED Has history like this: ``` November 21, 2021, 1:12 AM Resolution removed (was FIXED)Status changed to OPEN (was CLOSED) November 21, 2021, 1:49 AM Resolution...

Type: Improvement
Area: CFG/SE
Area: C#

Symbolic Execution: SwitchArms of C# 8 switch statements does not build constraints for their symbolic value. Basic constraints for simple cases (true / false literals, non-null constraints) should be added....

Type: Improvement
Area: CFG/SE
Area: C#8

For purpose of development, the Sonar SE engine is used as default. We need to switch it to Roslyn. Or maybe consider using both engines together in case we don't...

Type: Improvement
Area: CFG/SE
Area: C#

Implement S2259 for VB.NET. This rule will be available only for MsBuild 16+ and VS2019+

Type: New Feature
Area: CFG/SE
Area: VB.NET

Similar to #5860, we need to learn null constraints from branching ``` if(arg is {} value) // here, we know that arg is not null else // here, we know...

Type: Improvement
Area: CFG/SE
Area: VB.NET
Area: C#

This snippet ``` public class SomeException : Exception { } ``` produces >S3925 Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. There are 9 different things...

Type: Improvement
Area: C#