30 references to IsDictionary
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2372
if (parentType.IsCollection || parentType.
IsDictionary
)
2417
if (parentPropertyType != null && (parentPropertyType.IsCollection || parentPropertyType.
IsDictionary
) &&
2455
if (!emitPreamble && parentPropertyType.
IsDictionary
&& elementType.IsMarkupExtension)
System.Xaml (27)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
299
if (parentProperty.Type.IsCollection || parentProperty.Type.
IsDictionary
)
372
if (_context.CurrentType.IsCollection || _context.CurrentType.
IsDictionary
)
661
if (propertyXamlType.IsCollection || propertyXamlType.
IsDictionary
)
851
if (parentXamlType.IsCollection || parentXamlType.
IsDictionary
)
1176
if (currentType.IsCollection || currentType.
IsDictionary
)
1263
if (xamlType.IsCollection || xamlType.
IsDictionary
)
1336
grandParentXamlType.
IsDictionary
)
1402
if (dictionaryType is not null && dictionaryType.
IsDictionary
&&
1462
ctx.GrandParentType.
IsDictionary
)
1737
bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.
IsDictionary
);
1758
if (!collectionType.
IsDictionary
)
1953
if (parentProperty.IsDirective && (ppXamlType.IsCollection || ppXamlType.
IsDictionary
))
2580
if (instanceType.
IsDictionary
)
System\Xaml\Parser\XamlPullParser.cs (3)
500
if (currentType.IsCollection || currentType.
IsDictionary
)
838
_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.
IsDictionary
));
1013
if (!currentProperty.IsDirective && (propertyType.IsCollection || propertyType.
IsDictionary
))
System\Xaml\Schema\XamlTypeInvoker.cs (2)
100
if (!_xamlType.
IsDictionary
)
213
if (!_xamlType.IsCollection && !_xamlType.
IsDictionary
)
System\Xaml\XamlMarkupExtensionWriter.cs (1)
398
(property.IsDirective && (property.Type.IsCollection || property.Type.
IsDictionary
)))
System\Xaml\XamlObjectReader.cs (5)
376
if (attachedProperty.Type.
IsDictionary
)
516
if (property.Type.
IsDictionary
)
668
if (memberType.IsCollection || memberType.
IsDictionary
)
1194
if (xamlType.
IsDictionary
)
1679
if (!valueXamlType.IsCollection && !valueXamlType.
IsDictionary
) // always need to serialize items of a collection or dictionary
System\Xaml\XamlType.cs (1)
192
if (!
IsDictionary
)
System\Xaml\XamlXmlWriter.cs (2)
1184
else if (property.IsDirective && (property.Type is not null && (property.Type.IsCollection || property.Type.
IsDictionary
)))
1377
if (memberType is not null && !memberType.IsCollection && !memberType.
IsDictionary
)