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)
42Assert.Equal(3, list.Count);
60Assert.Equal(4, newList.Count);
64Assert.Equal(5, newList.Count);
68Assert.Equal(4, newList.Count);
72Assert.Equal(4, newList.Count);
76Assert.Equal(4, newList.Count);
80Assert.Equal(4, newList.Count);
84Assert.Equal(5, newList.Count);
88Assert.Equal(5, newList.Count);
92Assert.Equal(5, newList.Count);
96Assert.Equal(5, newList.Count);
100Assert.Equal(2, newList.Count);
103newList = list.RemoveAt(list.Count - 1);
104Assert.Equal(2, newList.Count);
108Assert.Equal(2, newList.Count);
112Assert.Equal(2, newList.Count);
116Assert.Equal(2, newList.Count);
120Assert.Equal(3, newList.Count);
124Assert.Equal(3, newList.Count);
128Assert.Equal(3, newList.Count);
132Assert.Equal(4, newList.Count);
136Assert.Equal(4, newList.Count);
140Assert.Equal(4, newList.Count);
144Assert.Equal(2, newList.Count);
148Assert.Equal(2, newList.Count);
152Assert.Equal(2, newList.Count);
157Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(list.Count + 1, tokenD));
159Assert.Throws<ArgumentOutOfRangeException>(() => list.InsertRange(list.Count + 1, new[] { tokenD }));
161Assert.Throws<ArgumentOutOfRangeException>(() => list.RemoveAt(list.Count));
180Assert.Equal(0, list.Count);
186Assert.Equal(1, newList.Count);
190Assert.Equal(2, newList.Count);
194Assert.Equal(1, newList.Count);
198Assert.Equal(2, newList.Count);
202Assert.Equal(0, newList.Count);
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)