C#: Inline out variable declarations

This commit is contained in:
Tamas Vajk
2020-10-02 11:04:25 +02:00
parent f2e6b42aa4
commit ec63acfb0c
10 changed files with 25 additions and 30 deletions

View File

@@ -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);
}