mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
18 lines
437 B
Plaintext
18 lines
437 B
Plaintext
import semmle.code.csharp.Conversion
|
|
|
|
from Type sub, Type sup, string s1, string s2
|
|
where
|
|
convConversionOperator(sub, sup) and
|
|
sub != sup and
|
|
s1 = sub.toString() and
|
|
s2 = sup.toString() and
|
|
/*
|
|
* Remove certain results to make the test output consistent
|
|
* between different versions of .NET Core.
|
|
*/
|
|
|
|
s2 != "FormatParam" and
|
|
s2 != "StringOrCharArray" and
|
|
s2 != "EventSourceActivity"
|
|
select s1, s2 order by s1, s2
|