7 instantiations of DefaultValueDictionary
ILLink.RoslynAnalyzer (7)
DataFlow\LocalStateLattice.cs (3)
49: this(new DefaultValueDictionary<LocalKey, TValue>(defaultValue), 50new DefaultValueDictionary<CaptureId, ValueSet<CapturedReferenceValue>>(default(ValueSet<CapturedReferenceValue>))) 61: this(dictionary, new DefaultValueDictionary<CaptureId, ValueSet<CapturedReferenceValue>>(default(ValueSet<CapturedReferenceValue>)))
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (2)
99return new DefaultValueDictionary<TKey, TValue>(defaultValue); 108return new DefaultValueDictionary<TKey, TValue>(defaultValue, dict);
src\tools\illink\src\ILLink.Shared\DataFlow\DictionaryLattice.cs (2)
24Top = new DefaultValueDictionary<TKey, TValue>(valueLattice.Top); 29var met = new DefaultValueDictionary<TKey, TValue>(left);
24 references to DefaultValueDictionary
ILLink.RoslynAnalyzer (24)
DataFlow\InterproceduralState.cs (2)
25public DefaultValueDictionary<LocalKey, Maybe<TValue>> HoistedLocals; 31DefaultValueDictionary<LocalKey, Maybe<TValue>> hoistedLocals,
DataFlow\LocalStateLattice.cs (7)
41public DefaultValueDictionary<LocalKey, TValue> Dictionary; 46public DefaultValueDictionary<CaptureId, ValueSet<CapturedReferenceValue>> CapturedReferences; 54public LocalState(DefaultValueDictionary<LocalKey, TValue> dictionary, DefaultValueDictionary<CaptureId, ValueSet<CapturedReferenceValue>> capturedReferences) 60public LocalState(DefaultValueDictionary<LocalKey, TValue> dictionary) 99var dictionary = Lattice.Meet(left.Dictionary, right.Dictionary); 100var capturedProperties = CapturedReferenceLattice.Meet(left.CapturedReferences, right.CapturedReferences);
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (9)
19public struct DefaultValueDictionary<TKey, TValue> : IEquatable<DefaultValueDictionary<TKey, TValue>>, 31public DefaultValueDictionary(DefaultValueDictionary<TKey, TValue> other) 47public bool Equals(DefaultValueDictionary<TKey, TValue> other) 70public override bool Equals(object? obj) => obj is DefaultValueDictionary<TKey, TValue> other && Equals(other); 95public DefaultValueDictionary<TKey, TValue> Clone() 115public static bool operator ==(DefaultValueDictionary<TKey, TValue> left, DefaultValueDictionary<TKey, TValue> right) => left.Equals(right); 116public static bool operator !=(DefaultValueDictionary<TKey, TValue> left, DefaultValueDictionary<TKey, TValue> right) => !(left == right);
src\tools\illink\src\ILLink.Shared\DataFlow\DictionaryLattice.cs (6)
12public readonly struct DictionaryLattice<TKey, TValue, TValueLattice> : ILattice<DefaultValueDictionary<TKey, TValue>> 19public DefaultValueDictionary<TKey, TValue> Top { get; } 27public DefaultValueDictionary<TKey, TValue> Meet(DefaultValueDictionary<TKey, TValue> left, DefaultValueDictionary<TKey, TValue> right) 29var met = new DefaultValueDictionary<TKey, TValue>(left);