2 overrides of Int64Value
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
603public override long Int64Value 845public override long Int64Value
23 references to Int64Value
Microsoft.CodeAnalysis (23)
CodeGen\ILBuilderEmit.cs (1)
596EmitLongConstant(value.Int64Value);
CodeGen\SwitchIntegralJumpTableEmitter.cs (7)
389var nextCaseLabelValue = caseLabelConstant.Int64Value; 390Debug.Assert(nextCaseLabelValue > startConstant.Int64Value); 391nextCaseLabelNormalizedValue = (ulong)(nextCaseLabelValue - startConstant.Int64Value); 467_builder.EmitLongConstant(endConstant.Int64Value - startConstant.Int64Value); 553_builder.EmitLongConstant(endConstant.Int64Value - startConstant.Int64Value);
CodeGen\SwitchIntegralJumpTableEmitter.SwitchBucket.cs (6)
190Debug.Assert(endConstant.Int64Value >= startConstant.Int64Value); 191bucketSize = unchecked((ulong)(endConstant.Int64Value - startConstant.Int64Value + 1)); 209return startConstant.Int64Value == Int64.MinValue 210&& endConstant.Int64Value == Int64.MaxValue;
ConstantValue.cs (4)
527case ConstantValueTypeDiscriminator.Int64: return Boxes.Box(Int64Value); 586return Int64Value < 0; 798writer.WriteInt64(this.Int64Value); 826ConstantValueTypeDiscriminator.Int64 => Int64Value.ToString(provider),
ConstantValueSpecialized.cs (1)
868return base.Equals(other) && _value == other.Int64Value;
EnumConstantHelper.cs (1)
92long previous = constantValue.Int64Value;
SwitchConstantValueHelper.cs (3)
78return first.Int64Value.CompareTo(second.Int64Value); 141return constant.Int64Value.GetHashCode();