8 references to ToByte
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\Metadata\PE\LoadingAttributes.cs (5)
64aByteInst.VerifyValue(0, TypedConstantKind.Primitive, Convert.ToByte(1)); 136aByteInst.VerifyValue(0, TypedConstantKind.Primitive, Convert.ToByte(1)); 272a.VerifyNamedArgumentValue(0, "B", TypedConstantKind.Primitive, Convert.ToByte(1)); 978attrSym.VerifyValue(1, TypedConstantKind.Primitive, Convert.ToByte(2)); 1139Assert.Equal(Convert.ToByte(255), attrSym.CommonConstructorArguments[1].Value);
PresentationCore (1)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
409color.A = Convert.ToByte(alpha);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
726return ToByte(ToInt32(value));
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
217return Convert.ToByte(m_value);