5 instantiations of ILSpan
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (5)
ILSpan.cs (1)
14
public static readonly ILSpan MaxValue = new
ILSpan
(0, uint.MaxValue);
MethodContextReuseConstraints.cs (1)
87
return new
ILSpan
(_startOffset, _endOffsetExclusive);
PDB\MethodDebugInfo.cs (1)
92
HoistedLocalScopeRecords.Select(record => new
ILSpan
((uint)record.StartOffset, (uint)(record.StartOffset + record.Length))));
PDB\MethodDebugInfo.Native.cs (1)
627
scopes.Select(scope => new
ILSpan
((uint)scope.GetStartOffset(), (uint)(scope.GetEndOffset() + (isEndInclusive ? 1 : 0)))));
PDB\MethodDebugInfo.Portable.cs (1)
225
reuseSpan = new
ILSpan
(reuseSpanStart, reuseSpanEnd);
21 references to ILSpan
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (21)
ILSpan.cs (5)
12
internal readonly struct ILSpan : IEquatable<
ILSpan
>
14
public static readonly
ILSpan
MaxValue = new ILSpan(0, uint.MaxValue);
28
public bool Equals(
ILSpan
other) => StartOffset == other.StartOffset && EndOffsetExclusive == other.EndOffsetExclusive;
29
public override bool Equals(object obj) => obj is
ILSpan
&& Equals((
ILSpan
)obj);
MethodContextReuseConstraints.cs (6)
19
private readonly
ILSpan
_span;
21
internal MethodContextReuseConstraints(Guid moduleVersionId, int methodToken, int methodVersion,
ILSpan
span)
63
public static
ILSpan
CalculateReuseSpan(int ilOffset,
ILSpan
initialSpan, IEnumerable<
ILSpan
> scopes)
70
foreach (
ILSpan
scope in scopes)
PDB\MethodDebugInfo.cs (4)
26
reuseSpan:
ILSpan
.MaxValue,
44
public readonly
ILSpan
ReuseSpan;
57
ILSpan
reuseSpan,
82
public ImmutableSortedSet<int> GetInScopeHoistedLocalIndices(int ilOffset, ref
ILSpan
methodContextReuseSpan)
PDB\MethodDebugInfo.Native.cs (3)
171
var
reuseSpan = GetReuseSpan(allScopes, ilOffset, isVisualBasicMethod);
622
private static
ILSpan
GetReuseSpan(ArrayBuilder<ISymUnmanagedScope> scopes, int ilOffset, bool isEndInclusive)
626
ILSpan
.MaxValue,
PDB\MethodDebugInfo.Portable.cs (3)
32
ILSpan
reuseSpan;
61
reuseSpan =
ILSpan
.MaxValue;
134
out
ILSpan
reuseSpan)