1 write to _emitState
Microsoft.CodeAnalysis (1)
CodeGen\ILBuilder.cs (1)
77_emitState = default(EmitState);
23 references to _emitState
Microsoft.CodeAnalysis (23)
CodeGen\ILBuilder.cs (6)
250internal ushort MaxStack => (ushort)_emitState.MaxStack; 262internal int InstructionsEmitted => _emitState.InstructionsEmitted; 1106Debug.Assert(_emitState.CurStack == 0); 1112Debug.Assert(_emitState.InstructionsEmitted >= _instructionCountAtLastLabel); 1113return _emitState.InstructionsEmitted == _instructionCountAtLastLabel; 1130_instructionCountAtLastLabel = _emitState.InstructionsEmitted;
CodeGen\ILBuilderEmit.cs (17)
17_emitState.AdjustStack(stackAdjustment); 22get { return _emitState.CurStack == 0; } 37_emitState.AdjustStack(stackAdjustment); 38_emitState.InstructionAdded(); 130var curStack = _emitState.CurStack; 158var curStack = _emitState.CurStack; 162_instructionCountAtLastLabel = _emitState.InstructionsEmitted; 173_emitState.AdjustStack(code.NetStackBehavior()); 180_labelInfos.Add(label, new LabelInfo(_emitState.CurStack, isConditional)); 184Debug.Assert(labelInfo.stack == _emitState.CurStack, "branches to same label with different stacks"); 197_emitState.InstructionAdded(); 277_emitState.AdjustStack(-1); 278int curStack = _emitState.CurStack; 310_emitState.AdjustStack(-1); 316_emitState.InstructionAdded(); 330_emitState.AdjustStack(-1); 333_emitState.InstructionAdded();