34 references to Key
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
947
if (property == XamlLanguage.
Key
)
1208
_xamlNodesWriter.WriteStartMember(XamlLanguage.
Key
);
1243
_xamlNodesWriter.WriteStartMember(XamlLanguage.
Key
);
2699
if (reader.Member == XamlLanguage.
Key
)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
124
else if (directive == XamlLanguage.
Key
&& _dictionaryKeyPropertyName != null)
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
168
directive.Name == XamlLanguage.
Key
.Name ||
System.Xaml (28)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (18)
773
if (property.IsDirective && property == XamlLanguage.
Key
&& !Logic_ShouldConvertKey(_context))
1045
XamlMember keyProperty = instanceType.GetAliasedProperty(XamlLanguage.
Key
);
1091
if (xamlMember == XamlLanguage.
Key
)
1334
property == XamlLanguage.
Key
&&
1392
Debug.Assert(ctx.ParentProperty == XamlLanguage.
Key
);
1461
if (ctx.LiveDepth > 2 && ctx.ParentProperty == XamlLanguage.
Key
&&
1465
XamlLanguage.
Key
, deferredMarkupExtensionContext);
1586
if (prop != XamlLanguage.
Key
&& propertyForDirective is not null)
1866
ctx.CurrentProperty = XamlLanguage.
Key
;
1993
if (parentProperty != XamlLanguage.
Key
)
2020
if (parentProperty == XamlLanguage.
Key
)
2045
if (parentProperty != XamlLanguage.
Key
)
2054
else if (parentProperty == XamlLanguage.
Key
)
2074
Debug.Assert(token.Target.Property == XamlLanguage.
Key
);
2198
if (property is not null && property.IsDirective && ctx.ParentInstance is null && property != XamlLanguage.
Key
)
2440
if (token.Target.Property == XamlLanguage.
Key
)
2497
if (token.Target.Property == XamlLanguage.
Key
)
2528
if (token.Target.Property == XamlLanguage.
Key
|| token.Target.Property == XamlLanguage.Items)
System\Xaml\Parser\NodeStreamSorter.cs (2)
409
else if (!(prop.IsDirective && prop == XamlLanguage.
Key
))
441
if (member.IsDirective && member == XamlLanguage.
Key
)
System\Xaml\Parser\XamlScanner.cs (1)
667
if (attr.Property == XamlLanguage.
Key
)
System\Xaml\Schema\TypeReflector.cs (2)
316
if (directive == XamlLanguage.
Key
)
346
if (directive == XamlLanguage.
Key
)
System\Xaml\XamlLanguage.cs (2)
287
return
Key
;
418
Key
, Initialization, Items, Members, ClassAttributes, Name, PositionalParameters, Shared, Subclass,
System\Xaml\XamlObjectReader.cs (2)
461
XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Key
),
477
XamlMember dkp = typeOfValue.GetAliasedProperty(XamlLanguage.
Key
);
System\Xaml\XamlType.cs (1)
644
if (directive == XamlLanguage.
Key
)