github / github/codeql

Redundant ToString() call - false positive

Offen
#7,935 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
C# false-positive not security
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

CodeQL scanning results: https://github.com/graphql-dotnet/parser/security/code-scanning/142?query=ref%3Arefs%2Fheads%2Fmaster

Recommendation - Remove the redundant call to ToString - could not be done, because code does not compile. Today you should use `ToString()` for `ref structs`.

More info: fix from roslyn https://github.com/dotnet/roslyn/issues/42936

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.