Implemented interface member:
75 references to Count
Microsoft.CodeAnalysis (21)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Syntax\SyntaxNodeOrTokenListTests.cs (35)
44Assert.Equal(3, list.Count);
62Assert.Equal(4, newList.Count);
66Assert.Equal(5, newList.Count);
70Assert.Equal(4, newList.Count);
74Assert.Equal(4, newList.Count);
78Assert.Equal(4, newList.Count);
82Assert.Equal(4, newList.Count);
86Assert.Equal(5, newList.Count);
90Assert.Equal(5, newList.Count);
94Assert.Equal(5, newList.Count);
98Assert.Equal(5, newList.Count);
102Assert.Equal(2, newList.Count);
105newList = list.RemoveAt(list.Count - 1);
106Assert.Equal(2, newList.Count);
110Assert.Equal(2, newList.Count);
114Assert.Equal(2, newList.Count);
118Assert.Equal(2, newList.Count);
122Assert.Equal(3, newList.Count);
126Assert.Equal(3, newList.Count);
130Assert.Equal(3, newList.Count);
134Assert.Equal(4, newList.Count);
138Assert.Equal(4, newList.Count);
142Assert.Equal(4, newList.Count);
146Assert.Equal(2, newList.Count);
150Assert.Equal(2, newList.Count);
154Assert.Equal(2, newList.Count);
159Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(list.Count + 1, tokenD));
161Assert.Throws<ArgumentOutOfRangeException>(() => list.InsertRange(list.Count + 1, new[] { tokenD }));
163Assert.Throws<ArgumentOutOfRangeException>(() => list.RemoveAt(list.Count));
183Assert.Equal(0, list.Count);
189Assert.Equal(1, newList.Count);
193Assert.Equal(2, newList.Count);
197Assert.Equal(1, newList.Count);
201Assert.Equal(2, newList.Count);
205Assert.Equal(0, newList.Count);
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)