16 references to Create
Microsoft.CodeAnalysis.UnitTests (16)
Collections\ImmutableSegmentedListBuilderTest.cs (4)
249
ICollection<int> builder = ImmutableSegmentedList.
Create
<int>().ToBuilder();
296
ICollection<int> builder = ImmutableSegmentedList.
Create
<int>().ToBuilder();
304
ICollection collection = ImmutableSegmentedList.
Create
<int>().ToBuilder();
311
IList list = ImmutableSegmentedList.
Create
<int>().ToBuilder();
Collections\ImmutableSegmentedListTest.cs (12)
120
Assert.NotEqual(ImmutableSegmentedList.
Create
<int>().GetHashCode(), ImmutableSegmentedList.Create(5).GetHashCode());
170
var emptyList = ImmutableSegmentedList.
Create
<string>();
579
ImmutableSegmentedList<string> list = ImmutableSegmentedList.
Create
<string>();
654
Assert.True(IsSame(ImmutableSegmentedList.
Create
<int>(), ImmutableSegmentedList.
Create
<int>().RemoveRange(new[] { 1 })));
714
var emptyList = ImmutableSegmentedList.
Create
<int>();
724
var emptyList = ImmutableSegmentedList.
Create
<int>();
738
ICollection collection = ImmutableSegmentedList.
Create
<int>();
745
IList list = ImmutableSegmentedList.
Create
<int>();
759
IList<int> list = ImmutableSegmentedList.
Create
<int>();
772
DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedList.
Create
<int>());
786
Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedList.
Create
<double>());