61 references to Equal
InteractiveHost.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
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);
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)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.UnitTests (29)
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\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.Emit.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)