mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Merge pull request #6913 from tamasvajk/feature/improve-stubbing
C#: Remove cartesian product in stubbing (GeneratedType::getStub)
This commit is contained in:
@@ -128,6 +128,7 @@ abstract private class GeneratedType extends Type, GeneratedElement {
|
||||
/** Gets the entire C# stub code for this type. */
|
||||
pragma[nomagic]
|
||||
final string getStub(Assembly assembly) {
|
||||
this.isInAssembly(assembly) and
|
||||
if this.isDuplicate(assembly)
|
||||
then
|
||||
result =
|
||||
|
||||
Reference in New Issue
Block a user