C#: Adjust locations for the parameter default value tests.

This commit is contained in:
Michael Nebel
2024-02-23 15:11:51 +01:00
parent 4bbaf687ad
commit d8bff14365

View File

@@ -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) {