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 166Debug.Assert(_allocatedILMarkers != null); 168if (_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 174_allocatedILMarkers[_lastCompleteBlock.LastILMarker].BlockOffset == _lastCompleteBlock.RegularInstructionsLength) 189_allocatedILMarkers[marker] = new ILMarker() { BlockOffset = (int)current.RegularInstructionsLength, AbsoluteOffset = -1 }; 243if (_allocatedILMarkers != null) 245_allocatedILMarkers.Free(); 913Debug.Assert(_allocatedILMarkers != null); 915int blockOffset = _allocatedILMarkers[i].BlockOffset; 917_allocatedILMarkers[i] = new ILMarker() { BlockOffset = blockOffset, AbsoluteOffset = absoluteOffset }; 1247if (_allocatedILMarkers == null) 1255int marker = _allocatedILMarkers.Count; 1258_allocatedILMarkers.Add( 1272Debug.Assert(_allocatedILMarkers != null, "There are not markers in this builder"); 1273Debug.Assert(ilMarker >= 0 && ilMarker < _allocatedILMarkers.Count, "Wrong builder?"); 1274return _allocatedILMarkers[ilMarker].AbsoluteOffset;