18 instantiations of ArrayExtension
PresentationFramework (5)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
1771
bamlType.DefaultConstructor = delegate() { return new System.Windows.Markup.
ArrayExtension
(); };
1777
return new System.Windows.Markup.
ArrayExtension
(
System\Windows\Markup\BamlRecordReader.cs (1)
3136
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)
943
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)
13
[assembly: TypeForwardedTo(typeof(System.Windows.Markup.
ArrayExtension
))]
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
108
case 14: t = () => typeof(
ArrayExtension
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4075
Type type = typeof(System.Windows.Markup.
ArrayExtension
);
4077
this.GetXamlType(typeof(System.Windows.Markup.
ArrayExtension
)), // DeclaringType
4083
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Markup.
ArrayExtension
)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1769
typeof(System.Windows.Markup.
ArrayExtension
),
System\Windows\Markup\BamlCollectionHolder.cs (2)
59
internal
ArrayExtension
ArrayExt
61
get { return _collection as
ArrayExtension
; }
System\Windows\Markup\BamlRecordReader.cs (9)
894
else if (typeof(
ArrayExtension
).IsAssignableFrom(elementType))
3008
ArrayExtension
arrayExt = holder.ArrayExt;
3136
ArrayExtension
arrayExt = new ArrayExtension();
3239
private
ArrayExtension
GetArrayExtensionFromContext(ReaderContextStackData context)
3241
ArrayExtension
result = null;
3245
result = context.ObjectData as
ArrayExtension
;
3249
result = (
ArrayExtension
)context.ObjectData;
4677
ArrayExtension
arrayExt = GetArrayExtensionFromContext(parentContext);
4861
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)
1007
ArrayExtension
arrayExt = instance as
ArrayExtension
;
System.Xaml (1)
System\Xaml\XamlLanguage.cs (1)
60
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()