69 references to Equal
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
524AssertEx.Equal(ImmutableArray.Create<string>(), parser.KeyFileSearchPaths); 536AssertEx.Equal(ImmutableArray.Create<string>(), parser.KeyFileSearchPaths); 550AssertEx.Equal(ImmutableArray.Create<string>(), parser.KeyFileSearchPaths); 566AssertEx.Equal(ImmutableArray<string>.Empty, parser.ReferencePaths); 2332AssertEx.Equal(parsedArgs.SourceFiles, parsedArgs.EmbeddedFiles);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
Emit\CompilationEmitTests.cs (4)
1911AssertEx.Equal(refOut1, refOut1); 1921AssertEx.Equal(refOut1, refOut15); 1941AssertEx.Equal(refOut1, refOut2); 1942AssertEx.Equal(refOut1, refOnly2);
Emit\DeterministicTests.cs (12)
220AssertEx.Equal(result1.pe, result2.pe); 221AssertEx.Equal(result1.pdb, result2.pdb); 225AssertEx.Equal(result3.pe, result4.pe); 226AssertEx.Equal(result3.pdb, result4.pdb); 230AssertEx.Equal(result5.pe, result6.pe); 231AssertEx.Equal(result5.pdb, result6.pdb); 247AssertEx.Equal(result1.pe, result2.pe); 248AssertEx.Equal(result1.pdb, result2.pdb); 252AssertEx.Equal(result3.pe, result4.pe); 253AssertEx.Equal(result3.pdb, result4.pdb); 257AssertEx.Equal(result5.pe, result6.pe); 258AssertEx.Equal(result5.pdb, result6.pdb);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
727AssertEx.Equal(results.Diagnostics, fullDiagnostics);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\UsedAssembliesTests.cs (1)
318AssertEx.Equal(result, currentResult);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2483AssertEx.Equal(CreateCompilation(tree).GetDiagnostics(), CreateCompilation(tree).GetDiagnostics());
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
SemanticTokens\SemanticTokensRangesTests.cs (1)
68AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results.Data));
SemanticTokens\SemanticTokensRangeTests.cs (7)
71AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results.Data)); 166AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results)); 214AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results)); 268AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results)); 349AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results)); 456AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results)); 577AssertEx.Equal(ConvertToReadableFormat(testLspServer.ClientCapabilities, expectedResults.Data), ConvertToReadableFormat(testLspServer.ClientCapabilities, results));
Microsoft.CodeAnalysis.UnitTests (23)
CryptoBlobParserTests.cs (1)
140AssertEx.Equal(key, pubKey);
EmbeddedTextTests.cs (16)
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); 209AssertEx.Equal(expectedEmbedded.Blob, actualEmbedded.Blob); 223AssertEx.Equal(expectedEmbedded.Checksum, actualEmbedded.Checksum); 224AssertEx.Equal(expectedEmbedded.Blob, actualEmbedded.Blob); 242AssertEx.Equal(SourceText.CalculateChecksum(bytes, 0, bytes.Length, SourceHashAlgorithm.Sha1), source.GetChecksum()); 243AssertEx.Equal(source.GetChecksum(), text.Checksum); 257AssertEx.Equal(source.GetChecksum(), text.Checksum);
MetadataReferences\MetadataReferenceTests.cs (2)
230AssertEx.Equal(ImmutableArray.Create("a", "b"), r.Properties.Aliases); 322AssertEx.Equal(r.Properties.Aliases, r4.Properties.Aliases);
Text\StringTextTest.cs (4)
238AssertEx.Equal(CryptographicHashProvider.ComputeSha1(bytes), checksum); 253AssertEx.Equal(CryptographicHashProvider.ComputeSha1(bytes), checksum); 265AssertEx.Equal(CryptographicHashProvider.ComputeSha1(bytes), checksum); 280AssertEx.Equal(CryptographicHashProvider.ComputeSha1(bytes), checksum);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (5)
3247AssertEx.Equal(parsedArgs.SourceFiles, parsedArgs.EmbeddedFiles) 3566AssertEx.Equal(ImmutableArray.Create(Of String)(), args.KeyFileSearchPaths) 3578AssertEx.Equal(ImmutableArray.Create(sdkPath), parser.ReferencePaths) 3597AssertEx.Equal(ImmutableArray(Of String).Empty, parser.ReferencePaths) 3606AssertEx.Equal(ImmutableArray.Create(sdkDir.Path), parser.ReferencePaths)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Attributes\InternalsVisibleToAndStrongNameTests.vb (2)
393AssertEx.Equal(identity.PublicKey, s_publicKey) 426AssertEx.Equal(identity.PublicKey, s_publicKey)
Emit\CompilationEmitTests.vb (1)
1071AssertEx.Equal(image1, image2)
Emit\DeterministicTests.vb (5)
63AssertEx.Equal(result1, result2) 67AssertEx.Equal(result3, result4) 71AssertEx.Equal(result5, result6) 85AssertEx.Equal(result1, result2) 89AssertEx.Equal(result3, result4)
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\SerializationValidator.cs (1)
236AssertEx.Equal(collection1.Ids, collection2.Ids);