1 write to _value
Microsoft.CodeAnalysis.CSharp (1)
Binder\SafeContext.cs (1)
35private SafeContext(uint value) => _value = value;
18 references to _value
Microsoft.CodeAnalysis.CSharp (18)
Binder\SafeContext.cs (18)
66Debug.Assert(_value >= ReturnOnlyRaw); 67return new SafeContext(_value + 1); 76Debug.Assert(_value >= CurrentMethodRaw); 77return new SafeContext(_value - 1); 80public bool IsCallingMethod => _value == CallingMethodRaw; 81public bool IsReturnOnly => _value == ReturnOnlyRaw; 82public bool IsReturnable => _value is CallingMethodRaw or ReturnOnlyRaw; 87=> this._value <= other._value; 109=> this._value == other._value; 115=> unchecked((int)_value); 118=> lhs._value == rhs._value; 121=> lhs._value != rhs._value; 124=> _value switch 129_ => $"SafeContext<{_value}>"