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