2 overrides of UInt64Value
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
610
public override ulong
UInt64Value
836
public override ulong
UInt64Value
76 references to UInt64Value
Microsoft.CodeAnalysis (16)
CodeGen\SwitchIntegralJumpTableEmitter.cs (3)
395
var nextCaseLabelValue = caseLabelConstant.
UInt64Value
;
396
Debug.Assert(nextCaseLabelValue > startConstant.
UInt64Value
);
397
nextCaseLabelNormalizedValue = nextCaseLabelValue - startConstant.
UInt64Value
;
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (6)
195
Debug.Assert(endConstant.
UInt64Value
>= startConstant.
UInt64Value
);
196
bucketSize = endConstant.
UInt64Value
- startConstant.
UInt64Value
+ 1;
214
return startConstant.
UInt64Value
== UInt64.MinValue
215
&& endConstant.
UInt64Value
== UInt64.MaxValue;
ConstantValue.cs (3)
524
case ConstantValueTypeDiscriminator.UInt64: return Boxes.Box(
UInt64Value
);
798
writer.WriteUInt64(this.
UInt64Value
);
821
ConstantValueTypeDiscriminator.UInt64 =>
UInt64Value
.ToString(provider),
EnumConstantHelper.cs (1)
102
ulong previous = constantValue.
UInt64Value
;
SwitchConstantValueHelper.cs (3)
86
return first.
UInt64Value
.CompareTo(second.
UInt64Value
);
149
return constant.
UInt64Value
.GetHashCode();
Microsoft.CodeAnalysis.CSharp (51)
Binder\Binder_Conversions.cs (2)
1817
ulong uint64Value = value.
UInt64Value
;
2098
case ConstantValueTypeDiscriminator.UInt64: return (decimal)value.
UInt64Value
;
Binder\Binder_Operators.cs (40)
1521
var uint64Value = valueLeft.
UInt64Value
<< valueRight.Int32Value;
1546
return valueLeft.
UInt64Value
+ valueRight.
UInt64Value
;
1554
return valueLeft.
UInt64Value
- valueRight.
UInt64Value
;
1562
return valueLeft.
UInt64Value
* valueRight.
UInt64Value
;
1602
return valueLeft.
UInt64Value
+ valueRight.
UInt64Value
;
1610
return valueLeft.
UInt64Value
- valueRight.
UInt64Value
;
1618
return valueLeft.
UInt64Value
* valueRight.
UInt64Value
;
1985
return valueLeft.
UInt64Value
<< valueRight.Int32Value;
2004
return valueLeft.
UInt64Value
>> valueRight.Int32Value;
2016
return valueLeft.
UInt64Value
& valueRight.
UInt64Value
;
2028
return valueLeft.
UInt64Value
| valueRight.
UInt64Value
;
2040
return valueLeft.
UInt64Value
^ valueRight.
UInt64Value
;
2064
return valueLeft.
UInt64Value
== valueRight.
UInt64Value
;
2084
return valueLeft.
UInt64Value
!= valueRight.
UInt64Value
;
2100
return valueLeft.
UInt64Value
< valueRight.
UInt64Value
;
2116
return valueLeft.
UInt64Value
> valueRight.
UInt64Value
;
2132
return valueLeft.
UInt64Value
<= valueRight.
UInt64Value
;
2148
return valueLeft.
UInt64Value
>= valueRight.
UInt64Value
;
2153
return valueLeft.
UInt64Value
/ valueRight.
UInt64Value
;
2164
return valueLeft.
UInt64Value
% valueRight.
UInt64Value
;
2894
return +value.
UInt64Value
;
2910
return ~value.
UInt64Value
;
3106
return valueRight.
UInt64Value
== 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1940
return value.
UInt64Value
== 0;
Lowering\DiagnosticsPass_Warnings.cs (2)
551
ulong val = constVal.
UInt64Value
;
561
ulong val = constVal.
UInt64Value
;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
469
if (loweredLeft.ConstantValueOpt?.
UInt64Value
== 1)
473
if (loweredRight.ConstantValueOpt?.
UInt64Value
== 1)
2228
if (numericOperand.ConstantValueOpt?.
UInt64Value
== 1)
Symbols\TypedConstantExtensions.cs (2)
59
return DisplayUnsignedEnumConstant(constant, splType, valueConstant.
UInt64Value
, typeName);
90
ulong memberValue = memberConstant.
UInt64Value
;
Utilities\ValueSetFactory.ULongTC.cs (1)
53
ulong INumericTC<ulong>.FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? 0UL : constantValue.
UInt64Value
;
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_InterpolatedString.vb (1)
58
If constantValue.
UInt64Value
> Short.MaxValue Then
Binding\Binder_SelectCase.vb (2)
699
Return lbConstantValue.
UInt64Value
> ubConstantValue.
UInt64Value
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (2)
338
Dim initialValue As ULong = initialConst.
UInt64Value
339
Dim limitValue As ULong = limitConst.
UInt64Value
Semantics\CompileTimeCalculations.vb (1)
155
Case ConstantValueTypeDiscriminator.UInt64 : Return UncheckedCLng(value.
UInt64Value
)
Symbols\TypedConstant.vb (2)
59
Return DisplayUnsignedEnumConstant(constant, splType, valueConstant.
UInt64Value
, typeName)
83
Dim memberValue = memberConstant.
UInt64Value
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Metadata\PE\LoadingFields.vb (1)
236
Assert.Equal(7UL, UInt64Value.GetConstantValue(ConstantFieldsInProgress.Empty).
UInt64Value
)