2 writes to _allocatedILMarkers
Microsoft.CodeAnalysis (2)
CodeGen\ILBuilder.cs (2)
234_allocatedILMarkers = null; 1235_allocatedILMarkers = ArrayBuilder<ILMarker>.GetInstance();
15 references to _allocatedILMarkers
Microsoft.CodeAnalysis (15)
CodeGen\ILBuilder.cs (15)
57/// in <see cref="_allocatedILMarkers"/> and reference this IL marker in the entity requiring the IL offset. 60/// will be put into <see cref="_allocatedILMarkers"/> array. Note that only markers from reachable blocks 157_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 163_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 178_allocatedILMarkers[marker] = new ILMarker() { BlockOffset = (int)current.RegularInstructionsLength, AbsoluteOffset = -1 }; 231if (_allocatedILMarkers != null) 233_allocatedILMarkers.Free(); 901int blockOffset = _allocatedILMarkers[i].BlockOffset; 903_allocatedILMarkers[i] = new ILMarker() { BlockOffset = blockOffset, AbsoluteOffset = absoluteOffset }; 1233if (_allocatedILMarkers == null) 1241int marker = _allocatedILMarkers.Count; 1244_allocatedILMarkers.Add( 1258Debug.Assert(_allocatedILMarkers != null, "There are not markers in this builder"); 1259Debug.Assert(ilMarker >= 0 && ilMarker < _allocatedILMarkers.Count, "Wrong builder?"); 1260return _allocatedILMarkers[ilMarker].AbsoluteOffset;