3 overrides of UInt32Value
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
595
public override uint
UInt32Value
810
public override uint
UInt32Value
897
public override uint
UInt32Value
69 references to UInt32Value
Microsoft.CodeAnalysis (9)
CodeGen\ILBuilderEmit.cs (1)
602
EmitNativeIntConstant(value.
UInt32Value
);
ConstantValue.cs (5)
70
public virtual ulong UInt64Value { get { return
UInt32Value
; } }
526
case ConstantValueTypeDiscriminator.UInt32: return Boxes.Box(
UInt32Value
);
530
case ConstantValueTypeDiscriminator.NUInt: return Boxes.Box(
UInt32Value
);
790
writer.WriteUInt32(this.
UInt32Value
);
824
ConstantValueTypeDiscriminator.NUInt or ConstantValueTypeDiscriminator.UInt32 =>
UInt32Value
.ToString(provider),
CryptographicHashProvider.cs (2)
269
return getBytes(constant.
UInt32Value
);
272
return getBytes(constant.
UInt32Value
);
EnumConstantHelper.cs (1)
82
ulong previous = constantValue.
UInt32Value
;
Microsoft.CodeAnalysis.CSharp (60)
Binder\Binder_Conversions.cs (4)
4074
uint uint32Value = value.
UInt32Value
;
4114
uint nuintValue = value.
UInt32Value
;
4374
case ConstantValueTypeDiscriminator.UInt32: return (decimal)value.
UInt32Value
;
4376
case ConstantValueTypeDiscriminator.NUInt: return (decimal)value.
UInt32Value
;
Binder\Binder_Operators.cs (49)
2501
return valueLeft.
UInt32Value
+ valueRight.
UInt32Value
;
2505
return valueLeft.
UInt32Value
- valueRight.
UInt32Value
;
2509
return valueLeft.
UInt32Value
* valueRight.
UInt32Value
;
2522
var uint32Value = valueLeft.
UInt32Value
<< valueRight.Int32Value;
2546
return valueLeft.
UInt32Value
+ valueRight.
UInt32Value
;
2554
return valueLeft.
UInt32Value
- valueRight.
UInt32Value
;
2562
return valueLeft.
UInt32Value
* valueRight.
UInt32Value
;
2602
return valueLeft.
UInt32Value
+ valueRight.
UInt32Value
;
2610
return valueLeft.
UInt32Value
- valueRight.
UInt32Value
;
2618
return valueLeft.
UInt32Value
* valueRight.
UInt32Value
;
2985
return valueLeft.
UInt32Value
<< valueRight.Int32Value;
3011
return valueLeft.
UInt32Value
>> valueRight.Int32Value;
3013
return valueLeft.
UInt32Value
>>> valueRight.Int32Value;
3016
var uint32Value = valueLeft.
UInt32Value
>> valueRight.Int32Value;
3022
var uint32Value = valueLeft.
UInt32Value
>>> valueRight.Int32Value;
3039
return valueLeft.
UInt32Value
& valueRight.
UInt32Value
;
3051
return valueLeft.
UInt32Value
| valueRight.
UInt32Value
;
3063
return valueLeft.
UInt32Value
^ valueRight.
UInt32Value
;
3087
return valueLeft.
UInt32Value
== valueRight.
UInt32Value
;
3107
return valueLeft.
UInt32Value
!= valueRight.
UInt32Value
;
3123
return valueLeft.
UInt32Value
< valueRight.
UInt32Value
;
3139
return valueLeft.
UInt32Value
> valueRight.
UInt32Value
;
3155
return valueLeft.
UInt32Value
<= valueRight.
UInt32Value
;
3171
return valueLeft.
UInt32Value
>= valueRight.
UInt32Value
;
3176
return valueLeft.
UInt32Value
/ valueRight.
UInt32Value
;
3187
return valueLeft.
UInt32Value
% valueRight.
UInt32Value
;
4571
return +value.
UInt32Value
;
4579
return ~value.
UInt32Value
;
4774
return valueRight.
UInt32Value
== 0;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2101
return value.
UInt32Value
== 0;
Binder\SwitchBinder.cs (1)
298
return new System.UIntPtr(constantValue.
UInt32Value
);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
807
cases = node.Cases.SelectAsArray(p => (ConstantValue.Create((ulong)p.value.
UInt32Value
), p.label));
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
2371
if (constVal == null || constVal.
UInt32Value
> int.MaxValue)
Utilities\ValueSetFactory.NuintValueSet.cs (2)
63
bool IConstantValueSet.All(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || All(relation, value.
UInt32Value
);
72
bool IConstantValueSet.Any(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, value.
UInt32Value
);
Utilities\ValueSetFactory.UIntTC.cs (1)
49
public uint FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? (uint)0 : constantValue.
UInt32Value
;