2 instantiations of DebugInfo
System.Linq.Expressions (2)
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
230var d = new DebugInfo { Index = index }; 2550var info = new DebugInfo()
18 references to DebugInfo
System.Linq.Expressions (18)
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (2)
55public DebugInfo? GetDebugInfo(int instructionIndex) 57return DebugInfo.GetMatchingDebugInfo(Interpreter._debugInfos, instructionIndex);
System\Linq\Expressions\Interpreter\Interpreter.cs (2)
26internal readonly DebugInfo[] _debugInfos; 28internal Interpreter(string? name, LocalVariables locals, InstructionArray instructions, DebugInfo[] debugInfos)
System\Linq\Expressions\Interpreter\LightCompiler.cs (14)
215private sealed class DebugInfoComparer : IComparer<DebugInfo> 218int IComparer<DebugInfo>.Compare(DebugInfo? d1, DebugInfo? d2) 227public static DebugInfo? GetMatchingDebugInfo(DebugInfo[] debugInfos, int index) 230var d = new DebugInfo { Index = index }; 234int i = Array.BinarySearch<DebugInfo>(debugInfos, d, s_debugComparer); 268private readonly DebugInfo? _debugInfo; 270public InterpretedFrameInfo(string? methodName, DebugInfo? info) 284private readonly List<DebugInfo> _debugInfos = new List<DebugInfo>(); 336DebugInfo[] debugInfos = _debugInfos.ToArray(); 2550var info = new DebugInfo()