3 overrides of UInt32Value
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
595public override uint UInt32Value 810public override uint UInt32Value 897public override uint UInt32Value
66 references to UInt32Value
Microsoft.CodeAnalysis (9)
CodeGen\ILBuilderEmit.cs (1)
599EmitNativeIntConstant(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)
251return getBytes(constant.UInt32Value); 254return getBytes(constant.UInt32Value);
EnumConstantHelper.cs (1)
82ulong previous = constantValue.UInt32Value;
Microsoft.CodeAnalysis.CSharp (56)
Binder\Binder_Conversions.cs (4)
3374uint uint32Value = value.UInt32Value; 3414uint nuintValue = value.UInt32Value; 3674case ConstantValueTypeDiscriminator.UInt32: return (decimal)value.UInt32Value; 3676case ConstantValueTypeDiscriminator.NUInt: return (decimal)value.UInt32Value;
Binder\Binder_Operators.cs (46)
2378return valueLeft.UInt32Value + valueRight.UInt32Value; 2382return valueLeft.UInt32Value - valueRight.UInt32Value; 2386return valueLeft.UInt32Value * valueRight.UInt32Value; 2399var uint32Value = valueLeft.UInt32Value << valueRight.Int32Value; 2423return valueLeft.UInt32Value + valueRight.UInt32Value; 2431return valueLeft.UInt32Value - valueRight.UInt32Value; 2439return valueLeft.UInt32Value * valueRight.UInt32Value; 2479return valueLeft.UInt32Value + valueRight.UInt32Value; 2487return valueLeft.UInt32Value - valueRight.UInt32Value; 2495return valueLeft.UInt32Value * valueRight.UInt32Value; 2862return valueLeft.UInt32Value << valueRight.Int32Value; 2880return valueLeft.UInt32Value >> valueRight.Int32Value; 2893return valueLeft.UInt32Value & valueRight.UInt32Value; 2905return valueLeft.UInt32Value | valueRight.UInt32Value; 2917return valueLeft.UInt32Value ^ valueRight.UInt32Value; 2941return valueLeft.UInt32Value == valueRight.UInt32Value; 2961return valueLeft.UInt32Value != valueRight.UInt32Value; 2977return valueLeft.UInt32Value < valueRight.UInt32Value; 2993return valueLeft.UInt32Value > valueRight.UInt32Value; 3009return valueLeft.UInt32Value <= valueRight.UInt32Value; 3025return valueLeft.UInt32Value >= valueRight.UInt32Value; 3030return valueLeft.UInt32Value / valueRight.UInt32Value; 3041return valueLeft.UInt32Value % valueRight.UInt32Value; 4370return +value.UInt32Value; 4378return ~value.UInt32Value; 4573return valueRight.UInt32Value == 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2085return value.UInt32Value == 0;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
799cases = node.Cases.SelectAsArray(p => (ConstantValue.Create((ulong)p.value.UInt32Value), p.label));
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
2370if (constVal == null || constVal.UInt32Value > int.MaxValue)
Utilities\ValueSetFactory.NuintValueSet.cs (2)
63bool IValueSet.All(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || All(relation, value.UInt32Value); 72bool IValueSet.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);