11 references to OverflowChecks
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.cs (11)
99/// <see cref="OverflowChecks.Enabled"/> if we are in an explicitly checked context (within checked block or expression). 100/// <see cref="OverflowChecks.Disabled"/> if we are in an explicitly unchecked context (within unchecked block or expression). 101/// <see cref="OverflowChecks.Implicit"/> otherwise. 103protected OverflowChecks CheckOverflow 116? OverflowChecks.Enabled 118? OverflowChecks.Disabled 119: OverflowChecks.Implicit; 137var result = CheckOverflow; 138return result == OverflowChecks.Enabled || result == OverflowChecks.Implicit && Compilation.Options.CheckOverflow; 156return CheckOverflow != OverflowChecks.Disabled;