1 write to Blob
Microsoft.CodeAnalysis (1)
EmbeddedText.cs (1)
61Blob = blob;
22 references to Blob
Microsoft.CodeAnalysis (1)
EmbeddedText.cs (1)
345return new Cci.DebugSourceInfo(Checksum, ChecksumAlgorithm, Blob);
Microsoft.CodeAnalysis.UnitTests (21)
EmbeddedTextTests.cs (21)
85AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob); 97AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob); 110AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob); 123AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob.Take(4)); 124AssertEx.Equal(bytes, text.Blob.Skip(4)); 138AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob.Take(4)); 139AssertEx.Equal(bytes, text.Blob.Skip(4)); 151AssertEx.Equal(new byte[] { 0, 0, 0, 0 }, text.Blob.Take(4)); 152AssertEx.Equal(Encoding.UTF8.GetPreamble().Concat(Encoding.UTF8.GetBytes(SmallSource)), text.Blob.Skip(4)); 165AssertEx.Equal(BitConverter.GetBytes(bytes.Length), text.Blob.Take(4)); 166AssertEx.Equal(bytes, Decompress(text.Blob.Skip(4))); 180AssertEx.Equal(BitConverter.GetBytes(bytes.Length), text.Blob.Take(4)); 181AssertEx.Equal(bytes, Decompress(text.Blob.Skip(4))); 193AssertEx.Equal(BitConverter.GetBytes(Encoding.Unicode.GetPreamble().Length + LargeSource.Length * sizeof(char)), text.Blob.Take(4)); 194AssertEx.Equal(Encoding.Unicode.GetPreamble().Concat(Encoding.Unicode.GetBytes(LargeSource)), Decompress(text.Blob.Skip(4))); 209AssertEx.Equal(expectedEmbedded.Blob, actualEmbedded.Blob); 224AssertEx.Equal(expectedEmbedded.Blob, actualEmbedded.Blob); 244AssertEx.Equal(BitConverter.GetBytes(bytes.Length), text.Blob.Take(4)); 245AssertEx.Equal(bytes, Decompress(text.Blob.Skip(4)));