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