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)
260
if (!(xamlReader.Member.
IsDirective
&& xamlReader.Member == XamlReaderHelper.Freeze) &&
270
if (!stack.CurrentFrame.Property.
IsDirective
)
334
if (!(currentProperty.
IsDirective
&& currentProperty == XamlReaderHelper.Freeze) &&
360
if (stack.CurrentFrame.Property.
IsDirective
&& stack.CurrentFrame.Property == XamlLanguage.Shared)
375
if (stack.CurrentFrame.Property.
IsDirective
&& stack.CurrentFrame.Property == XamlReaderHelper.Freeze)
System\Windows\TemplateContent.cs (2)
578
xamlReader.Member.
IsDirective
== false)
1053
return (member.IsUnknown && member.
IsDirective
&& member.Name == "Freeze");
System.Xaml (40)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
148
Debug.Assert(!property.
IsDirective
&& !property.IsUnknown);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (14)
640
if (!property.
IsDirective
&& !property.IsAttachable)
655
if (property.
IsDirective
&& property != XamlLanguage.Items && property != XamlLanguage.PositionalParameters)
775
if (property.
IsDirective
&& property == XamlLanguage.Key && !Logic_ShouldConvertKey(_context))
850
if (parentProperty.
IsDirective
)
1335
if (property.
IsDirective
&&
1512
if (skipDirectives && prop.
IsDirective
)
1528
if (me != null && !prop.
IsDirective
)
1584
if (prop.
IsDirective
)
1690
Debug.Assert(parentInstance != null || parentProperty != null && parentProperty.
IsDirective
|| ctx.LiveDepth == 1);
1955
if (parentProperty.
IsDirective
&& (ppXamlType.IsCollection || ppXamlType.IsDictionary))
1992
if (parentProperty.
IsDirective
)
2032
if (parentProperty.
IsDirective
)
2155
if (!property.
IsDirective
)
2200
if (property != null && property.
IsDirective
&& ctx.ParentInstance == null && property != XamlLanguage.Key)
System\Xaml\Parser\NodeStreamSorter.cs (3)
412
else if (!(prop.
IsDirective
&& prop == XamlLanguage.Key))
422
if (!member.
IsDirective
)
444
if (member.
IsDirective
&& member == XamlLanguage.Key)
System\Xaml\Parser\XamlAttribute.cs (1)
63
else if (Property.
IsDirective
)
System\Xaml\Parser\XamlPullParser.cs (2)
840
_context.CurrentInContainerDirective = member.
IsDirective
&& (memberXamlType != null && (memberXamlType.IsCollection || memberXamlType.IsDictionary));
1015
if (!currentProperty.
IsDirective
&& (propertyType.IsCollection || propertyType.IsDictionary))
System\Xaml\Parser\XamlScanner.cs (1)
775
node.IsCtorForcingMember = !prop.IsAttachable && !prop.
IsDirective
;
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
240
if(property.
IsDirective
)
280
if(property.
IsDirective
)
System\Xaml\XamlMarkupExtensionWriter.cs (2)
399
(property.
IsDirective
&& (property.Type.IsCollection || property.Type.IsDictionary)))
405
if (property.
IsDirective
)
System\Xaml\XamlMember.cs (2)
1016
if (xamlMember1.
IsDirective
)
1018
Debug.Assert(xamlMember2.
IsDirective
);
System\Xaml\XamlObjectReader.cs (6)
340
return (member.IsAttachable || (member.
IsDirective
&& !XamlXmlWriter.IsImplicit(member)))
2243
bool xIsDirective = xProperty.
IsDirective
;
2244
bool yIsDirective = yProperty.
IsDirective
;
2303
bool xIsDirective = xProperty.
IsDirective
;
2304
bool yIsDirective = yProperty.
IsDirective
;
3215
if (member.IsAttachable || member.
IsDirective
|| MeetsCriterion(member, criterion))
System\Xaml\XamlXmlWriter.cs (6)
283
return xamlMember.
IsDirective
&&
814
string prefix = property.IsAttachable || property.
IsDirective
? writer.FindPrefix(property.GetXamlNamespaces(), out ns) : writer.FindPrefix(type.GetXamlNamespaces(), out ns);
815
string local = (property.
IsDirective
) ? property.Name : $"{GetTypeName(xamlType)}.{property.Name}";
831
if (property.
IsDirective
)
1128
if (property.IsAttachable || property.
IsDirective
)
1186
else if (property.
IsDirective
&& (property.Type != null && (property.Type.IsCollection || property.Type.IsDictionary)))