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