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