1 write to Checksum
Microsoft.CodeAnalysis (1)
16 references to Checksum
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.UnitTests (15)
EmbeddedTextTests.cs (15)
84AssertEx.Equal(SourceText.CalculateChecksum(new byte[0], 0, 0, SourceHashAlgorithm.Sha1), text.Checksum);
96AssertEx.Equal(checksum, text.Checksum);
109AssertEx.Equal(checksum, text.Checksum);
122AssertEx.Equal(checksum, text.Checksum);
136AssertEx.Equal(checksum, text.Checksum);
150AssertEx.Equal(source.GetChecksum(), text.Checksum);
164AssertEx.Equal(checksum, text.Checksum);
178AssertEx.Equal(checksum, text.Checksum);
192AssertEx.Equal(source.GetChecksum(), text.Checksum);
208AssertEx.Equal(expectedEmbedded.Checksum, actualEmbedded.Checksum);
223AssertEx.Equal(expectedEmbedded.Checksum, actualEmbedded.Checksum);
243AssertEx.Equal(source.GetChecksum(), text.Checksum);
257AssertEx.Equal(source.GetChecksum(), text.Checksum);