1 type derived from StaticResourceExtension
PresentationFramework (1)
System\Windows\Markup\BamlRecordReader.cs (1)
5658internal class StaticResourceHolder : StaticResourceExtension
7 instantiations of StaticResourceExtension
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1708value = new StaticResourceExtension(param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
9443bamlType.DefaultConstructor = delegate() { return new System.Windows.StaticResourceExtension(); }; 9448return new System.Windows.StaticResourceExtension(
System\Windows\Markup\BamlRecordReader.cs (2)
1437instance = new StaticResourceExtension(param); 2400valueObject = new StaticResourceExtension(innerExtensionValue);
System\Windows\Markup\KnownTypes.cs (1)
1566case KnownElements.StaticResourceExtension: o = new System.Windows.StaticResourceExtension(); break;
System\Windows\ResourceDictionary.cs (1)
1200StaticResourceExtension staticResourceWorker = new StaticResourceExtension();
44 references to StaticResourceExtension
PresentationFramework (44)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (14)
337internal static LookupResult RequestLookupResult(StaticResourceExtension requester) 374if (result.Requester.GetType() == typeof(StaticResourceExtension)) 414internal static void RevertRequest(StaticResourceExtension requester, bool success) 424if (result.Requester.GetType() == typeof(StaticResourceExtension)) 435_resultCache = new Dictionary<WeakReferenceKey<StaticResourceExtension>, WeakReference<ResourceDictionary>>(); 438WeakReferenceKey<StaticResourceExtension> wrKey = new WeakReferenceKey<StaticResourceExtension>(requester); 505List<WeakReferenceKey<StaticResourceExtension>> toRemove = null; 506foreach (KeyValuePair<WeakReferenceKey<StaticResourceExtension>, WeakReference<ResourceDictionary>> 514toRemove = new List<WeakReferenceKey<StaticResourceExtension>>(); 522foreach (WeakReferenceKey<StaticResourceExtension> wrKey in toRemove) 535private static Dictionary<WeakReferenceKey<StaticResourceExtension>, WeakReference<ResourceDictionary>> 542public StaticResourceExtension Requester { get; set; } 545public LookupResult(StaticResourceExtension requester) { Requester = requester; }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
697case 603: t = () => typeof(StaticResourceExtension); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
828InjectPropertyAndFrameIfNeeded(_context.SchemaContext.GetXamlType(typeof(StaticResourceExtension)), 0);
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
684= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9441typeof(System.Windows.StaticResourceExtension),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
375= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\BamlRecordReader.cs (5)
1849StaticResourceExtension staticResource = (StaticResourceExtension)GetCurrentObjectData(); 1862StaticResourceExtension staticResource = (StaticResourceExtension)GetExtensionValue((IOptimizedMarkupExtension)srRecord, null); 2417valueTypeName = typeof(StaticResourceExtension).FullName;
System\Windows\Markup\KnownTypes.cs (1)
6157case KnownElements.StaticResourceExtension: t = typeof(System.Windows.StaticResourceExtension); break;
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
216typeof(System.Windows.StaticResourceExtension),
System\Windows\ResourceDictionary.cs (3)
1161XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension)); 1200StaticResourceExtension staticResourceWorker = new StaticResourceExtension(); 1264private void SetOptimizedStaticResources(IList<object> staticResources, IServiceProvider serviceProvider, StaticResourceExtension staticResourceWorker)
System\Windows\Setter.cs (3)
241if (me is StaticResourceExtension) 243var sr = me as StaticResourceExtension;
System\Windows\TemplateContent.cs (12)
413if (xamlReader.Type.UnderlyingType == typeof(StaticResourceExtension)) 682StaticResourceExtension staticResource = value as StaticResourceExtension; 695if (staticResource.GetType() == typeof(StaticResourceExtension)) 750private StaticResourceExtension LoadTimeBindUnshareableStaticResource(Xaml.XamlReader xamlReader, XamlObjectWriter writer) 753Debug.Assert(xamlReader.Type.UnderlyingType == typeof(StaticResourceExtension)); 774StaticResourceExtension resource = writer.Result as StaticResourceExtension; 945if (typeof(StaticResourceExtension).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 978if (xamlReader.Value != null && typeof(StaticResourceExtension).IsAssignableFrom(xamlReader.Value.GetType())) 1117else if ((value is StaticResourceExtension) || (value is StaticResourceHolder)) 1171!typeof(StaticResourceExtension).IsAssignableFrom(type))