2 overrides of UInt64Value
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
611
public override ulong
UInt64Value
853
public override ulong
UInt64Value
68 references to UInt64Value
Microsoft.CodeAnalysis (16)
CodeGen\SwitchIntegralJumpTableEmitter.cs (3)
402
var nextCaseLabelValue = caseLabelConstant.
UInt64Value
;
403
Debug.Assert(nextCaseLabelValue > startConstant.
UInt64Value
);
404
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)
528
case ConstantValueTypeDiscriminator.UInt64: return Boxes.Box(
UInt64Value
);
802
writer.WriteUInt64(this.
UInt64Value
);
825
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)
3394
ulong uint64Value = value.
UInt64Value
;
3675
case ConstantValueTypeDiscriminator.UInt64: return (decimal)value.
UInt64Value
;
Binder\Binder_Operators.cs (40)
2400
var uint64Value = valueLeft.
UInt64Value
<< valueRight.Int32Value;
2425
return valueLeft.
UInt64Value
+ valueRight.
UInt64Value
;
2433
return valueLeft.
UInt64Value
- valueRight.
UInt64Value
;
2441
return valueLeft.
UInt64Value
* valueRight.
UInt64Value
;
2481
return valueLeft.
UInt64Value
+ valueRight.
UInt64Value
;
2489
return valueLeft.
UInt64Value
- valueRight.
UInt64Value
;
2497
return valueLeft.
UInt64Value
* valueRight.
UInt64Value
;
2864
return valueLeft.
UInt64Value
<< valueRight.Int32Value;
2883
return valueLeft.
UInt64Value
>> valueRight.Int32Value;
2895
return valueLeft.
UInt64Value
& valueRight.
UInt64Value
;
2907
return valueLeft.
UInt64Value
| valueRight.
UInt64Value
;
2919
return valueLeft.
UInt64Value
^ valueRight.
UInt64Value
;
2943
return valueLeft.
UInt64Value
== valueRight.
UInt64Value
;
2963
return valueLeft.
UInt64Value
!= valueRight.
UInt64Value
;
2979
return valueLeft.
UInt64Value
< valueRight.
UInt64Value
;
2995
return valueLeft.
UInt64Value
> valueRight.
UInt64Value
;
3011
return valueLeft.
UInt64Value
<= valueRight.
UInt64Value
;
3027
return valueLeft.
UInt64Value
>= valueRight.
UInt64Value
;
3032
return valueLeft.
UInt64Value
/ valueRight.
UInt64Value
;
3043
return valueLeft.
UInt64Value
% valueRight.
UInt64Value
;
4364
return +value.
UInt64Value
;
4380
return ~value.
UInt64Value
;
4576
return valueRight.
UInt64Value
== 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2087
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)
478
if (loweredLeft.ConstantValueOpt?.
UInt64Value
== 1)
482
if (loweredRight.ConstantValueOpt?.
UInt64Value
== 1)
2326
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)
55
ulong INumericTC<ulong>.FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? 0UL : constantValue.
UInt64Value
;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
132
Assert.Equal(1U, cv1.
UInt64Value
);