mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C#: Inline out variable declarations
This commit is contained in:
@@ -69,8 +69,11 @@ namespace Semmle.Extraction.PDB
|
||||
|
||||
try
|
||||
{
|
||||
string pdbPath;
|
||||
if (peReader.TryOpenAssociatedPortablePdb(assemblyPath, s => new FileStream(s, FileMode.Open, FileAccess.Read, FileShare.Read), out provider, out pdbPath))
|
||||
if (peReader.TryOpenAssociatedPortablePdb(
|
||||
assemblyPath,
|
||||
s => new FileStream(s, FileMode.Open, FileAccess.Read, FileShare.Read),
|
||||
out provider,
|
||||
out _))
|
||||
{
|
||||
return new MetadataPdbReader(provider);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user