26 instantiations of TypeExtension
PresentationFramework (6)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
10652
bamlType.DefaultConstructor = delegate() { return new System.Windows.Markup.
TypeExtension
(); };
10658
return new System.Windows.Markup.
TypeExtension
(
System\Windows\Markup\BamlRecordReader.cs (2)
1431
instance = new
TypeExtension
(t);
1436
instance = new
TypeExtension
((String)param);
System\Windows\Markup\KnownTypes.cs (1)
1627
case KnownElements.TypeExtension: o = new System.Windows.Markup.
TypeExtension
(); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
932
return new
TypeExtension
(type);
System.Xaml (1)
System\Xaml\XamlObjectReader.cs (1)
1975
objectInfo = ForObject(new
TypeExtension
(type), context);
System.Xaml.Tests (19)
System\Windows\Markup\TypeExtensionTests.cs (19)
17
var extension = new
TypeExtension
();
27
var extension = new
TypeExtension
(typeName);
35
Assert.Throws<ArgumentNullException>("typeName", () => new
TypeExtension
((string)null!));
42
var extension = new
TypeExtension
(type);
50
Assert.Throws<ArgumentNullException>("type", () => new
TypeExtension
((Type)null!));
56
var extension = new
TypeExtension
(typeof(int));
63
var extension = new
TypeExtension
("Type");
82
var extension = new
TypeExtension
();
89
var extension = new
TypeExtension
("typeName");
98
var extension = new
TypeExtension
("typeName");
109
var extension = new
TypeExtension
("typeName");
129
var extension = new
TypeExtension
(typeof(int))
140
var extension = new
TypeExtension
();
148
var extension = new
TypeExtension
("typeName") { Type = value };
156
var extension = new
TypeExtension
();
167
var extension = new
TypeExtension
("member");
175
var extension = new
TypeExtension
(typeof(int));
185
var extension = new
TypeExtension
("member");
194
var extension = new
TypeExtension
("member");
27 references to TypeExtension
PresentationFramework (6)
OtherAssemblyAttrs.cs (1)
22
[assembly:TypeForwardedTo(typeof(System.Windows.Markup.
TypeExtension
))]
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
787
case 691: t = () => typeof(
TypeExtension
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10650
typeof(System.Windows.Markup.
TypeExtension
),
System\Windows\Markup\KnownTypes.cs (1)
6245
case KnownElements.TypeExtension: t = typeof(System.Windows.Markup.
TypeExtension
); break;
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
557
string xamlUri = scope.MakeAddressable(typeof(
TypeExtension
));
System\Windows\TemplateContent.cs (1)
1026
&& typeofValue != typeof(
TypeExtension
)
System.Xaml (4)
System\Windows\Markup\TypeExtensionConverter.cs (3)
32
if (!(value is
TypeExtension
typeExtension))
34
throw new ArgumentException(SR.Format(SR.MustBeOfType, nameof(value), nameof(
TypeExtension
)));
38
typeof(
TypeExtension
).GetConstructor(new Type[] { typeof(Type) }),
System\Xaml\XamlLanguage.cs (1)
69
new Lazy<XamlType>(() => GetXamlType(typeof(
TypeExtension
)));
System.Xaml.Tests (17)
System\Windows\Markup\TypeExtensionTests.cs (17)
17
var
extension = new TypeExtension();
27
var
extension = new TypeExtension(typeName);
42
var
extension = new TypeExtension(type);
56
var
extension = new TypeExtension(typeof(int));
63
var
extension = new TypeExtension("Type");
82
var
extension = new TypeExtension();
89
var
extension = new TypeExtension("typeName");
98
var
extension = new TypeExtension("typeName");
109
var
extension = new TypeExtension("typeName");
129
var
extension = new TypeExtension(typeof(int))
140
var
extension = new TypeExtension();
148
var
extension = new TypeExtension("typeName") { Type = value };
156
var
extension = new TypeExtension();
167
var
extension = new TypeExtension("member");
175
var
extension = new TypeExtension(typeof(int));
185
var
extension = new TypeExtension("member");
194
var
extension = new TypeExtension("member");