2 writes to _allocatedILMarkers
Microsoft.CodeAnalysis (2)
CodeGen\ILBuilder.cs (2)
246
_allocatedILMarkers
= null;
1249
_allocatedILMarkers
= ArrayBuilder<ILMarker>.GetInstance();
17 references to _allocatedILMarkers
Microsoft.CodeAnalysis (17)
CodeGen\ILBuilder.cs (17)
58
/// in <see cref="
_allocatedILMarkers
"/> and reference this IL marker in the entity requiring the IL offset.
61
/// will be put into <see cref="
_allocatedILMarkers
"/> array. Note that only markers from reachable blocks
166
Debug.Assert(
_allocatedILMarkers
!= null);
168
if (
_allocatedILMarkers
[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength)
174
_allocatedILMarkers
[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength)
189
_allocatedILMarkers
[marker] = new ILMarker() { BlockOffset = (int)current.RegularInstructionsLength, AbsoluteOffset = -1 };
243
if (
_allocatedILMarkers
!= null)
245
_allocatedILMarkers
.Free();
913
Debug.Assert(
_allocatedILMarkers
!= null);
915
int blockOffset =
_allocatedILMarkers
[i].BlockOffset;
917
_allocatedILMarkers
[i] = new ILMarker() { BlockOffset = blockOffset, AbsoluteOffset = absoluteOffset };
1247
if (
_allocatedILMarkers
== null)
1255
int marker =
_allocatedILMarkers
.Count;
1258
_allocatedILMarkers
.Add(
1272
Debug.Assert(
_allocatedILMarkers
!= null, "There are not markers in this builder");
1273
Debug.Assert(ilMarker >= 0 && ilMarker <
_allocatedILMarkers
.Count, "Wrong builder?");
1274
return
_allocatedILMarkers
[ilMarker].AbsoluteOffset;