2 writes to _allocatedILMarkers
Microsoft.CodeAnalysis (2)
CodeGen\ILBuilder.cs (2)
238_allocatedILMarkers = null; 1239_allocatedILMarkers = ArrayBuilder<ILMarker>.GetInstance();
15 references to _allocatedILMarkers
Microsoft.CodeAnalysis (15)
CodeGen\ILBuilder.cs (15)
59/// in <see cref="_allocatedILMarkers"/> and reference this IL marker in the entity requiring the IL offset. 62/// will be put into <see cref="_allocatedILMarkers"/> array. Note that only markers from reachable blocks 161_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 167_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 182_allocatedILMarkers[marker] = new ILMarker() { BlockOffset = (int)current.RegularInstructionsLength, AbsoluteOffset = -1 }; 235if (_allocatedILMarkers != null) 237_allocatedILMarkers.Free(); 905int blockOffset = _allocatedILMarkers[i].BlockOffset; 907_allocatedILMarkers[i] = new ILMarker() { BlockOffset = blockOffset, AbsoluteOffset = absoluteOffset }; 1237if (_allocatedILMarkers == null) 1245int marker = _allocatedILMarkers.Count; 1248_allocatedILMarkers.Add( 1262Debug.Assert(_allocatedILMarkers != null, "There are not markers in this builder"); 1263Debug.Assert(ilMarker >= 0 && ilMarker < _allocatedILMarkers.Count, "Wrong builder?"); 1264return _allocatedILMarkers[ilMarker].AbsoluteOffset;