We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 392957e commit 2118d87Copy full SHA for 2118d87
NetcodePatcher/CodeGen/CompiledAssemblyFromFile.cs
@@ -46,14 +46,14 @@ public byte[] ReadPdb(FileStream peStream)
46
47
var pdbReader = pdbReaderProvider!.GetMetadataReader();
48
49
- if (pdbPath != _assemblyPath)
+ if (pdbPath is null)
50
{
51
- Log.Information("Found debug info : ({PdbFileName})", Path.GetFileName(pdbPath));
+ Log.Information("Found embedded debug info : ({AssemblyName})", assemblyName);
52
+ DebugSymbolsAreEmbedded = true;
53
}
54
else
55
- Log.Information("Found embedded debug info : ({AssemblyName})", assemblyName);
56
- DebugSymbolsAreEmbedded = true;
+ Log.Information("Found debug info : ({PdbFileName})", Path.GetFileName(pdbPath));
57
58
59
return pdbReader.ReadAllBytes();
0 commit comments