3 overrides of UInt32Value
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
595public override uint UInt32Value 810public override uint UInt32Value 897public override uint UInt32Value
67 references to UInt32Value
Microsoft.CodeAnalysis (9)
CodeGen\ILBuilderEmit.cs (1)
602EmitNativeIntConstant(value.UInt32Value);
ConstantValue.cs (5)
70public virtual ulong UInt64Value { get { return UInt32Value; } } 526case ConstantValueTypeDiscriminator.UInt32: return Boxes.Box(UInt32Value); 530case ConstantValueTypeDiscriminator.NUInt: return Boxes.Box(UInt32Value); 790writer.WriteUInt32(this.UInt32Value); 824ConstantValueTypeDiscriminator.NUInt or ConstantValueTypeDiscriminator.UInt32 => UInt32Value.ToString(provider),
CryptographicHashProvider.cs (2)
269return getBytes(constant.UInt32Value); 272return getBytes(constant.UInt32Value);
EnumConstantHelper.cs (1)
82ulong previous = constantValue.UInt32Value;
Microsoft.CodeAnalysis.CSharp (57)
Binder\Binder_Conversions.cs (4)
3995uint uint32Value = value.UInt32Value; 4035uint nuintValue = value.UInt32Value; 4295case ConstantValueTypeDiscriminator.UInt32: return (decimal)value.UInt32Value; 4297case ConstantValueTypeDiscriminator.NUInt: return (decimal)value.UInt32Value;
Binder\Binder_Operators.cs (46)
2501return valueLeft.UInt32Value + valueRight.UInt32Value; 2505return valueLeft.UInt32Value - valueRight.UInt32Value; 2509return valueLeft.UInt32Value * valueRight.UInt32Value; 2522var uint32Value = valueLeft.UInt32Value << valueRight.Int32Value; 2546return valueLeft.UInt32Value + valueRight.UInt32Value; 2554return valueLeft.UInt32Value - valueRight.UInt32Value; 2562return valueLeft.UInt32Value * valueRight.UInt32Value; 2602return valueLeft.UInt32Value + valueRight.UInt32Value; 2610return valueLeft.UInt32Value - valueRight.UInt32Value; 2618return valueLeft.UInt32Value * valueRight.UInt32Value; 2985return valueLeft.UInt32Value << valueRight.Int32Value; 3003return valueLeft.UInt32Value >> valueRight.Int32Value; 3016return valueLeft.UInt32Value & valueRight.UInt32Value; 3028return valueLeft.UInt32Value | valueRight.UInt32Value; 3040return valueLeft.UInt32Value ^ valueRight.UInt32Value; 3064return valueLeft.UInt32Value == valueRight.UInt32Value; 3084return valueLeft.UInt32Value != valueRight.UInt32Value; 3100return valueLeft.UInt32Value < valueRight.UInt32Value; 3116return valueLeft.UInt32Value > valueRight.UInt32Value; 3132return valueLeft.UInt32Value <= valueRight.UInt32Value; 3148return valueLeft.UInt32Value >= valueRight.UInt32Value; 3153return valueLeft.UInt32Value / valueRight.UInt32Value; 3164return valueLeft.UInt32Value % valueRight.UInt32Value; 4546return +value.UInt32Value; 4554return ~value.UInt32Value; 4749return valueRight.UInt32Value == 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2101return value.UInt32Value == 0;
Binder\SwitchBinder.cs (1)
298return new System.UIntPtr(constantValue.UInt32Value);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
807cases = node.Cases.SelectAsArray(p => (ConstantValue.Create((ulong)p.value.UInt32Value), p.label));
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
2371if (constVal == null || constVal.UInt32Value > int.MaxValue)
Utilities\ValueSetFactory.NuintValueSet.cs (2)
63bool IConstantValueSet.All(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || All(relation, value.UInt32Value); 72bool IConstantValueSet.Any(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, value.UInt32Value);
Utilities\ValueSetFactory.UIntTC.cs (1)
49public uint FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? (uint)0 : constantValue.UInt32Value;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
130Assert.Equal(1U, cv1.UInt32Value);