3 overrides of Int32Value
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
587public override int Int32Value 802public override int Int32Value 889public override int Int32Value
12 references to Int32Value
Microsoft.CodeAnalysis (12)
CodeGen\ILBuilderEmit.cs (2)
592EmitIntConstant(value.Int32Value); 599EmitNativeIntConstant(value.Int32Value);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
480default: return value.Int32Value;
ConstantValue.cs (6)
69public virtual long Int64Value { get { return Int32Value; } } 525case ConstantValueTypeDiscriminator.Int32: return Boxes.Box(Int32Value); 529case ConstantValueTypeDiscriminator.NInt: return Boxes.Box(Int32Value); 584return Int32Value < 0; 786writer.WriteInt32(this.Int32Value); 823ConstantValueTypeDiscriminator.NInt or ConstantValueTypeDiscriminator.Int32 => Int32Value.ToString(provider),
ConstantValueSpecialized.cs (2)
825return base.Equals(other) && _value == other.Int32Value; 912return base.Equals(other) && _value == other.Int32Value;
EnumConstantHelper.cs (1)
72long previous = constantValue.Int32Value;