github / github/codeql

Redundant ToString() call - false positive

Open
#7,935 1 comment 0 reactions 0 assignees View on GitHub
C# false-positive not security
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.