Skip to content

Commit 793e3db

Browse files
committed
C#: Change compilation settings to include all non-public symbols
1 parent 8e6dd51 commit 793e3db

File tree

1 file changed

+4
-3
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp/Extractor

1 file changed

+4
-3
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,10 @@ private static ExitCode AnalyseTracing(
416416
compilerArguments.CompilationName,
417417
syntaxTrees,
418418
references,
419-
compilerArguments.CompilationOptions.
420-
WithAssemblyIdentityComparer(DesktopAssemblyIdentityComparer.Default).
421-
WithStrongNameProvider(new DesktopStrongNameProvider(compilerArguments.KeyFileSearchPaths))
419+
compilerArguments.CompilationOptions
420+
.WithAssemblyIdentityComparer(DesktopAssemblyIdentityComparer.Default)
421+
.WithStrongNameProvider(new DesktopStrongNameProvider(compilerArguments.KeyFileSearchPaths))
422+
.WithMetadataImportOptions(MetadataImportOptions.All)
422423
);
423424
},
424425
(compilation, options) => analyser.EndInitialize(compilerArguments, options, compilation),

0 commit comments

Comments
 (0)