1 write to _value
Microsoft.CodeAnalysis.CSharp (1)
Binder\SafeContext.cs (1)
35
private SafeContext(uint value) =>
_value
= value;
18 references to _value
Microsoft.CodeAnalysis.CSharp (18)
Binder\SafeContext.cs (18)
66
Debug.Assert(
_value
>= ReturnOnlyRaw);
67
return new SafeContext(
_value
+ 1);
76
Debug.Assert(
_value
>= CurrentMethodRaw);
77
return new SafeContext(
_value
- 1);
80
public bool IsCallingMethod =>
_value
== CallingMethodRaw;
81
public bool IsReturnOnly =>
_value
== ReturnOnlyRaw;
82
public 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
}>"