6 references to Decode
Microsoft.CodeAnalysis (1)
Text\SourceText.cs (1)
206
return LargeText.
Decode
(stream, encoding, checksumAlgorithm, throwIfBinaryDetected, canBeEmbedded);
Microsoft.CodeAnalysis.UnitTests (5)
Text\LargeTextTests.cs (1)
33
return LargeText.
Decode
(stream, encoding ?? Encoding.UTF8, SourceHashAlgorithm.Sha1, throwIfBinaryDetected: true, canBeEmbedded: false);
Text\SourceTextTests.cs (4)
151
verifyChecksumAndContentHash(LargeText.
Decode
(streamNoBOM, encodingNoBOM, checksumAlgorithm, throwIfBinaryDetected: false, canBeEmbedded: false), checksumNoBOM, expectedContentHash);
152
verifyChecksumAndContentHash(LargeText.
Decode
(streamNoBOM, encodingBOM, checksumAlgorithm, throwIfBinaryDetected: false, canBeEmbedded: false), checksumNoBOM, expectedContentHash);
155
verifyChecksumAndContentHash(LargeText.
Decode
(streamBOM, encodingNoBOM, checksumAlgorithm, throwIfBinaryDetected: false, canBeEmbedded: false), checksumBOM, expectedContentHash);
156
verifyChecksumAndContentHash(LargeText.
Decode
(streamBOM, encodingBOM, checksumAlgorithm, throwIfBinaryDetected: false, canBeEmbedded: false), checksumBOM, expectedContentHash);