3 writes to DefaultValue
ILLink.RoslynAnalyzer (3)
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (3)
27
public DefaultValueDictionary(TValue defaultValue) => (Dictionary,
DefaultValue
) = (null, defaultValue);
29
private DefaultValueDictionary(TValue defaultValue, Dictionary<TKey, TValue> dictionary) => (Dictionary,
DefaultValue
) = (dictionary, defaultValue);
34
DefaultValue
= other.DefaultValue;
8 references to DefaultValue
ILLink.RoslynAnalyzer (8)
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (8)
34
DefaultValue = other.
DefaultValue
;
37
public TValue Get(TKey key) => Dictionary?.TryGetValue(key, out var value) == true ? value :
DefaultValue
;
41
if (value.Equals(
DefaultValue
))
49
if (!
DefaultValue
.Equals(other.
DefaultValue
))
90
sb.AppendLine().Append("\t_ -> ").Append(
DefaultValue
.ToString());
97
var defaultValue =
DefaultValue
is IDeepCopyValue<TValue> copyDefaultValue ? copyDefaultValue.DeepCopy() :
DefaultValue
;