59 references to Equal
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
97AssertEx.Equal(expectedOutput, output);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\CollectionExpressionTests.cs (3)
14294AssertEx.Equal(new[] { "<>y__InlineArray2", "<>y__InlineArray3" }, getInlineArrayTypeNames(module)); 14322AssertEx.Equal(new[] { "<>y__InlineArray3" }, getInlineArrayTypeNames(module)); 14350AssertEx.Equal(new[] { $"<>y__InlineArray{n}" }, getInlineArrayTypeNames(module));
Semantics\RecordTests.cs (1)
12493AssertEx.Equal(expectedModifiers, returnType.CustomModifiers);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\CompilationAPITests.cs (7)
2690AssertEx.Equal(Array.Empty<CodeAnalysis.NullableAnnotation>(), GetAnonymousTypeNullableAnnotations(type)); 2703AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None }, GetAnonymousTypeNullableAnnotations(type)); 2709AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.NotAnnotated, CodeAnalysis.NullableAnnotation.Annotated }, GetAnonymousTypeNullableAnnotations(type)); 3039AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None }, type.TypeArgumentNullableAnnotations); 3047AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.Annotated, CodeAnalysis.NullableAnnotation.NotAnnotated }, type.TypeArgumentNullableAnnotations); 3074AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None }, type.TypeArgumentNullableAnnotations); 3082AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.Annotated, CodeAnalysis.NullableAnnotation.NotAnnotated }, type.TypeArgumentNullableAnnotations);
Compilation\UsedAssembliesTests.cs (2)
102AssertEx.Equal(expected, used); 283AssertEx.Equal(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Assembly), comp.GetUsedAssemblyReferences());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Diagnostics\LineSpanDirectiveTests.cs (10)
50AssertEx.Equal(expectedLineMappings, actualLineMappings); 96AssertEx.Equal(expectedLineMappings, actualLineMappings); 153AssertEx.Equal(expectedLineMappings, actualLineMappings); 192AssertEx.Equal(expectedLineMappings, actualLineMappings); 243AssertEx.Equal(expectedLineMappings, actualLineMappings); 262AssertEx.Equal(expectedVisibility, actualVisibility); 311AssertEx.Equal(expectedLineMappings, actualLineMappings); 363AssertEx.Equal(expectedLineMappings, actualLineMappings); 424AssertEx.Equal(expectedLineMappings, actualLineMappings); 580AssertEx.Equal(expectedLineMappings, actualLineMappings);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1382AssertEx.Equal(resolvedReferences, used);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\PatternMatcherTests.cs (2)
118=> Roslyn.Test.Utilities.AssertEx.Equal(parts, BreakIntoWordParts(original)); 121=> Roslyn.Test.Utilities.AssertEx.Equal(parts, BreakIntoCharacterParts(original));
Microsoft.CodeAnalysis.Scripting.UnitTests (1)
ScriptOptionsTests.cs (1)
114AssertEx.Equal(new[] { "", "blah.", "b\0lah", ".blah", "b\0lah", ".blah" }, options.Imports);
Microsoft.CodeAnalysis.Test.Utilities (1)
InstrumentationChecker.cs (1)
338AssertEx.Equal(expectedSnippets, actualSnippets, new SnippetComparer(), $"Validation of method {method} failed.");
Microsoft.CodeAnalysis.UnitTests (29)
CryptoBlobParserTests.cs (3)
118AssertEx.Equal(TestResources.General.snPublicKey, pubKey); 129AssertEx.Equal(TestResources.General.snPublicKey2, pubKey); 158AssertEx.Equal(snBlob, pubKey);
EmbeddedTextTests.cs (3)
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);
Emit\CustomDebugInfoTests.cs (5)
209AssertEx.Equal(new byte[] { 0xFF, 0xC0, 0x00, 0x4E, 0x20, 0x81, 0xC0, 0x00, 0x4E, 0x1F, 0x0A, 0x9A, 0x00, 0x0A }, bytes); 238AssertEx.Equal(new byte[] { 0x7C, 0x80, 0xC8, 0x03, 0x64, 0x80, 0xD2, 0x00, 0x80, 0xDC, 0x03, 0x80, 0x96, 0x02, 0x14, 0x01 }, bytes); 261AssertEx.Equal(new byte[] { 0x00, 0x01, 0x00, 0x15, 0x01 }, bytes); 285AssertEx.Equal(new byte[] { 0x0B, 0x01, 0x00 }, bytes); 315AssertEx.Equal(new byte[] { 0x06, 0x00, 0x02, 0x10, 0x04, 0x10, 0x00, 0x10, 0x06, 0x20, 0x08, 0x20, 0x0A, 0x30 }, bytes);
MetadataReferences\AssemblyIdentityTests.cs (10)
161AssertEx.Equal(PublicKey1, id.PublicKey); 162AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 173AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 183AssertEx.Equal(PublicKey1, id.PublicKey); 184AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 194AssertEx.Equal(PublicKey1, id.PublicKey); 195AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 265AssertEx.Equal(PublicKey1, id.PublicKey); 266AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 372AssertEx.Equal(PublicKeyToken1, aiPkt);
MetadataReferences\MetadataReferencePropertiesTests.cs (1)
26AssertEx.Equal(new[] { "\\/[.'\":_)??\t\n*#$@^%*&)", "goo" }, m.Aliases);
MetadataReferences\MetadataReferenceTests.cs (7)
302AssertEx.Equal(new[] { "a" }, r.Properties.Aliases); 314AssertEx.Equal(new[] { "b", "c" }, r3.Properties.Aliases); 332AssertEx.Equal(new[] { "x" }, r6.Properties.Aliases); 349AssertEx.Equal(new[] { "a", "b" }, r1.Properties.Aliases); 361AssertEx.Equal(new[] { "x" }, r3.Properties.Aliases); 380AssertEx.Equal(new[] { "a", "b" }, r1.Properties.Aliases); 392AssertEx.Equal(new[] { "x" }, r3.Properties.Aliases);
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
UsedAssembliesTests.vb (1)
90AssertEx.Equal(expected, used)