Tim Pohlmann

Results 29 issues of Tim Pohlmann

Things to improve in regards to MethodParameterLookup: - Creation happens via constructors and factory methods, should be stream lined to only factory methods. - TryGetSyntax takes a IParameterSymbol turns it...

Area: C#
Type: Cleanup

I run the app. Chromium opens. I accept all cookies. I successfully log in to Patreon. Nothing happens. The browser just stays open and the app doesn't do anything.

Fixes #347 This does not support interpolation for raw string literals but it stops them from breaking the colorization.

![image](https://github.com/tomasr/viasfora/assets/20153123/ec3fc98b-39ec-44c5-baac-aa9d6770278a) I believe that the [logic for regular interpolated](https://github.com/tomasr/viasfora/blob/master/src/Viasfora.Languages/BraceScanners/CSharpBraceScanner.cs#L76) strings is triggered.

S3949 sometimes raises correctly but displays an unexpected message: SharpCompress, calculation should overflow https://peach.sonarsource.com/project/issues?issues=AYhYE7x5QoC5xPbepmXD&open=AYhYE7x5QoC5xPbepmXD&id=sharpcompress DNSpy, calculation should overflow https://peach.sonarsource.com/project/issues?issues=AYhYQi4YJyrB-6CFNbnr&open=AYhYQi4YJyrB-6CFNbnr&id=dnspy

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

Concurrent code can easily cause FPs in our symbolic execution engine. E.g.: ```csharp class ErrorLogger { public Queue Queue { get; set; } public async Task Start() { Queue =...

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

```csharp void Method(List list) { _ = list.Where(x => true); // FN } ``` S3900 should re-use the list of known LINQ methods introduced in #9414 to raise in cases...

Type: False Negative
Area: CFG/SE
Area: VB.NET
Area: C#

Using a [collection initializer](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/object-and-collection-initializers) with the [`ImmutableArray`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.immutable.immutablearray?view=net-8.0) type, causes a `NullReferenceException`. ```csharp _ = new ImmutableArray { "init" }; // NRE ``` [SharpLab](https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAIAYAEqCMA6AYQHsAbEgUwGNgBLIqAZzwEkBbViYAQwCMKBuALAAoEQH1MAXkxRyAd0xsO3PuQCCYMFwCeAHlzoAfJgDemAEQ0oNYOcwBffpgD0zzADkASgFEgA==)

Area: C#
Type: Rule Idea

Nesting a [collection initializer](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/object-and-collection-initializers) inside an object initializer can have unexpected side effects or lead to crashes: ```csharp var x = new Evil { Arguments = { "two", "three" }...

Area: C#
Type: Rule Idea