2 overrides of UInt64Value
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
611public override ulong UInt64Value 853public override ulong UInt64Value
68 references to UInt64Value
Microsoft.CodeAnalysis (16)
CodeGen\SwitchIntegralJumpTableEmitter.cs (3)
402var nextCaseLabelValue = caseLabelConstant.UInt64Value; 403Debug.Assert(nextCaseLabelValue > startConstant.UInt64Value); 404nextCaseLabelNormalizedValue = nextCaseLabelValue - startConstant.UInt64Value;
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (6)
195Debug.Assert(endConstant.UInt64Value >= startConstant.UInt64Value); 196bucketSize = endConstant.UInt64Value - startConstant.UInt64Value + 1; 214return startConstant.UInt64Value == UInt64.MinValue 215&& endConstant.UInt64Value == UInt64.MaxValue;
ConstantValue.cs (3)
528case ConstantValueTypeDiscriminator.UInt64: return Boxes.Box(UInt64Value); 802writer.WriteUInt64(this.UInt64Value); 825ConstantValueTypeDiscriminator.UInt64 => UInt64Value.ToString(provider),
EnumConstantHelper.cs (1)
102ulong previous = constantValue.UInt64Value;
SwitchConstantValueHelper.cs (3)
86return first.UInt64Value.CompareTo(second.UInt64Value); 149return constant.UInt64Value.GetHashCode();
Microsoft.CodeAnalysis.CSharp (51)
Binder\Binder_Conversions.cs (2)
3394ulong uint64Value = value.UInt64Value; 3675case ConstantValueTypeDiscriminator.UInt64: return (decimal)value.UInt64Value;
Binder\Binder_Operators.cs (40)
2400var uint64Value = valueLeft.UInt64Value << valueRight.Int32Value; 2425return valueLeft.UInt64Value + valueRight.UInt64Value; 2433return valueLeft.UInt64Value - valueRight.UInt64Value; 2441return valueLeft.UInt64Value * valueRight.UInt64Value; 2481return valueLeft.UInt64Value + valueRight.UInt64Value; 2489return valueLeft.UInt64Value - valueRight.UInt64Value; 2497return valueLeft.UInt64Value * valueRight.UInt64Value; 2864return valueLeft.UInt64Value << valueRight.Int32Value; 2883return valueLeft.UInt64Value >> valueRight.Int32Value; 2895return valueLeft.UInt64Value & valueRight.UInt64Value; 2907return valueLeft.UInt64Value | valueRight.UInt64Value; 2919return valueLeft.UInt64Value ^ valueRight.UInt64Value; 2943return valueLeft.UInt64Value == valueRight.UInt64Value; 2963return valueLeft.UInt64Value != valueRight.UInt64Value; 2979return valueLeft.UInt64Value < valueRight.UInt64Value; 2995return valueLeft.UInt64Value > valueRight.UInt64Value; 3011return valueLeft.UInt64Value <= valueRight.UInt64Value; 3027return valueLeft.UInt64Value >= valueRight.UInt64Value; 3032return valueLeft.UInt64Value / valueRight.UInt64Value; 3043return valueLeft.UInt64Value % valueRight.UInt64Value; 4364return +value.UInt64Value; 4380return ~value.UInt64Value; 4576return valueRight.UInt64Value == 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2087return value.UInt64Value == 0;
Lowering\DiagnosticsPass_Warnings.cs (2)
551ulong val = constVal.UInt64Value; 561ulong val = constVal.UInt64Value;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
478if (loweredLeft.ConstantValueOpt?.UInt64Value == 1) 482if (loweredRight.ConstantValueOpt?.UInt64Value == 1) 2326if (numericOperand.ConstantValueOpt?.UInt64Value == 1)
Symbols\TypedConstantExtensions.cs (2)
59return DisplayUnsignedEnumConstant(constant, splType, valueConstant.UInt64Value, typeName); 90ulong memberValue = memberConstant.UInt64Value;
Utilities\ValueSetFactory.ULongTC.cs (1)
55ulong INumericTC<ulong>.FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? 0UL : constantValue.UInt64Value;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
132Assert.Equal(1U, cv1.UInt64Value);