55 references to Equal
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
3603AssertEx.Equal( 3630AssertEx.Equal(
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
1214AssertEx.Equal(image1.GetBuffer(), image2.GetBuffer(), message: $"Expecting match for includePrivateMembers={includePrivateMembers} case, but differences were found.");
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\BreakpointSpansTests.cs (1)
81AssertEx.Equal(expectedSpans, actualSpans,
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
115AssertEx.Equal(Array.Empty<SyntaxKind>(), unhandledKinds);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
900AssertEx.Equal(new[] { "hello", "hello" }, result);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.cs (1)
3460AssertEx.Equal(expectedKinds, actualParts.Select(p => p.Kind), itemInspector: p => $" SymbolDisplayPartKind.{p}");
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
469AssertEx.Equal(
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
396AssertEx.Equal(expectedRows, reader.GetEditAndContinueLogEntries(), itemInspector: EncLogRowToString);
EditAndContinue\MatchingPair.cs (1)
43=> AssertEx.Equal(this, actual, itemSeparator: ",\r\n");
Microsoft.CodeAnalysis.Features.UnitTests (1)
FindUsages\DefinitionItemFactoryTests.cs (1)
78=> AssertEx.Equal(expected, actual, message: PropertyMessage(propertyName), itemInspector: Inspect);
Microsoft.CodeAnalysis.Test.Utilities (36)
Assert\AssertEx.cs (7)
178Equal((IEnumerable<T>)expected, actual, comparer, message); 183=> Equal(expected, actual, comparer: null, message: null, itemInspector: null); 193Equal(expected, actual, comparer, message, itemSeparator); 198=> Equal(expected, actual, comparer: null, message: null, itemInspector: null); 202Equal(expected, (IEnumerable<T>)actual, comparer, message, itemSeparator); 893AssertEx.Equal( 901AssertEx.Equal(
Compilation\TestOperationVisitor.cs (29)
128AssertEx.Equal(operation.Declarations, operation.ChildOperations); 217AssertEx.Equal(new[] { operation.Value }, operation.ChildOperations); 232AssertEx.Equal(new[] { operation.Value }, operation.ChildOperations); 422AssertEx.Equal(new[] { operation.LockedValue, operation.Body }, operation.ChildOperations); 464AssertEx.Equal(new[] { operation.Resources, operation.Body }, operation.ChildOperations); 484AssertEx.Equal(new[] { operation.Variables, operation.Body }, operation.ChildOperations); 502AssertEx.Equal(new[] { operation.Group, operation.Aggregation }, operation.ChildOperations); 514AssertEx.Equal(new[] { operation.Value, operation.Body }, operation.ChildOperations); 607AssertEx.Equal(new[] { operation.Instance, operation.Argument }, operation.ChildOperations); 616AssertEx.Equal(new[] { operation.Instance, operation.Argument }, operation.ChildOperations); 723AssertEx.Equal(new[] { operation.EventReference, operation.HandlerValue }, operation.ChildOperations); 730AssertEx.Equal(new[] { operation.Operation, operation.WhenNotNull }, operation.ChildOperations); 790AssertEx.Equal(new[] { operation.LeftOperand, operation.RightOperand }, operation.ChildOperations); 835AssertEx.Equal(new[] { operation.LeftOperand, operation.RightOperand }, operation.ChildOperations); 893AssertEx.Equal(new[] { operation.Condition, operation.WhenTrue, operation.WhenFalse }, operation.ChildOperations); 897AssertEx.Equal(new[] { operation.Condition, operation.WhenTrue }, operation.ChildOperations); 904AssertEx.Equal(new[] { operation.Value, operation.WhenNull }, operation.ChildOperations); 911AssertEx.Equal(new[] { operation.Target, operation.Value }, operation.ChildOperations); 1093AssertEx.Equal(new[] { operation.InitializedMember, operation.Initializer }, operation.ChildOperations); 1158AssertEx.Equal(new[] { operation.Target, operation.Value }, operation.ChildOperations); 1284AssertEx.Equal(operation.Parts, operation.ChildOperations); 1332AssertEx.Equal(new[] { operation.Left, operation.Right }, operation.ChildOperations); 1525AssertEx.Equal(children, operation.ChildOperations); 1568AssertEx.Equal(children, operation.ChildOperations); 1574AssertEx.Equal(new[] { operation.Value, operation.Pattern }, operation.ChildOperations); 1585AssertEx.Equal(new[] { operation.Pattern, operation.Guard }, operation.ChildOperations); 1627AssertEx.Equal(new[] { operation.MinimumValue, operation.MaximumValue }, operation.ChildOperations); 1666AssertEx.Equal(new[] { operation.BlockBody, operation.ExpressionBody }, operation.ChildOperations); 1785AssertEx.Equal(operation.Clauses, operation.ChildOperations);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\AssemblyReferencesTests.vb (1)
352AssertEx.Equal(expected, reader.GetAssemblyReferences().Select(Function(aref) $"{reader.GetString(aref.Name)}, {aref.Version}"))
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Interactive\Commands\InteractiveCommandHandlerTests.cs (1)
190AssertEx.Equal(expectedSubmissions, submissions);
Roslyn.Test.PdbUtilities (4)
EditAndContinue\EditAndContinueTest.GenerationVerifier.cs (4)
85AssertEx.Equal( 93AssertEx.Equal( 101AssertEx.Equal( 109AssertEx.Equal(
SemanticSearch.BuildTask.UnitTests (2)
GenerateFilteredReferenceAssembliesTaskTests.cs (2)
46AssertEx.Equal(new[] { ("expected metadata name", 1) }, errors); 60AssertEx.Equal(new[] { ($"unexpected symbol kind: '{kind}'", 1) }, errors);