24 references to Lang
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
128else if (directive == XamlLanguage.Lang)
System.Xaml (8)
System\Xaml\Parser\NodeStreamSorter.cs (1)
238EnqueueOneXmlDirectiveProperty(XamlLanguage.Lang, _settings.XmlLang);
System\Xaml\Schema\TypeReflector.cs (2)
343else if (directive == XamlLanguage.Lang) 371else if (directive == XamlLanguage.Lang)
System\Xaml\XamlLanguage.cs (2)
404return Lang; 424SynchronousMode, TypeArguments, Uid, UnknownContent, Base, Lang, Space
System\Xaml\XamlObjectReader.cs (2)
645if((xamlProperty == declaringType.GetAliasedProperty(XamlLanguage.Lang)) && (propertyValue is string)) 649XamlNode = new XamlNode(XamlNodeType.StartMember, XamlLanguage.Lang),
System\Xaml\XamlType.cs (1)
698else if (directive == XamlLanguage.Lang)
System.Xaml.Tests (15)
System\Xaml\XamlLanguageTests.cs (3)
556XamlDirective directive = XamlLanguage.Lang; 557Assert.Same(directive, XamlLanguage.Lang); 584Assert.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)
423yield return new object?[] { XmlNamespace, "lang", XamlLanguage.Lang };
System\Xaml\XamlTypeTests.cs (11)
538XamlLanguage.Lang, 544XamlLanguage.Lang, 550XamlLanguage.Lang, 556XamlLanguage.Lang, 570XamlLanguage.Lang, 588XamlLanguage.Lang, 594XamlLanguage.Lang, 603XamlLanguage.Lang, 631yield return new object[] { XamlLanguage.Lang }; 700Assert.Throws<XamlSchemaException>(() => type.LookupAliasedPropertyEntry(XamlLanguage.Lang)); 701Assert.Throws<XamlSchemaException>(() => type.GetAliasedProperty(XamlLanguage.Lang));