4 writes to _currentBlock
Microsoft.CodeAnalysis (4)
CodeGen\ILBuilder.cs (4)
80
leaderBlock =
_currentBlock
= _scopeManager.CreateBlock(this);
127
_currentBlock
= block;
152
_currentBlock
= null;
210
_currentBlock
= null;
12 references to _currentBlock
Microsoft.CodeAnalysis (12)
CodeGen\ILBuilder.cs (11)
91
Debug.Assert(!_pendingBlockCreate || (
_currentBlock
== null));
93
if (
_currentBlock
== null)
98
return
_currentBlock
;
101
[MemberNotNull(nameof(
_currentBlock
))]
104
Debug.Assert(
_currentBlock
== null);
110
[MemberNotNull(nameof(
_currentBlock
))]
121
[MemberNotNull(nameof(
_currentBlock
))]
137
Debug.Assert(
_currentBlock
== null);
140
Debug.Assert(
_currentBlock
!= null);
149
if (
_currentBlock
!= null)
151
_lastCompleteBlock =
_currentBlock
;
CodeGen\LocalScopeManager.cs (1)
732
Debug.Assert(builder.
_currentBlock
== builder._labelInfos[_endLabel].bb);