18 instantiations of ArrayExtension
PresentationFramework (5)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
1773
bamlType.DefaultConstructor = delegate() { return new System.Windows.Markup.
ArrayExtension
(); };
1779
return new System.Windows.Markup.
ArrayExtension
(
System\Windows\Markup\BamlRecordReader.cs (1)
3145
ArrayExtension arrayExt = new
ArrayExtension
();
System\Windows\Markup\KnownTypes.cs (1)
1131
case KnownElements.ArrayExtension: o = new System.Windows.Markup.
ArrayExtension
(); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
954
return new
ArrayExtension
(array);
System.Xaml.Tests (13)
System\Windows\Markup\ArrayExtensionTests.cs (12)
15
var extension = new
ArrayExtension
();
26
var extension = new
ArrayExtension
(type);
36
Assert.Throws<ArgumentNullException>("arrayType", () => new
ArrayExtension
((Type)null!));
54
var extension = new
ArrayExtension
(elements);
64
Assert.Throws<ArgumentNullException>("elements", () => new
ArrayExtension
((Array)null!));
70
Assert.Throws<RankException>(() => new
ArrayExtension
(new int[1, 1]));
79
var extension = new
ArrayExtension
();
90
var extension = new
ArrayExtension
();
98
var extension = new
ArrayExtension
(typeof(int));
107
var extension = new
ArrayExtension
();
114
var extension = new
ArrayExtension
(typeof(int));
124
ArrayExtension extension =
new
()
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
16
yield return new object?[] { new XamlMember("name", type, false), new
ArrayExtension
(), new CustomServiceProvider() };
30 references to ArrayExtension
PresentationFramework (20)
OtherAssemblyAttrs.cs (1)
18
[assembly:TypeForwardedTo(typeof(System.Windows.Markup.
ArrayExtension
))]
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
110
case 14: t = () => typeof(
ArrayExtension
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4077
Type type = typeof(System.Windows.Markup.
ArrayExtension
);
4079
this.GetXamlType(typeof(System.Windows.Markup.
ArrayExtension
)), // DeclaringType
4085
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Markup.
ArrayExtension
)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1771
typeof(System.Windows.Markup.
ArrayExtension
),
System\Windows\Markup\BamlCollectionHolder.cs (2)
60
internal
ArrayExtension
ArrayExt
62
get { return _collection as
ArrayExtension
; }
System\Windows\Markup\BamlRecordReader.cs (9)
903
else if (typeof(
ArrayExtension
).IsAssignableFrom(elementType))
3017
ArrayExtension
arrayExt = holder.ArrayExt;
3145
ArrayExtension
arrayExt = new ArrayExtension();
3248
private
ArrayExtension
GetArrayExtensionFromContext(ReaderContextStackData context)
3250
ArrayExtension
result = null;
3254
result = context.ObjectData as
ArrayExtension
;
3258
result = (
ArrayExtension
)context.ObjectData;
4686
ArrayExtension
arrayExt = GetArrayExtensionFromContext(parentContext);
4870
elementType = ((
ArrayExtension
)element).Type.MakeArrayType();
System\Windows\Markup\KnownTypes.cs (1)
5568
case KnownElements.ArrayExtension: t = typeof(System.Windows.Markup.
ArrayExtension
); break;
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1014
ArrayExtension
arrayExt = instance as
ArrayExtension
;
System.Xaml (1)
System\Xaml\XamlLanguage.cs (1)
61
new Lazy<XamlType>(() => GetXamlType(typeof(
ArrayExtension
)));
System.Xaml.Tests (9)
System\Windows\Markup\ArrayExtensionTests.cs (9)
15
var
extension = new ArrayExtension();
26
var
extension = new ArrayExtension(type);
54
var
extension = new ArrayExtension(elements);
79
var
extension = new ArrayExtension();
90
var
extension = new ArrayExtension();
98
var
extension = new ArrayExtension(typeof(int));
107
var
extension = new ArrayExtension();
114
var
extension = new ArrayExtension(typeof(int));
124
ArrayExtension
extension = new()