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