27 references to IsCollection
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
1052if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 2376if (parentType.IsCollection || parentType.IsDictionary) 2421if (parentPropertyType != null && (parentPropertyType.IsCollection || parentPropertyType.IsDictionary) &&
System.Xaml (24)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (8)
306if (parentProperty.Type.IsCollection || parentProperty.Type.IsDictionary) 379if (_context.CurrentType.IsCollection || _context.CurrentType.IsDictionary) 668if (propertyXamlType.IsCollection || propertyXamlType.IsDictionary) 858if (parentXamlType.IsCollection || parentXamlType.IsDictionary) 1183if (currentType.IsCollection || currentType.IsDictionary) 1270if (xamlType.IsCollection || xamlType.IsDictionary) 1816Debug.Assert(ctx.ParentType.IsCollection, "Logic_WillParentCollectionAdd called on a non-collection"); 1964if (parentProperty.IsDirective && (ppXamlType.IsCollection || ppXamlType.IsDictionary))
System\Xaml\Parser\XamlPullParser.cs (4)
502if (currentType.IsCollection || currentType.IsDictionary) 840_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType != null && (memberXamlType.IsCollection || memberXamlType.IsDictionary)); 1015if (!currentProperty.IsDirective && (propertyType.IsCollection || propertyType.IsDictionary)) 1172if (propertyType.IsCollection)
System\Xaml\Schema\XamlTypeInvoker.cs (3)
76if (!_xamlType.IsCollection) 159if (!_xamlType.IsCollection) 221if (!_xamlType.IsCollection && !_xamlType.IsDictionary)
System\Xaml\XamlMarkupExtensionWriter.cs (1)
399(property.IsDirective && (property.Type.IsCollection || property.Type.IsDictionary)))
System\Xaml\XamlObjectReader.cs (5)
386if (attachedProperty.Type.IsCollection) 526if (property.Type.IsCollection) 673if (memberType.IsCollection || memberType.IsDictionary) 1203else if (xamlType.IsCollection) 1684if (!valueXamlType.IsCollection && !valueXamlType.IsDictionary) // always need to serialize items of a collection or dictionary
System\Xaml\XamlType.cs (1)
249if (!IsCollection)
System\Xaml\XamlXmlWriter.cs (2)
1186else if (property.IsDirective && (property.Type != null && (property.Type.IsCollection || property.Type.IsDictionary))) 1379if (memberType != null && !memberType.IsCollection && !memberType.IsDictionary)