1 write to _emitState
Microsoft.CodeAnalysis (1)
CodeGen\ILBuilder.cs (1)
76_emitState = default(EmitState);
23 references to _emitState
Microsoft.CodeAnalysis (23)
CodeGen\ILBuilder.cs (6)
240internal ushort MaxStack => (ushort)_emitState.MaxStack; 252internal int InstructionsEmitted => _emitState.InstructionsEmitted; 1094Debug.Assert(_emitState.CurStack == 0); 1100Debug.Assert(_emitState.InstructionsEmitted >= _instructionCountAtLastLabel); 1101return _emitState.InstructionsEmitted == _instructionCountAtLastLabel; 1118_instructionCountAtLastLabel = _emitState.InstructionsEmitted;
CodeGen\ILBuilderEmit.cs (17)
19_emitState.AdjustStack(stackAdjustment); 24get { return _emitState.CurStack == 0; } 39_emitState.AdjustStack(stackAdjustment); 40_emitState.InstructionAdded(); 138var curStack = _emitState.CurStack; 166var curStack = _emitState.CurStack; 170_instructionCountAtLastLabel = _emitState.InstructionsEmitted; 181_emitState.AdjustStack(code.NetStackBehavior()); 188_labelInfos.Add(label, new LabelInfo(_emitState.CurStack, isConditional)); 192Debug.Assert(labelInfo.stack == _emitState.CurStack, "branches to same label with different stacks"); 205_emitState.InstructionAdded(); 280_emitState.AdjustStack(-1); 281int curStack = _emitState.CurStack; 313_emitState.AdjustStack(-1); 319_emitState.InstructionAdded(); 333_emitState.AdjustStack(-1); 336_emitState.InstructionAdded();