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