48 references to IsDirective
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2423!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)
640if (!property.IsDirective && !property.IsAttachable) 655if (property.IsDirective && property != XamlLanguage.Items && property != XamlLanguage.PositionalParameters) 775if (property.IsDirective && property == XamlLanguage.Key && !Logic_ShouldConvertKey(_context)) 850if (parentProperty.IsDirective) 1335if (property.IsDirective && 1512if (skipDirectives && prop.IsDirective) 1528if (me != null && !prop.IsDirective) 1584if (prop.IsDirective) 1690Debug.Assert(parentInstance != null || parentProperty != null && parentProperty.IsDirective || ctx.LiveDepth == 1); 1955if (parentProperty.IsDirective && (ppXamlType.IsCollection || ppXamlType.IsDictionary)) 1992if (parentProperty.IsDirective) 2032if (parentProperty.IsDirective) 2155if (!property.IsDirective) 2200if (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)))