45 references to AssertEqual
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Compilation\ForEachStatementInfoTests.cs (2)
51
EqualityTesting.
AssertEqual
(default(ForEachStatementInfo), default(ForEachStatementInfo));
52
EqualityTesting.
AssertEqual
(new ForEachStatementInfo(isAsync: true, ge1, mn1, cur1, disp1, e1, conv1, conv1), new ForEachStatementInfo(isAsync: true, ge1, mn1, cur1, disp1, e1, conv1, conv1));
Compilation\QueryClauseInfoTests.cs (5)
24
EqualityTesting.
AssertEqual
(default(QueryClauseInfo), default(QueryClauseInfo));
26
EqualityTesting.
AssertEqual
(
34
EqualityTesting.
AssertEqual
(
42
EqualityTesting.
AssertEqual
(
66
EqualityTesting.
AssertEqual
(
Compilation\TypeInfoTests.cs (4)
25
EqualityTesting.
AssertEqual
(default(TypeInfo), default(TypeInfo));
27
EqualityTesting.
AssertEqual
(new TypeInfo(obj.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.Annotated), int32, nullable, notNullable),
42
EqualityTesting.
AssertEqual
(new TypeInfo(int32.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.None), int32.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.None), default, default),
47
EqualityTesting.
AssertEqual
(new TypeInfo(intEnum1.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.None), int32.WithNullableAnnotation(CodeAnalysis.NullableAnnotation.None), default, default),
Symbols\TypedConstantTests.cs (5)
74
EqualityTesting.
AssertEqual
(default(TypedConstant), default(TypedConstant));
76
EqualityTesting.
AssertEqual
(
83
EqualityTesting.
AssertEqual
(
87
EqualityTesting.
AssertEqual
(
91
EqualityTesting.
AssertEqual
(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
Syntax\ChildSyntaxListTests.cs (4)
23
EqualityTesting.
AssertEqual
(default(ChildSyntaxList), default(ChildSyntaxList));
24
EqualityTesting.
AssertEqual
(new ChildSyntaxList(node1), new ChildSyntaxList(node1));
33
EqualityTesting.
AssertEqual
(default(ChildSyntaxList.Reversed), default(ChildSyntaxList.Reversed));
34
EqualityTesting.
AssertEqual
(new ChildSyntaxList(node1).Reverse(), new ChildSyntaxList(node1).Reverse());
Syntax\SeparatedSyntaxListTests.cs (3)
25
EqualityTesting.
AssertEqual
(default(SeparatedSyntaxList<CSharpSyntaxNode>), default(SeparatedSyntaxList<CSharpSyntaxNode>));
27
EqualityTesting.
AssertEqual
(
31
EqualityTesting.
AssertEqual
(
Syntax\SyntaxListTests.cs (2)
30
EqualityTesting.
AssertEqual
(default(SyntaxList<CSharpSyntaxNode>), default(SyntaxList<CSharpSyntaxNode>));
31
EqualityTesting.
AssertEqual
(new SyntaxList<CSharpSyntaxNode>(node1), new SyntaxList<CSharpSyntaxNode>(node1));
Syntax\SyntaxNodeOrTokenListTests.cs (3)
24
EqualityTesting.
AssertEqual
(default(SeparatedSyntaxList<CSharpSyntaxNode>), default(SeparatedSyntaxList<CSharpSyntaxNode>));
25
EqualityTesting.
AssertEqual
(new SyntaxNodeOrTokenList(node1, 0), new SyntaxNodeOrTokenList(node1, 0));
26
EqualityTesting.
AssertEqual
(new SyntaxNodeOrTokenList(node1, 0), new SyntaxNodeOrTokenList(node1, 1));
Syntax\SyntaxTokenListTests.cs (6)
23
EqualityTesting.
AssertEqual
(default(SyntaxTokenList), default(SyntaxTokenList));
25
EqualityTesting.
AssertEqual
(new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0), new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0));
31
EqualityTesting.
AssertEqual
(new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 1, 0), new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0));
39
EqualityTesting.
AssertEqual
(default(SyntaxTokenList).Reverse(), default(SyntaxTokenList).Reverse());
41
EqualityTesting.
AssertEqual
(new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0).Reverse(), new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0).Reverse());
47
EqualityTesting.
AssertEqual
(new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 1, 0).Reverse(), new SyntaxTokenList(node1, node1.ReturnKeyword.Node, 0, 0).Reverse());
Syntax\SyntaxTriviaListTests.cs (6)
24
EqualityTesting.
AssertEqual
(default(SyntaxTriviaList), default(SyntaxTriviaList));
25
EqualityTesting.
AssertEqual
(new SyntaxTriviaList(node1, node1.Node, 0, 0), new SyntaxTriviaList(node1, node1.Node, 0, 0));
31
EqualityTesting.
AssertEqual
(new SyntaxTriviaList(node1, node1.Node, 1, 0), new SyntaxTriviaList(node1, node1.Node, 0, 0));
40
EqualityTesting.
AssertEqual
(default(SyntaxTriviaList.Reversed), default(SyntaxTriviaList.Reversed));
41
EqualityTesting.
AssertEqual
(new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse());
47
EqualityTesting.
AssertEqual
(new SyntaxTriviaList(node1, node1.Node, 1, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse());
Microsoft.CodeAnalysis.UnitTests (5)
CommonTypedConstantTests.cs (5)
39
EqualityTesting.
AssertEqual
(default(TypedConstant), default(TypedConstant));
41
EqualityTesting.
AssertEqual
(
48
EqualityTesting.
AssertEqual
(
52
EqualityTesting.
AssertEqual
(
56
EqualityTesting.
AssertEqual
(