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