21 references to IsMarkupExtension
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
2430
if (!elementType.
IsMarkupExtension
)
2453
if (!emitPreamble && parentPropertyType.IsDictionary && elementType.
IsMarkupExtension
)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
330
if (this.
IsMarkupExtension
)
System\Windows\Markup\Baml2006\WpfKnownTypeInvoker.cs (1)
25
else if (_type.
IsMarkupExtension
)
System.Xaml (15)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
452
if (_context.CurrentType.
IsMarkupExtension
)
778
if (!property.Type.
IsMarkupExtension
|| !valueXamlType.CanAssignTo(property.Type))
1153
if (currentType.
IsMarkupExtension
&& ctx.CurrentCtorArgs is not null)
1234
if (!meType.
IsMarkupExtension
)
System\Xaml\Parser\MeScanner.cs (1)
210
if (_context.CurrentType.
IsMarkupExtension
System\Xaml\Parser\XamlPullParser.cs (1)
1091
if (!valueElementType.
IsMarkupExtension
|| _xamlScanner.HasKeyAttribute)
System\Xaml\XamlMarkupExtensionWriter.cs (1)
583
if (!type.
IsMarkupExtension
)
System\Xaml\XamlObjectReader.cs (3)
683
if (itemsMemberInfo.Children[0] is not ObjectMarkupInfo itemInfo || itemInfo.XamlNode.XamlType is null || !itemInfo.XamlNode.XamlType.
IsMarkupExtension
)
1137
if ((XamlNode.NodeType == XamlNodeType.StartObject && !XamlNode.XamlType.
IsMarkupExtension
)
1521
if (valueXamlType.
IsMarkupExtension
)
System\Xaml\XamlSchemaContext.cs (1)
572
if (type.
IsMarkupExtension
)
System\Xaml\XamlType.cs (2)
333
if (!
IsMarkupExtension
)
1762
if (bit &&
IsMarkupExtension
)
System\Xaml\XamlXmlWriter.cs (2)
671
if (type.
IsMarkupExtension
&& type.Name.EndsWith("Extension", false, TypeConverterHelper.InvariantEnglishUS))
1626
if (type is not null && type.
IsMarkupExtension
&& !type.IsGeneric)
System.Xaml.Tests (2)
System\Xaml\XamlTypeTests.cs (2)
2713
Assert.Equal(expected, type.
IsMarkupExtension
);
3368
Assert.Equal(type.
IsMarkupExtension
? expected ?? XamlLanguage.Object : null, type.MarkupExtensionReturnType);