Skip to content

Commit 3752418

Browse files
committed
C#: Invoke the extractor after the compiler to ensure that source generators have been executed.
1 parent 73a7416 commit 3752418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/tools/tracing-config.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function RegisterExtractorPack(id)
183183
MsBuildMatcher,
184184
CreatePatternMatcher({ '^csc.*%.exe$' }, MatchCompilerName, extractor, {
185185
prepend = { '--compiler', '"${compiler}"' },
186-
order = ORDER_BEFORE
186+
order = ORDER_AFTER
187187
}),
188188
CreatePatternMatcher({ '^fakes.*%.exe$', 'moles.*%.exe' },
189189
MatchCompilerName, nil, { trace = false }),
@@ -224,7 +224,7 @@ function RegisterExtractorPack(id)
224224
CreatePatternMatcher({ '^mcs%.exe$', '^csc%.exe$', '^csc$' }, MatchCompilerName,
225225
extractor, {
226226
prepend = { '--compiler', '${compiler}' },
227-
order = ORDER_BEFORE
227+
order = ORDER_AFTER
228228
}),
229229
MsBuildMatcher,
230230
function(compilerName, compilerPath, compilerArguments, _languageId)

0 commit comments

Comments
 (0)