24 references to Lang
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
128
else if (directive == XamlLanguage.
Lang
)
System.Xaml (8)
System\Xaml\Parser\NodeStreamSorter.cs (1)
238
EnqueueOneXmlDirectiveProperty(XamlLanguage.
Lang
, _settings.XmlLang);
System\Xaml\Schema\TypeReflector.cs (2)
343
else if (directive == XamlLanguage.
Lang
)
371
else if (directive == XamlLanguage.
Lang
)
System\Xaml\XamlLanguage.cs (2)
404
return
Lang
;
424
SynchronousMode, TypeArguments, Uid, UnknownContent, Base,
Lang
, Space
System\Xaml\XamlObjectReader.cs (2)
645
if((xamlProperty == declaringType.GetAliasedProperty(XamlLanguage.
Lang
)) && (propertyValue is string))
649
XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.
Lang
),
System\Xaml\XamlType.cs (1)
698
else if (directive == XamlLanguage.
Lang
)
System.Xaml.Tests (15)
System\Xaml\XamlLanguageTests.cs (3)
556
XamlDirective directive = XamlLanguage.
Lang
;
557
Assert.Same(directive, XamlLanguage.
Lang
);
584
Assert.Equal(new XamlDirective[] { XamlLanguage.Arguments, XamlLanguage.AsyncRecords, XamlLanguage.Class, XamlLanguage.Code, XamlLanguage.ClassModifier, XamlLanguage.ConnectionId, XamlLanguage.FactoryMethod, XamlLanguage.FieldModifier, XamlLanguage.Key, XamlLanguage.Initialization, XamlLanguage.Items, XamlLanguage.Members, XamlLanguage.ClassAttributes, XamlLanguage.Name, XamlLanguage.PositionalParameters, XamlLanguage.Shared, XamlLanguage.Subclass, XamlLanguage. SynchronousMode, XamlLanguage.TypeArguments, XamlLanguage.Uid, XamlLanguage.UnknownContent, XamlLanguage.Base, XamlLanguage.
Lang
, XamlLanguage.Space }, directives);
System\Xaml\XamlSchemaContextTests.cs (1)
423
yield return new object?[] { XmlNamespace, "lang", XamlLanguage.
Lang
};
System\Xaml\XamlTypeTests.cs (11)
538
XamlLanguage.
Lang
,
544
XamlLanguage.
Lang
,
550
XamlLanguage.
Lang
,
556
XamlLanguage.
Lang
,
570
XamlLanguage.
Lang
,
588
XamlLanguage.
Lang
,
594
XamlLanguage.
Lang
,
603
XamlLanguage.
Lang
,
631
yield return new object[] { XamlLanguage.
Lang
};
700
Assert.Throws<XamlSchemaException>(() => type.LookupAliasedPropertyEntry(XamlLanguage.
Lang
));
701
Assert.Throws<XamlSchemaException>(() => type.GetAliasedProperty(XamlLanguage.
Lang
));