Browse Source

decompiled code is never compiler generated (as seen by the debugger)

newNRILSpyDebugger
Siegfried Pammer 12 years ago
parent
commit
cd762f8789
  1. 3
      src/AddIns/DisplayBindings/ILSpyAddIn/ILSpySymbolSource.cs

3
src/AddIns/DisplayBindings/ILSpyAddIn/ILSpySymbolSource.cs

@ -20,8 +20,7 @@ namespace ICSharpCode.ILSpyAddIn
public bool IsCompilerGenerated(IMethod method) public bool IsCompilerGenerated(IMethod method)
{ {
var symbols = GetSymbols(method); return false;
return symbols == null || symbols.SequencePoints.Count == 0;
} }
public static MethodDebugSymbols GetSymbols(IMethod method) public static MethodDebugSymbols GetSymbols(IMethod method)

Loading…
Cancel
Save