1 write to _mergedInstance
Microsoft.Maui.Controls (1)
ResourceDictionary.cs (1)
75
_mergedInstance
= sourceInstance;
18 references to _mergedInstance
Microsoft.Maui.Controls (18)
ResourceDictionary.cs (18)
76
OnValuesChanged(
_mergedInstance
.ToArray());
169
|| (
_mergedInstance
!= null &&
_mergedInstance
.Contains(item));
180
get { return _innerDictionary.Count + (
_mergedInstance
?.Count ?? 0); }
218
if (
_mergedInstance
!= null &&
_mergedInstance
.ContainsKey(index))
219
return
_mergedInstance
[index];
246
if (
_mergedInstance
is null)
249
return
_mergedInstance
.Keys;
250
return new ReadOnlyCollection<string>(_innerDictionary.Keys.Concat(
_mergedInstance
.Keys).ToList());
257
return _innerDictionary.Remove(key) || (
_mergedInstance
?.Remove(key) ?? false);
265
if (
_mergedInstance
is null)
268
return
_mergedInstance
.Values;
269
return new ReadOnlyCollection<object>(_innerDictionary.Values.Concat(
_mergedInstance
.Values).ToList());
298
if (
_mergedInstance
!= null)
299
foreach (var r in
_mergedInstance
.MergedResources)
314
|| (
_mergedInstance
!= null &&
_mergedInstance
.TryGetValueAndSource(key, out value, out source))