30 references to IsDictionary
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2377
if (parentType.IsCollection || parentType.
IsDictionary
)
2422
if (parentPropertyType != null && (parentPropertyType.IsCollection || parentPropertyType.
IsDictionary
) &&
2460
if (!emitPreamble && parentPropertyType.
IsDictionary
&& elementType.IsMarkupExtension)
System.Xaml (27)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
301
if (parentProperty.Type.IsCollection || parentProperty.Type.
IsDictionary
)
374
if (_context.CurrentType.IsCollection || _context.CurrentType.
IsDictionary
)
663
if (propertyXamlType.IsCollection || propertyXamlType.
IsDictionary
)
853
if (parentXamlType.IsCollection || parentXamlType.
IsDictionary
)
1178
if (currentType.IsCollection || currentType.
IsDictionary
)
1265
if (xamlType.IsCollection || xamlType.
IsDictionary
)
1338
grandParentXamlType.
IsDictionary
)
1404
if (dictionaryType != null && dictionaryType.
IsDictionary
&&
1464
ctx.GrandParentType.
IsDictionary
)
1739
bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.
IsDictionary
);
1760
if (!collectionType.
IsDictionary
)
1955
if (parentProperty.IsDirective && (ppXamlType.IsCollection || ppXamlType.
IsDictionary
))
2582
if (instanceType.
IsDictionary
)
System\Xaml\Parser\XamlPullParser.cs (3)
502
if (currentType.IsCollection || currentType.
IsDictionary
)
840
_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType != null && (memberXamlType.IsCollection || memberXamlType.
IsDictionary
));
1015
if (!currentProperty.IsDirective && (propertyType.IsCollection || propertyType.
IsDictionary
))
System\Xaml\Schema\XamlTypeInvoker.cs (2)
108
if (!_xamlType.
IsDictionary
)
221
if (!_xamlType.IsCollection && !_xamlType.
IsDictionary
)
System\Xaml\XamlMarkupExtensionWriter.cs (1)
399
(property.IsDirective && (property.Type.IsCollection || property.Type.
IsDictionary
)))
System\Xaml\XamlObjectReader.cs (5)
381
if (attachedProperty.Type.
IsDictionary
)
521
if (property.Type.
IsDictionary
)
673
if (memberType.IsCollection || memberType.
IsDictionary
)
1199
if (xamlType.
IsDictionary
)
1684
if (!valueXamlType.IsCollection && !valueXamlType.
IsDictionary
) // always need to serialize items of a collection or dictionary
System\Xaml\XamlType.cs (1)
195
if (!
IsDictionary
)
System\Xaml\XamlXmlWriter.cs (2)
1186
else if (property.IsDirective && (property.Type != null && (property.Type.IsCollection || property.Type.
IsDictionary
)))
1379
if (memberType != null && !memberType.IsCollection && !memberType.
IsDictionary
)