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