3 overrides of UInt32Value
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
594public override uint UInt32Value 793public override uint UInt32Value 880public override uint UInt32Value
68 references to UInt32Value
Microsoft.CodeAnalysis (7)
CodeGen\ILBuilderEmit.cs (1)
602EmitNativeIntConstant(value.UInt32Value);
ConstantValue.cs (5)
69public virtual ulong UInt64Value { get { return UInt32Value; } } 522case ConstantValueTypeDiscriminator.UInt32: return Boxes.Box(UInt32Value); 526case ConstantValueTypeDiscriminator.NUInt: return Boxes.Box(UInt32Value); 786writer.WriteUInt32(this.UInt32Value); 820ConstantValueTypeDiscriminator.NUInt or ConstantValueTypeDiscriminator.UInt32 => UInt32Value.ToString(provider),
EnumConstantHelper.cs (1)
82ulong previous = constantValue.UInt32Value;
Microsoft.CodeAnalysis.CSharp (56)
Binder\Binder_Conversions.cs (4)
1797uint uint32Value = value.UInt32Value; 1837uint nuintValue = value.UInt32Value; 2097case ConstantValueTypeDiscriminator.UInt32: return (decimal)value.UInt32Value; 2099case ConstantValueTypeDiscriminator.NUInt: return (decimal)value.UInt32Value;
Binder\Binder_Operators.cs (46)
1499return valueLeft.UInt32Value + valueRight.UInt32Value; 1503return valueLeft.UInt32Value - valueRight.UInt32Value; 1507return valueLeft.UInt32Value * valueRight.UInt32Value; 1520var uint32Value = valueLeft.UInt32Value << valueRight.Int32Value; 1544return valueLeft.UInt32Value + valueRight.UInt32Value; 1552return valueLeft.UInt32Value - valueRight.UInt32Value; 1560return valueLeft.UInt32Value * valueRight.UInt32Value; 1600return valueLeft.UInt32Value + valueRight.UInt32Value; 1608return valueLeft.UInt32Value - valueRight.UInt32Value; 1616return valueLeft.UInt32Value * valueRight.UInt32Value; 1983return valueLeft.UInt32Value << valueRight.Int32Value; 2001return valueLeft.UInt32Value >> valueRight.Int32Value; 2014return valueLeft.UInt32Value & valueRight.UInt32Value; 2026return valueLeft.UInt32Value | valueRight.UInt32Value; 2038return valueLeft.UInt32Value ^ valueRight.UInt32Value; 2062return valueLeft.UInt32Value == valueRight.UInt32Value; 2082return valueLeft.UInt32Value != valueRight.UInt32Value; 2098return valueLeft.UInt32Value < valueRight.UInt32Value; 2114return valueLeft.UInt32Value > valueRight.UInt32Value; 2130return valueLeft.UInt32Value <= valueRight.UInt32Value; 2146return valueLeft.UInt32Value >= valueRight.UInt32Value; 2151return valueLeft.UInt32Value / valueRight.UInt32Value; 2162return valueLeft.UInt32Value % valueRight.UInt32Value; 2900return +value.UInt32Value; 2908return ~value.UInt32Value; 3103return valueRight.UInt32Value == 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1938return 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)
2272if (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)
47public uint FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? (uint)0 : constantValue.UInt32Value;
Microsoft.CodeAnalysis.VisualBasic (4)
CodeGen\EmitOperators.vb (2)
312If shiftConst Is Nothing OrElse shiftConst.UInt32Value > shiftMax Then 327If shiftConst Is Nothing OrElse shiftConst.UInt32Value > shiftMax Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (1)
464If shiftConst Is Nothing OrElse shiftConst.UInt32Value > shiftMask Then
Semantics\CompileTimeCalculations.vb (1)
153Case ConstantValueTypeDiscriminator.UInt32 : Return value.UInt32Value
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Metadata\PE\LoadingFields.vb (1)
224Assert.Equal(5UI, UInt32Value.GetConstantValue(ConstantFieldsInProgress.Empty).UInt32Value)