19 references to Attribute
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (1)
193if ((directive.AllowedLocation & AllowedMemberLocations.Attribute) == AllowedMemberLocations.None)
System\Xaml\Schema\AllowedMemberLocations.cs (1)
15Any = Attribute | MemberElement,
System\Xaml\XamlLanguage.cs (3)
125String, BuiltInValueConverter.Int32, AllowedMemberLocations.Attribute), true); 444return GetXamlDirective(name, String, BuiltInValueConverter.String, AllowedMemberLocations.Attribute); 462XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
System.Xaml.Tests (14)
System\Xaml\XamlLanguageTests.cs (14)
289Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 302Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 315Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 328Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 367Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 445Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 471Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 484Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 497Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 510Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 523Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 549Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 562Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 575Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation);