48 references to IsDirective
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2418
!parentProperty.
IsDirective
&& (flags & ReaderFlags_AddedToTree) == 0)
System\Windows\Markup\WpfXamlLoader.cs (5)
259
if (!(xamlReader.Member.
IsDirective
&& xamlReader.Member == XamlReaderHelper.Freeze) &&
269
if (!stack.CurrentFrame.Property.
IsDirective
)
333
if (!(currentProperty.
IsDirective
&& currentProperty == XamlReaderHelper.Freeze) &&
359
if (stack.CurrentFrame.Property.
IsDirective
&& stack.CurrentFrame.Property == XamlLanguage.Shared)
374
if (stack.CurrentFrame.Property.
IsDirective
&& stack.CurrentFrame.Property == XamlReaderHelper.Freeze)
System\Windows\TemplateContent.cs (2)
575
xamlReader.Member.
IsDirective
== false)
1050
return (member.IsUnknown && member.
IsDirective
&& member.Name == "Freeze");
System.Xaml (40)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
147
Debug.Assert(!property.
IsDirective
&& !property.IsUnknown);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (14)
638
if (!property.
IsDirective
&& !property.IsAttachable)
653
if (property.
IsDirective
&& property != XamlLanguage.Items && property != XamlLanguage.PositionalParameters)
773
if (property.
IsDirective
&& property == XamlLanguage.Key && !Logic_ShouldConvertKey(_context))
848
if (parentProperty.
IsDirective
)
1333
if (property.
IsDirective
&&
1510
if (skipDirectives && prop.
IsDirective
)
1526
if (me is not null && !prop.
IsDirective
)
1582
if (prop.
IsDirective
)
1688
Debug.Assert(parentInstance is not null || (parentProperty is not null && parentProperty.
IsDirective
) || ctx.LiveDepth == 1);
1953
if (parentProperty.
IsDirective
&& (ppXamlType.IsCollection || ppXamlType.IsDictionary))
1990
if (parentProperty.
IsDirective
)
2030
if (parentProperty.
IsDirective
)
2153
if (!property.
IsDirective
)
2198
if (property is not null && property.
IsDirective
&& ctx.ParentInstance is null && property != XamlLanguage.Key)
System\Xaml\Parser\NodeStreamSorter.cs (3)
409
else if (!(prop.
IsDirective
&& prop == XamlLanguage.Key))
419
if (!member.
IsDirective
)
441
if (member.
IsDirective
&& member == XamlLanguage.Key)
System\Xaml\Parser\XamlAttribute.cs (1)
61
else if (Property.
IsDirective
)
System\Xaml\Parser\XamlPullParser.cs (2)
838
_context.CurrentInContainerDirective = member.
IsDirective
&& (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.IsDictionary));
1013
if (!currentProperty.
IsDirective
&& (propertyType.IsCollection || propertyType.IsDictionary))
System\Xaml\Parser\XamlScanner.cs (1)
772
node.IsCtorForcingMember = !prop.IsAttachable && !prop.
IsDirective
;
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
238
if(property.
IsDirective
)
278
if(property.
IsDirective
)
System\Xaml\XamlMarkupExtensionWriter.cs (2)
398
(property.
IsDirective
&& (property.Type.IsCollection || property.Type.IsDictionary)))
404
if (property.
IsDirective
)
System\Xaml\XamlMember.cs (2)
1013
if (xamlMember1.
IsDirective
)
1015
Debug.Assert(xamlMember2.
IsDirective
);
System\Xaml\XamlObjectReader.cs (6)
335
return (member.IsAttachable || (member.
IsDirective
&& !XamlXmlWriter.IsImplicit(member)))
2238
bool xIsDirective = xProperty.
IsDirective
;
2239
bool yIsDirective = yProperty.
IsDirective
;
2298
bool xIsDirective = xProperty.
IsDirective
;
2299
bool yIsDirective = yProperty.
IsDirective
;
3210
if (member.IsAttachable || member.
IsDirective
|| MeetsCriterion(member, criterion))
System\Xaml\XamlXmlWriter.cs (6)
281
return xamlMember.
IsDirective
&&
812
string prefix = property.IsAttachable || property.
IsDirective
? writer.FindPrefix(property.GetXamlNamespaces(), out ns) : writer.FindPrefix(type.GetXamlNamespaces(), out ns);
813
string local = (property.
IsDirective
) ? property.Name : $"{GetTypeName(xamlType)}.{property.Name}";
829
if (property.
IsDirective
)
1126
if (property.IsAttachable || property.
IsDirective
)
1184
else if (property.
IsDirective
&& (property.Type is not null && (property.Type.IsCollection || property.Type.IsDictionary)))