mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C#: Adjust locations for the parameter default value tests.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import csharp
|
||||
|
||||
private predicate fromTestLocation(Element e) {
|
||||
e.fromSource() or e.getFile().getStem() = "Parameters"
|
||||
e.fromSource() and
|
||||
e.getFile().getBaseName() = ["Parameters.cs", "LambdaParameters.cs"]
|
||||
or
|
||||
e.getFile().getStem() = "Parameters"
|
||||
}
|
||||
|
||||
private predicate compilerGeneratedAttribute(Parameterizable container) {
|
||||
|
||||
Reference in New Issue
Block a user