1 write to s_instances
Microsoft.Maui.Controls (1)
ResourceDictionary.cs (1)
393 internal static void ClearCache() => s_instances = new ConditionalWeakTable<Type, ResourceDictionary>();
2 references to s_instances
Microsoft.Maui.Controls (2)
ResourceDictionary.cs (2)
49 var instance = s_instances.GetValue(typeof(T), static _ => new T()); 69 return s_instances.GetValue(type, _ => (ResourceDictionary)Activator.CreateInstance(type));