3 overrides of ByteValue
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
361
public override byte
ByteValue
539
public override byte
ByteValue
702
public override byte
ByteValue
12 references to ByteValue
Microsoft.CodeAnalysis (8)
CodeGen\ILBuilderEmit.cs (1)
579
EmitByteConstant(value.
ByteValue
);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
485
case ConstantValueTypeDiscriminator.Byte: return value.
ByteValue
;
ConstantValue.cs (4)
64
public virtual ushort UInt16Value { get { return
ByteValue
; } }
522
case ConstantValueTypeDiscriminator.Byte: return Boxes.Box(
ByteValue
);
769
writer.WriteByte(this.
ByteValue
);
820
ConstantValueTypeDiscriminator.Byte =>
ByteValue
.ToString(provider),
ConstantValueSpecialized.cs (1)
725
return base.Equals(other) && _value == other.
ByteValue
;
EnumConstantHelper.cs (1)
42
ulong previous = constantValue.
ByteValue
;
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (2)
4014
byte byteValue = value.
ByteValue
;
4371
case ConstantValueTypeDiscriminator.Byte: return (decimal)value.
ByteValue
;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2089
return value.
ByteValue
== 0;
Utilities\ValueSetFactory.ByteTC.cs (1)
55
byte INumericTC<byte>.FromConstantValue(ConstantValue constantValue) => constantValue.IsBad ? (byte)0 : constantValue.
ByteValue
;