1 type derived from StaticExtension
PresentationFramework (1)
MS\Internal\Markup\StaticExtension.cs (1)
30
internal class StaticExtension : System.Windows.Markup.
StaticExtension
31 instantiations of StaticExtension
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
893
var staticExtension = new System.Windows.Markup.
StaticExtension
(propertyName);
1673
new System.Windows.Markup.
StaticExtension
(staticExParam);
1734
System.Windows.Markup.StaticExtension staticExtension = new System.Windows.Markup.
StaticExtension
((string)param);
System\Windows\Markup\BamlRecordReader.cs (2)
1463
instance = new
StaticExtension
((string)param);
2377
StaticExtension se = new
StaticExtension
();
System\Windows\Markup\KnownTypes.cs (1)
1565
case KnownElements.StaticExtension: o = new System.Windows.Markup.
StaticExtension
(); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
945
return new
StaticExtension
($"{typeName}.{enumValue}");
System\Windows\SystemKeyConverter.cs (1)
154
return new
StaticExtension
($"{systemClassName}.{GetSystemKeyName(keyId)}");
System.Xaml.Tests (23)
System\Windows\Markup\StaticExtensionTests.cs (22)
18
var extension = new
StaticExtension
();
28
var extension = new
StaticExtension
(member);
36
Assert.Throws<ArgumentNullException>("member", () => new
StaticExtension
(null));
46
var extension = new
StaticExtension
(member) { MemberType = typeof(CustomType) };
57
var extension = new
StaticExtension
("Type." + member);
71
var extension = new
StaticExtension
("Red")
81
var extension = new
StaticExtension
("Type.Red");
95
var extension = new
StaticExtension
();
105
var extension = new
StaticExtension
(member);
119
var extension = new
StaticExtension
("type.member");
128
var extension = new
StaticExtension
("type.member");
143
var extension = new
StaticExtension
(member) { MemberType = typeof(CustomType) };
154
var extension = new
StaticExtension
(member);
174
var extension = new
StaticExtension
{ Member = value };
181
var extension = new
StaticExtension
();
189
var extension = new
StaticExtension
{ MemberType = value };
196
var extension = new
StaticExtension
();
207
var extension = new
StaticExtension
("member");
215
var extension = new
StaticExtension
("member");
225
var extension = new
StaticExtension
("member");
234
var extension = new
StaticExtension
("member");
242
var extension = new
StaticExtension
("member");
System\Windows\Markup\TypeExtensionTests.cs (1)
204
var extension = new
StaticExtension
("member");
36 references to StaticExtension
PresentationFramework (10)
OtherAssemblyAttrs.cs (1)
21
[assembly:TypeForwardedTo(typeof(System.Windows.Markup.
StaticExtension
))]
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
698
case 602: t = () => typeof(
StaticExtension
); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
893
var
staticExtension = new System.Windows.Markup.StaticExtension(propertyName);
1672
System.Windows.Markup.
StaticExtension
staticExtension =
1734
System.Windows.Markup.
StaticExtension
staticExtension = new System.Windows.Markup.StaticExtension((string)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9423
typeof(System.Windows.Markup.
StaticExtension
),
System\Windows\Markup\BamlRecordReader.cs (2)
2377
StaticExtension
se = new StaticExtension();
2420
valueTypeName = typeof(
StaticExtension
).FullName;
System\Windows\Markup\KnownTypes.cs (1)
6156
case KnownElements.StaticExtension: t = typeof(System.Windows.Markup.
StaticExtension
); break;
System\Windows\TemplateContent.cs (1)
1027
&& typeofValue != typeof(
StaticExtension
))
System.Xaml (4)
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (3)
32
if (!(value is
StaticExtension
staticExtension))
34
throw new ArgumentException(SR.Format(SR.MustBeOfType, nameof(value), nameof(
StaticExtension
)));
38
typeof(
StaticExtension
).GetConstructor(new Type[] { typeof(string) }),
System\Xaml\XamlLanguage.cs (1)
67
new Lazy<XamlType>(() => GetXamlType(typeof(
StaticExtension
)));
System.Xaml.Tests (22)
System\Windows\Markup\StaticExtensionTests.cs (21)
18
var
extension = new StaticExtension();
28
var
extension = new StaticExtension(member);
46
var
extension = new StaticExtension(member) { MemberType = typeof(CustomType) };
57
var
extension = new StaticExtension("Type." + member);
71
var
extension = new StaticExtension("Red")
81
var
extension = new StaticExtension("Type.Red");
95
var
extension = new StaticExtension();
105
var
extension = new StaticExtension(member);
119
var
extension = new StaticExtension("type.member");
128
var
extension = new StaticExtension("type.member");
143
var
extension = new StaticExtension(member) { MemberType = typeof(CustomType) };
154
var
extension = new StaticExtension(member);
174
var
extension = new StaticExtension { Member = value };
181
var
extension = new StaticExtension();
189
var
extension = new StaticExtension { MemberType = value };
196
var
extension = new StaticExtension();
207
var
extension = new StaticExtension("member");
215
var
extension = new StaticExtension("member");
225
var
extension = new StaticExtension("member");
234
var
extension = new StaticExtension("member");
242
var
extension = new StaticExtension("member");
System\Windows\Markup\TypeExtensionTests.cs (1)
204
var
extension = new StaticExtension("member");