2 overrides of UInt64Value
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
611public override ulong UInt64Value 853public override ulong UInt64Value
70 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 (54)
Binder\Binder_Conversions.cs (2)
4094ulong uint64Value = value.UInt64Value; 4375case ConstantValueTypeDiscriminator.UInt64: return (decimal)value.UInt64Value;
Binder\Binder_Operators.cs (43)
2523var uint64Value = valueLeft.UInt64Value << valueRight.Int32Value; 2548return valueLeft.UInt64Value + valueRight.UInt64Value; 2556return valueLeft.UInt64Value - valueRight.UInt64Value; 2564return valueLeft.UInt64Value * valueRight.UInt64Value; 2604return valueLeft.UInt64Value + valueRight.UInt64Value; 2612return valueLeft.UInt64Value - valueRight.UInt64Value; 2620return valueLeft.UInt64Value * valueRight.UInt64Value; 2987return valueLeft.UInt64Value << valueRight.Int32Value; 3017var uint64Value = valueLeft.UInt64Value >> valueRight.Int32Value; 3023var uint64Value = valueLeft.UInt64Value >>> valueRight.Int32Value; 3027return valueLeft.UInt64Value >> valueRight.Int32Value; 3029return valueLeft.UInt64Value >>> valueRight.Int32Value; 3041return valueLeft.UInt64Value & valueRight.UInt64Value; 3053return valueLeft.UInt64Value | valueRight.UInt64Value; 3065return valueLeft.UInt64Value ^ valueRight.UInt64Value; 3089return valueLeft.UInt64Value == valueRight.UInt64Value; 3109return valueLeft.UInt64Value != valueRight.UInt64Value; 3125return valueLeft.UInt64Value < valueRight.UInt64Value; 3141return valueLeft.UInt64Value > valueRight.UInt64Value; 3157return valueLeft.UInt64Value <= valueRight.UInt64Value; 3173return valueLeft.UInt64Value >= valueRight.UInt64Value; 3178return valueLeft.UInt64Value / valueRight.UInt64Value; 3189return valueLeft.UInt64Value % valueRight.UInt64Value; 4565return +value.UInt64Value; 4581return ~value.UInt64Value; 4777return valueRight.UInt64Value == 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2103return value.UInt64Value == 0;
Lowering\DiagnosticsPass_Warnings.cs (2)
550ulong val = constVal.UInt64Value; 560ulong val = constVal.UInt64Value;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
478if (loweredLeft.ConstantValueOpt?.UInt64Value == 1) 482if (loweredRight.ConstantValueOpt?.UInt64Value == 1) 2327if (numericOperand.ConstantValueOpt?.UInt64Value == 1)
Symbols\TypedConstantExtensions.cs (2)
61return DisplayUnsignedEnumConstant(constant, splType, valueConstant.UInt64Value, typeName); 92ulong memberValue = memberConstant.UInt64Value;
Utilities\ValueSetFactory.ULongTC.cs (1)
55ulong INumericTC<ulong>.FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? 0UL : constantValue.UInt64Value;