Skip to content

Commit aed6a75

Browse files
authored
Merge pull request github#13420 from tamasvajk/feature/standalone-mscorlib
C#: Make sure System.Private.CoreLib is added only once as a reference in standalone extraction
2 parents 798f388 + cdf1c26 commit aed6a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/BuildAnalysis.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ public BuildAnalysis(Options options, IProgressMonitor progress)
120120
UseReference(filename);
121121
}
122122

123-
ResolveConflicts();
124-
125123
if (options.UseMscorlib)
126124
{
127125
UseReference(typeof(object).Assembly.Location);
128126
}
129127

128+
ResolveConflicts();
129+
130130
// Output the findings
131131
foreach (var r in usedReferences.Keys)
132132
{

0 commit comments

Comments
 (0)