mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Invoke the extractor after the compiler to ensure that source generators have been executed.
This commit is contained in:
@@ -183,7 +183,7 @@ function RegisterExtractorPack(id)
|
|||||||
MsBuildMatcher,
|
MsBuildMatcher,
|
||||||
CreatePatternMatcher({ '^csc.*%.exe$' }, MatchCompilerName, extractor, {
|
CreatePatternMatcher({ '^csc.*%.exe$' }, MatchCompilerName, extractor, {
|
||||||
prepend = { '--compiler', '"${compiler}"' },
|
prepend = { '--compiler', '"${compiler}"' },
|
||||||
order = ORDER_BEFORE
|
order = ORDER_AFTER
|
||||||
}),
|
}),
|
||||||
CreatePatternMatcher({ '^fakes.*%.exe$', 'moles.*%.exe' },
|
CreatePatternMatcher({ '^fakes.*%.exe$', 'moles.*%.exe' },
|
||||||
MatchCompilerName, nil, { trace = false }),
|
MatchCompilerName, nil, { trace = false }),
|
||||||
@@ -224,7 +224,7 @@ function RegisterExtractorPack(id)
|
|||||||
CreatePatternMatcher({ '^mcs%.exe$', '^csc%.exe$', '^csc$' }, MatchCompilerName,
|
CreatePatternMatcher({ '^mcs%.exe$', '^csc%.exe$', '^csc$' }, MatchCompilerName,
|
||||||
extractor, {
|
extractor, {
|
||||||
prepend = { '--compiler', '${compiler}' },
|
prepend = { '--compiler', '${compiler}' },
|
||||||
order = ORDER_BEFORE
|
order = ORDER_AFTER
|
||||||
}),
|
}),
|
||||||
MsBuildMatcher,
|
MsBuildMatcher,
|
||||||
function(compilerName, compilerPath, compilerArguments, _languageId)
|
function(compilerName, compilerPath, compilerArguments, _languageId)
|
||||||
|
|||||||
Reference in New Issue
Block a user