236 references to ReadOnlySpan
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
ILCompiler.ReadyToRun (2)
IBC\IBCProfileParser.cs (2)
309ReadOnlySpan<byte> typeName = new ReadOnlySpan<byte>(typeEntry.Name).Slice(0, typeEntry.Name.Length - 1 /* these strings are null terminated */); 332typeNamespace = new ReadOnlySpan<byte>(namespaceEntry.Name).Slice(0, namespaceEntry.Name.Length - 1 /* these strings are null terminated */);
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (1)
95Append(new ReadOnlySpan<byte>(source));
Utilities\Hashing\XxHash128.cs (1)
68return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis (2)
Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
Microsoft.ML.Tests (2)
Scenarios\Api\TestApi.cs (2)
281var span = new ReadOnlySpan<char>(parts[0].ToCharArray()); 285span = new ReadOnlySpan<char>(parts[j + 1].ToCharArray());
Microsoft.NET.HostModel (1)
ComHost\TypeLibReader.cs (1)
58var span = new ReadOnlySpan<byte>(tlbBytes);
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
96Append(new ReadOnlySpan<byte>(source));
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHash128.cs (1)
70return Hash(new ReadOnlySpan<byte>(source), seed);
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableArray_1.cs (2)
99public ReadOnlySpan<T> AsSpan() => new ReadOnlySpan<T>(array); 1025return self.RemoveRange(new ReadOnlySpan<T>(items), equalityComparer);
System.IO.Hashing (12)
System\IO\Hashing\Adler32.cs (1)
115return Hash(new ReadOnlySpan<byte>(source));
System\IO\Hashing\Crc32.cs (2)
128return Hash(new ReadOnlySpan<byte>(source)); 145return Hash(parameterSet, new ReadOnlySpan<byte>(source));
System\IO\Hashing\Crc64.cs (2)
137return Hash(new ReadOnlySpan<byte>(source)); 162return Hash(parameterSet, new ReadOnlySpan<byte>(source));
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
89Append(new ReadOnlySpan<byte>(source));
System\IO\Hashing\XxHash128.cs (1)
66return Hash(new ReadOnlySpan<byte>(source), seed);
System\IO\Hashing\XxHash3.cs (1)
65return Hash(new ReadOnlySpan<byte>(source), seed);
System\IO\Hashing\XxHash32.cs (2)
166return Hash(new ReadOnlySpan<byte>(source)); 182return Hash(new ReadOnlySpan<byte>(source), seed);
System\IO\Hashing\XxHash64.cs (2)
166return Hash(new ReadOnlySpan<byte>(source)); 182return Hash(new ReadOnlySpan<byte>(source), seed);
System.Net.Primitives (2)
System\Net\IPAddress.cs (2)
136this(new ReadOnlySpan<byte>(address ?? ThrowAddressNullException()), scopeid) 178this(new ReadOnlySpan<byte>(address ?? ThrowAddressNullException()))
System.Net.Security (1)
System\Net\Security\SslStream.IO.cs (1)
688SendAuthResetSignal(new ReadOnlySpan<byte>(alertToken.Payload), ExceptionDispatchInfo.Capture(CreateCertificateValidationException(sslAuthenticationOptions, sslPolicyErrors, chainStatus)));
System.Private.CoreLib (23)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2323return ToBase64String(new ReadOnlySpan<byte>(inArray), options); 2767return ToHexString(new ReadOnlySpan<byte>(inArray)); 2862return ToHexStringLower(new ReadOnlySpan<byte>(inArray));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
240return new ReadOnlySpan<string>(names).ToArray();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortKey.cs (2)
59return new ReadOnlySpan<byte>(key1Data).SequenceCompareTo(key2Data); 63value is SortKey other && new ReadOnlySpan<byte>(_keyData).SequenceEqual(other._keyData);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
61this(new ReadOnlySpan<byte>(b ?? throw new ArgumentNullException(nameof(b))))
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (2)
765WriteAllBytes(path, new ReadOnlySpan<byte>(bytes)); 814AppendAllBytes(path, new ReadOnlySpan<byte>(bytes));
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3956new ReadOnlySpan<T>(source).CopyTo(destination);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
598return GetItems(new ReadOnlySpan<T>(choices), length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
206public static implicit operator ReadOnlySpan<T>(T[]? array) => new ReadOnlySpan<T>(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyNameHelpers.StrongName.cs (1)
43ReadOnlySpan<byte> publicKeyBlob = new ReadOnlySpan<byte>(publicKey);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ReadOnlySpanMarshaller.cs (1)
200return new ReadOnlySpan<T>(_managedValues!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (4)
745return JoinCore(new ReadOnlySpan<char>(in separator), new ReadOnlySpan<string?>(value)); 770return JoinCore(separator.AsSpan(), new ReadOnlySpan<string?>(value)); 813return JoinCore(separator.AsSpan(), new ReadOnlySpan<string?>(valuesArray)); 951return JoinCore(separator, new ReadOnlySpan<string?>(valuesArray));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
1740GetType() != typeof(UnicodeEncoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UnicodeEncoding overrode GetPreamble
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
1132GetType() != typeof(UTF32Encoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UTF32Encoding overrode GetPreamble
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (1)
873GetType() != typeof(UTF8Encoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UTF8Encoding overrode GetPreamble
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
295return WaitMultiple(new ReadOnlySpan<WaitHandle>(waitHandles), waitAll, millisecondsTimeout);
System\RuntimeType.NativeAot.cs (1)
114return new ReadOnlySpan<string>(ret).ToArray();
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (1)
216return GetOrAddBlob(new ReadOnlySpan<byte>(value));
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
329this(new ReadOnlySpan<byte>(value ?? throw new ArgumentNullException(nameof(value))))
System.Security.Cryptography (157)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\AesGcm.cs (1)
116: this(new ReadOnlySpan<byte>(key ?? throw new ArgumentNullException(nameof(key))), tagSizeInBytes)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (13)
149int bytesWritten = SignDataCore(new ReadOnlySpan<byte>(data), new ReadOnlySpan<byte>(context), signature); 162new ReadOnlySpan<byte>(data), 163new ReadOnlySpan<byte>(context), 292return VerifyData(new ReadOnlySpan<byte>(data), new ReadOnlySpan<byte>(signature), new ReadOnlySpan<byte>(context)); 484return ImportFromEncryptedPem(source.AsSpan(), new ReadOnlySpan<byte>(passwordBytes)); 627return ImportSubjectPublicKeyInfo(new ReadOnlySpan<byte>(source)); 700return ImportEncryptedPkcs8PrivateKey(password.AsSpan(), new ReadOnlySpan<byte>(source)); 822return ImportPkcs8PrivateKey(new ReadOnlySpan<byte>(source)); 898return ImportCompositeMLDsaPublicKey(algorithm, new ReadOnlySpan<byte>(source)); 948return ImportCompositeMLDsaPrivateKey(algorithm, new ReadOnlySpan<byte>(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (20)
171SignData(new ReadOnlySpan<byte>(data), destination.AsSpan(), new ReadOnlySpan<byte>(context)); 259return VerifyData(new ReadOnlySpan<byte>(data), new ReadOnlySpan<byte>(signature), new ReadOnlySpan<byte>(context)); 374SignPreHash(new ReadOnlySpan<byte>(hash), destination.AsSpan(), hashAlgorithmOid, new ReadOnlySpan<byte>(context)); 494new ReadOnlySpan<byte>(hash), 495new ReadOnlySpan<byte>(signature), 497new ReadOnlySpan<byte>(context)); 507return SignMu(new ReadOnlySpan<byte>(externalMu)); 612return VerifyMu(new ReadOnlySpan<byte>(externalMu), new ReadOnlySpan<byte>(signature)); 1387return ImportSubjectPublicKeyInfo(new ReadOnlySpan<byte>(source)); 1438return ImportPkcs8PrivateKey(new ReadOnlySpan<byte>(source)); 1553return ImportEncryptedPkcs8PrivateKey(password.AsSpan(), new ReadOnlySpan<byte>(source)); 1773return ImportFromEncryptedPem(source.AsSpan(), new ReadOnlySpan<byte>(passwordBytes)); 1823return ImportMLDsaPublicKey(algorithm, new ReadOnlySpan<byte>(source)); 1873return ImportMLDsaPrivateKey(algorithm, new ReadOnlySpan<byte>(source)); 1923return ImportMLDsaPrivateSeed(algorithm, new ReadOnlySpan<byte>(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (6)
387return ImportPrivateSeed(algorithm, new ReadOnlySpan<byte>(source)); 444return ImportDecapsulationKey(algorithm, new ReadOnlySpan<byte>(source)); 502return ImportEncapsulationKey(algorithm, new ReadOnlySpan<byte>(source)); 1212return ImportSubjectPublicKeyInfo(new ReadOnlySpan<byte>(source)); 1262return ImportPkcs8PrivateKey(new ReadOnlySpan<byte>(source)); 1607return ImportFromEncryptedPem(source.AsSpan(), new ReadOnlySpan<byte>(passwordBytes));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
34new ReadOnlySpan<byte>(passwordBytes),
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (2)
133new ReadOnlySpan<byte>(passwordBytes), 196Decrypt(new ReadOnlySpan<byte>(passwordBytes));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
27: this(new ReadOnlySpan<byte>(keyId))
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (16)
186SignData(new ReadOnlySpan<byte>(data), destination.AsSpan(), new ReadOnlySpan<byte>(context)); 272return VerifyData(new ReadOnlySpan<byte>(data), new ReadOnlySpan<byte>(signature), new ReadOnlySpan<byte>(context)); 379SignPreHash(new ReadOnlySpan<byte>(hash), destination.AsSpan(), hashAlgorithmOid, new ReadOnlySpan<byte>(context)); 487new ReadOnlySpan<byte>(hash), 488new ReadOnlySpan<byte>(signature), 490new ReadOnlySpan<byte>(context)); 1250return ImportSubjectPublicKeyInfo(new ReadOnlySpan<byte>(source)); 1317return ImportPkcs8PrivateKey(new ReadOnlySpan<byte>(source)); 1432return ImportEncryptedPkcs8PrivateKey(password.AsSpan(), new ReadOnlySpan<byte>(source)); 1652return ImportFromEncryptedPem(source.AsSpan(), new ReadOnlySpan<byte>(passwordBytes)); 1702return ImportSlhDsaPublicKey(algorithm, new ReadOnlySpan<byte>(source)); 1752return ImportSlhDsaPrivateKey(algorithm, new ReadOnlySpan<byte>(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SP800108HmacCounterKdfImplementationCng.cs (2)
31DeriveBytes(new ReadOnlySpan<byte>(label), new ReadOnlySpan<byte>(context), destination);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (5)
888return ImportPrivateKey(new ReadOnlySpan<byte>(source)); 944return ImportPublicKey(new ReadOnlySpan<byte>(source)); 1042return ImportSubjectPublicKeyInfo(new ReadOnlySpan<byte>(source)); 1092return ImportPkcs8PrivateKey(new ReadOnlySpan<byte>(source)); 1405return ImportFromEncryptedPem(source.AsSpan(), new ReadOnlySpan<byte>(passwordBytes));
System\Security\Cryptography\Aes.cs (2)
91return EncryptKeyWrapPadded(new ReadOnlySpan<byte>(plaintext)); 167return DecryptKeyWrapPadded(new ReadOnlySpan<byte>(ciphertext));
System\Security\Cryptography\AesGcm.cs (1)
27: this(new ReadOnlySpan<byte>(key ?? throw new ArgumentNullException(nameof(key))))
System\Security\Cryptography\AesImplementation.cs (1)
264return CreateTransform(new ReadOnlySpan<byte>(rgbKey), rgbIV, encrypting);
System\Security\Cryptography\CngKey.Import.cs (1)
111return Import(new ReadOnlySpan<byte>(keyBlob), curveName, format, provider);
System\Security\Cryptography\CryptographicOperations.cs (9)
132return HashData(hashAlgorithm, new ReadOnlySpan<byte>(source)); 435return HmacData(hashAlgorithm, new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source)); 583return HmacData(hashAlgorithm, new ReadOnlySpan<byte>(key), source); 879new ReadOnlySpan<byte>(key), 880new ReadOnlySpan<byte>(source), 881new ReadOnlySpan<byte>(hash)); 967return VerifyHmac(hashAlgorithm, new ReadOnlySpan<byte>(key), source, new ReadOnlySpan<byte>(hash));
System\Security\Cryptography\ECDsa.cs (1)
1020new ReadOnlySpan<byte>(hash).CopyTo(destination);
System\Security\Cryptography\HashAlgorithm.cs (1)
270new ReadOnlySpan<byte>(final).CopyTo(destination);
System\Security\Cryptography\HashStatic.cs (1)
28return HashData(new ReadOnlySpan<byte>(source));
System\Security\Cryptography\HMACStatic.cs (8)
45return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source)); 114return HashData(new ReadOnlySpan<byte>(key), source); 167return Verify(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source), new ReadOnlySpan<byte>(hash)); 196return Verify(new ReadOnlySpan<byte>(key), source, new ReadOnlySpan<byte>(hash));
System\Security\Cryptography\IncrementalHash.cs (3)
63AppendData(new ReadOnlySpan<byte>(data)); 317return VerifyCurrentHash(new ReadOnlySpan<byte>(hash)); 348return VerifyHashAndReset(new ReadOnlySpan<byte>(hash));
System\Security\Cryptography\Kmac128.cs (4)
227return VerifyCurrentHash(new ReadOnlySpan<byte>(hash)); 265return VerifyHashAndReset(new ReadOnlySpan<byte>(hash)); 310return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source), outputLength, customizationString);
System\Security\Cryptography\Kmac256.cs (4)
227return VerifyCurrentHash(new ReadOnlySpan<byte>(hash)); 265return VerifyHashAndReset(new ReadOnlySpan<byte>(hash)); 310return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source), outputLength, customizationString);
System\Security\Cryptography\KmacStatic.cs (7)
57new ReadOnlySpan<byte>(key), 58new ReadOnlySpan<byte>(source), 59new ReadOnlySpan<byte>(hash), 60new ReadOnlySpan<byte>(customizationString)); // null to empty conversion is expected. 97new ReadOnlySpan<byte>(key), 99new ReadOnlySpan<byte>(hash), 100new ReadOnlySpan<byte>(customizationString)); // null to empty conversion is expected.
System\Security\Cryptography\KmacXof128.cs (4)
227return VerifyCurrentHash(new ReadOnlySpan<byte>(hash)); 265return VerifyHashAndReset(new ReadOnlySpan<byte>(hash)); 310return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source), outputLength, customizationString);
System\Security\Cryptography\KmacXof256.cs (4)
227return VerifyCurrentHash(new ReadOnlySpan<byte>(hash)); 265return VerifyHashAndReset(new ReadOnlySpan<byte>(hash)); 310return HashData(new ReadOnlySpan<byte>(key), new ReadOnlySpan<byte>(source), outputLength, customizationString);
System\Security\Cryptography\Rfc2898DeriveBytes.cs (2)
100new ReadOnlySpan<byte>(password ?? throw new ArgumentNullException(nameof(password))), 101new ReadOnlySpan<byte>(salt ?? throw new ArgumentNullException(nameof(salt))),
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (3)
50return Pbkdf2(new ReadOnlySpan<byte>(password), new ReadOnlySpan<byte>(salt), iterations, hashAlgorithm, outputLength); 169return Pbkdf2(password.AsSpan(), new ReadOnlySpan<byte>(salt), iterations, hashAlgorithm, outputLength);
System\Security\Cryptography\RSA.cs (4)
108new ReadOnlySpan<byte>(result).CopyTo(destination); 123new ReadOnlySpan<byte>(result).CopyTo(destination); 332new ReadOnlySpan<byte>(result).CopyTo(destination); 347new ReadOnlySpan<byte>(result).CopyTo(destination);
System\Security\Cryptography\RSABCrypt.cs (5)
126int written = Encrypt(new ReadOnlySpan<byte>(data), ret.AsSpan(), padding); 137return Decrypt(new ReadOnlySpan<byte>(data), padding); 152new ReadOnlySpan<byte>(hash), 173new ReadOnlySpan<byte>(hash), 174new ReadOnlySpan<byte>(signature),
System\Security\Cryptography\Shake128.cs (2)
65AppendData(new ReadOnlySpan<byte>(data)); 290return HashData(new ReadOnlySpan<byte>(source), outputLength);
System\Security\Cryptography\Shake256.cs (2)
65AppendData(new ReadOnlySpan<byte>(data)); 290return HashData(new ReadOnlySpan<byte>(source), outputLength);
System\Security\Cryptography\SymmetricAlgorithm.cs (10)
498return DecryptEcb(new ReadOnlySpan<byte>(ciphertext), paddingMode); 616return EncryptEcb(new ReadOnlySpan<byte>(plaintext), paddingMode); 739return DecryptCbc(new ReadOnlySpan<byte>(ciphertext), new ReadOnlySpan<byte>(iv), paddingMode); 894return EncryptCbc(new ReadOnlySpan<byte>(plaintext), new ReadOnlySpan<byte>(iv), paddingMode); 1067new ReadOnlySpan<byte>(ciphertext), 1068new ReadOnlySpan<byte>(iv), 1308new ReadOnlySpan<byte>(plaintext), 1309new ReadOnlySpan<byte>(iv),
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (2)
770return Create(issuerCertificate, notBefore, notAfter, new ReadOnlySpan<byte>(serialNumber)); 970return Create(issuerName, generator, notBefore, notAfter, new ReadOnlySpan<byte>(serialNumber));
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (2)
106AddEntry(new ReadOnlySpan<byte>(serialNumber), revocationTime, reason); 229return RemoveEntry(new ReadOnlySpan<byte>(serialNumber));
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (1)
48new ReadOnlySpan<byte>(currentCrl),
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (4)
223return CreateFromSubjectKeyIdentifier(new ReadOnlySpan<byte>(subjectKeyIdentifier)); 280return CreateFromIssuerNameAndSerialNumber(issuerName, new ReadOnlySpan<byte>(serialNumber)); 372new ReadOnlySpan<byte>(keyIdentifier), 374new ReadOnlySpan<byte>(serialNumber));
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
62: this(new ReadOnlySpan<byte>(data))
System\Security\Cryptography\X509Certificates\X509CertificateLoader.netcore.cs (1)
15return LoadCertificate(new ReadOnlySpan<byte>(data));
System.Security.Cryptography.Cose (4)
System\Security\Cryptography\Cose\CoseSign1Message.cs (2)
562return VerifyDetached(key, new ReadOnlySpan<byte>(detachedContent), new ReadOnlySpan<byte>(associatedData));
System\Security\Cryptography\Cose\CoseSignature.cs (2)
278return VerifyDetached(key, new ReadOnlySpan<byte>(detachedContent), new ReadOnlySpan<byte>(associatedData));
System.Security.Cryptography.Pkcs (6)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
34new ReadOnlySpan<byte>(passwordBytes),
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (2)
133new ReadOnlySpan<byte>(passwordBytes), 196Decrypt(new ReadOnlySpan<byte>(passwordBytes));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
27: this(new ReadOnlySpan<byte>(keyId))
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (1)
127Decode(new ReadOnlySpan<byte>(encodedMessage));
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
160Decode(new ReadOnlySpan<byte>(encodedMessage));
System.Text.RegularExpressions (4)
System\Text\RegularExpressions\Symbolic\BitVector.cs (4)
191MemoryExtensions.SequenceEqual(new ReadOnlySpan<ulong>(_blocks), new ReadOnlySpan<ulong>(other._blocks)); 195MemoryExtensions.SequenceCompareTo(new ReadOnlySpan<ulong>(_blocks), new ReadOnlySpan<ulong>(other._blocks));