7 instantiations of Struct
Microsoft.CodeAnalysis.UnitTests (7)
Collections\SegmentedCollectionsMarshalTests.cs (7)
58itemRef = new Struct() { Value = 7, Property = 8 }; 134{ 1, new Struct() }, 156dict.Add(i, new Struct()); 177dict = dict.Add(2, new Struct() { Value = 1, Property = 2 }); 294itemRef = new Struct() { Value = 7, Property = 8 }; 367dict.Add(1, new Struct()); 388dict.Add(i, new Struct());
13 references to Struct
Microsoft.CodeAnalysis.UnitTests (13)
Collections\SegmentedCollectionsMarshalTests.cs (13)
20var dict = new SegmentedDictionary<int, Struct> 31Struct itemVal = dict[1]; 45ref Struct itemRef = ref SegmentedCollectionsMarshal.GetValueRefOrNullRef(dict, 2); 132var dict = new SegmentedDictionary<int, Struct> 139ref Struct itemRef = ref SegmentedCollectionsMarshal.GetValueRefOrNullRef(dict, 1); 175var dict = ImmutableSegmentedDictionary.Create<int, Struct>(); 184Struct itemVal = dict[1]; 192ref readonly Struct itemRef = ref SegmentedCollectionsMarshal.GetValueRefOrNullRef(dict, 2); 258var dict = ImmutableSegmentedDictionary.CreateBuilder<int, Struct>(); 267Struct itemVal = dict[1]; 281ref Struct itemRef = ref SegmentedCollectionsMarshal.GetValueRefOrNullRef(dict, 2); 366var dict = ImmutableSegmentedDictionary.CreateBuilder<int, Struct>(); 371ref Struct itemRef = ref SegmentedCollectionsMarshal.GetValueRefOrNullRef(dict, 1);