48 references to IsDirective
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2422!parentProperty.IsDirective && (flags & ReaderFlags_AddedToTree) == 0)
System\Windows\Markup\WpfXamlLoader.cs (5)
260if (!(xamlReader.Member.IsDirective && xamlReader.Member == XamlReaderHelper.Freeze) && 270if (!stack.CurrentFrame.Property.IsDirective) 334if (!(currentProperty.IsDirective && currentProperty == XamlReaderHelper.Freeze) && 360if (stack.CurrentFrame.Property.IsDirective && stack.CurrentFrame.Property == XamlLanguage.Shared) 375if (stack.CurrentFrame.Property.IsDirective && stack.CurrentFrame.Property == XamlReaderHelper.Freeze)
System\Windows\TemplateContent.cs (2)
578xamlReader.Member.IsDirective == false) 1053return (member.IsUnknown && member.IsDirective && member.Name == "Freeze");
System.Xaml (40)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
148Debug.Assert(!property.IsDirective && !property.IsUnknown);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (14)
645if (!property.IsDirective && !property.IsAttachable) 660if (property.IsDirective && property != XamlLanguage.Items && property != XamlLanguage.PositionalParameters) 780if (property.IsDirective && property == XamlLanguage.Key && !Logic_ShouldConvertKey(_context)) 855if (parentProperty.IsDirective) 1341if (property.IsDirective && 1519if (skipDirectives && prop.IsDirective) 1535if (me != null && !prop.IsDirective) 1591if (prop.IsDirective) 1699Debug.Assert(parentInstance != null || parentProperty != null && parentProperty.IsDirective || ctx.LiveDepth == 1); 1964if (parentProperty.IsDirective && (ppXamlType.IsCollection || ppXamlType.IsDictionary)) 2001if (parentProperty.IsDirective) 2041if (parentProperty.IsDirective) 2165if (!property.IsDirective) 2211if (property != null && property.IsDirective && ctx.ParentInstance == null && property != XamlLanguage.Key)
System\Xaml\Parser\NodeStreamSorter.cs (3)
412else if (!(prop.IsDirective && prop == XamlLanguage.Key)) 422if (!member.IsDirective) 444if (member.IsDirective && member == XamlLanguage.Key)
System\Xaml\Parser\XamlAttribute.cs (1)
63else if (Property.IsDirective)
System\Xaml\Parser\XamlPullParser.cs (2)
840_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType != null && (memberXamlType.IsCollection || memberXamlType.IsDictionary)); 1015if (!currentProperty.IsDirective && (propertyType.IsCollection || propertyType.IsDictionary))
System\Xaml\Parser\XamlScanner.cs (1)
775node.IsCtorForcingMember = !prop.IsAttachable && !prop.IsDirective;
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
240if(property.IsDirective) 280if(property.IsDirective)
System\Xaml\XamlMarkupExtensionWriter.cs (2)
399(property.IsDirective && (property.Type.IsCollection || property.Type.IsDictionary))) 405if (property.IsDirective)
System\Xaml\XamlMember.cs (2)
1016if (xamlMember1.IsDirective) 1018Debug.Assert(xamlMember2.IsDirective);
System\Xaml\XamlObjectReader.cs (6)
340return (member.IsAttachable || (member.IsDirective && !XamlXmlWriter.IsImplicit(member))) 2243bool xIsDirective = xProperty.IsDirective; 2244bool yIsDirective = yProperty.IsDirective; 2303bool xIsDirective = xProperty.IsDirective; 2304bool yIsDirective = yProperty.IsDirective; 3215if (member.IsAttachable || member.IsDirective || MeetsCriterion(member, criterion))
System\Xaml\XamlXmlWriter.cs (6)
283return xamlMember.IsDirective && 814string prefix = property.IsAttachable || property.IsDirective ? writer.FindPrefix(property.GetXamlNamespaces(), out ns) : writer.FindPrefix(type.GetXamlNamespaces(), out ns); 815string local = (property.IsDirective) ? property.Name : GetTypeName(xamlType) + "." + property.Name; 831if (property.IsDirective) 1128if (property.IsAttachable || property.IsDirective) 1186else if (property.IsDirective && (property.Type != null && (property.Type.IsCollection || property.Type.IsDictionary)))