6 references to HexToByte
Microsoft.CodeAnalysis.Test.Utilities (2)
Mocks\Silverlight.cs (1)
77
var publicKey = TestHelpers.
HexToByte
(publicKeyText.AsSpan());
Mocks\StdOle.cs (1)
64
var publicKey = TestHelpers.
HexToByte
(publicKeyText.AsSpan());
Microsoft.CodeAnalysis.UnitTests (4)
CryptoBlobParserTests.cs (4)
173
Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.
HexToByte
(invalidKeyBlobs[0].AsSpan()), out _, out _));
174
Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.
HexToByte
(invalidKeyBlobs[1].AsSpan()), out _, out _));
175
Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.
HexToByte
(invalidKeyBlobs[2].AsSpan()), out _, out _));
176
Assert.False(CryptoBlobParser.TryParseKey(TestHelpers.
HexToByte
(invalidKeyBlobs[3].AsSpan()), out _, out _));