1 type derived from StaticExtension
PresentationFramework (1)
MS\Internal\Markup\StaticExtension.cs (1)
23internal class StaticExtension : System.Windows.Markup.StaticExtension
31 instantiations of StaticExtension
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
888var staticExtension = new System.Windows.Markup.StaticExtension(propertyName); 1668new System.Windows.Markup.StaticExtension(staticExParam); 1729System.Windows.Markup.StaticExtension staticExtension = new System.Windows.Markup.StaticExtension((string)param);
System\Windows\Markup\BamlRecordReader.cs (2)
1454instance = new StaticExtension((string)param); 2368StaticExtension se = new StaticExtension();
System\Windows\Markup\KnownTypes.cs (1)
1565case KnownElements.StaticExtension: o = new System.Windows.Markup.StaticExtension(); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
934return new StaticExtension($"{typeName}.{enumValue}");
System\Windows\SystemKeyConverter.cs (1)
152return new StaticExtension($"{systemClassName}.{GetSystemKeyName(keyId)}");
System.Xaml.Tests (23)
System\Windows\Markup\StaticExtensionTests.cs (22)
17var extension = new StaticExtension(); 27var extension = new StaticExtension(member); 35Assert.Throws<ArgumentNullException>("member", () => new StaticExtension(null)); 45var extension = new StaticExtension(member) { MemberType = typeof(CustomType) }; 56var extension = new StaticExtension("Type." + member); 70var extension = new StaticExtension("Red") 80var extension = new StaticExtension("Type.Red"); 94var extension = new StaticExtension(); 104var extension = new StaticExtension(member); 118var extension = new StaticExtension("type.member"); 127var extension = new StaticExtension("type.member"); 142var extension = new StaticExtension(member) { MemberType = typeof(CustomType) }; 153var extension = new StaticExtension(member); 173var extension = new StaticExtension { Member = value }; 180var extension = new StaticExtension(); 188var extension = new StaticExtension { MemberType = value }; 195var extension = new StaticExtension(); 206var extension = new StaticExtension("member"); 214var extension = new StaticExtension("member"); 224var extension = new StaticExtension("member"); 233var extension = new StaticExtension("member"); 241var extension = new StaticExtension("member");
System\Windows\Markup\TypeExtensionTests.cs (1)
202var extension = new StaticExtension("member");
36 references to StaticExtension
PresentationFramework (10)
OtherAssemblyAttrs.cs (1)
16[assembly: TypeForwardedTo(typeof(System.Windows.Markup.StaticExtension))]
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
696case 602: t = () => typeof(StaticExtension); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
888var staticExtension = new System.Windows.Markup.StaticExtension(propertyName); 1667System.Windows.Markup.StaticExtension staticExtension = 1729System.Windows.Markup.StaticExtension staticExtension = new System.Windows.Markup.StaticExtension((string)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9421typeof(System.Windows.Markup.StaticExtension),
System\Windows\Markup\BamlRecordReader.cs (2)
2368StaticExtension se = new StaticExtension(); 2411valueTypeName = typeof(StaticExtension).FullName;
System\Windows\Markup\KnownTypes.cs (1)
6156case KnownElements.StaticExtension: t = typeof(System.Windows.Markup.StaticExtension); break;
System\Windows\TemplateContent.cs (1)
1024&& typeofValue != typeof(StaticExtension))
System.Xaml (4)
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (3)
31if (!(value is StaticExtension staticExtension)) 33throw new ArgumentException(SR.Format(SR.MustBeOfType, nameof(value), nameof(StaticExtension))); 37typeof(StaticExtension).GetConstructor(new Type[] { typeof(string) }),
System\Xaml\XamlLanguage.cs (1)
66new Lazy<XamlType>(() => GetXamlType(typeof(StaticExtension)));
System.Xaml.Tests (22)
System\Windows\Markup\StaticExtensionTests.cs (21)
17var extension = new StaticExtension(); 27var extension = new StaticExtension(member); 45var extension = new StaticExtension(member) { MemberType = typeof(CustomType) }; 56var extension = new StaticExtension("Type." + member); 70var extension = new StaticExtension("Red") 80var extension = new StaticExtension("Type.Red"); 94var extension = new StaticExtension(); 104var extension = new StaticExtension(member); 118var extension = new StaticExtension("type.member"); 127var extension = new StaticExtension("type.member"); 142var extension = new StaticExtension(member) { MemberType = typeof(CustomType) }; 153var extension = new StaticExtension(member); 173var extension = new StaticExtension { Member = value }; 180var extension = new StaticExtension(); 188var extension = new StaticExtension { MemberType = value }; 195var extension = new StaticExtension(); 206var extension = new StaticExtension("member"); 214var extension = new StaticExtension("member"); 224var extension = new StaticExtension("member"); 233var extension = new StaticExtension("member"); 241var extension = new StaticExtension("member");
System\Windows\Markup\TypeExtensionTests.cs (1)
202var extension = new StaticExtension("member");