13 references to AsSegmentedDictionary
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+PrivateMarshal.cs (1)
55
/// <inheritdoc cref="SegmentedCollectionsMarshal.
AsSegmentedDictionary
{TKey, TValue}(ImmutableSegmentedDictionary{TKey, TValue})"/>
Microsoft.CodeAnalysis.UnitTests (12)
Collections\SegmentedCollectionsMarshalTests.cs (12)
728
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<int, int>(default));
729
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<int, int?>(default));
730
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<Guid, Guid>(default));
731
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<Guid, Guid?>(default));
732
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<string, string>(default));
733
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<CustomClass, CustomClass>(default));
734
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<ManagedCustomStruct, ManagedCustomStruct>(default));
735
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<ManagedCustomStruct, ManagedCustomStruct?>(default));
736
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<UnmanagedCustomStruct, UnmanagedCustomStruct>(default));
737
Assert.Null(SegmentedCollectionsMarshal.
AsSegmentedDictionary
<UnmanagedCustomStruct, UnmanagedCustomStruct?>(default));
745
SegmentedDictionary<int, T>? dictionary = SegmentedCollectionsMarshal.
AsSegmentedDictionary
(ImmutableSegmentedDictionary<int, T>.Empty);
769
SegmentedDictionary<int, T>? dictionary = SegmentedCollectionsMarshal.
AsSegmentedDictionary
(immutableDictionary);