27 references to AllowedLocation
System.Xaml (1)
System\Xaml\Context\XamlContext.cs (1)
193if ((directive.AllowedLocation & AllowedMemberLocations.Attribute) == AllowedMemberLocations.None)
System.Xaml.Tests (26)
System\Xaml\XamlDirectiveTests.cs (2)
35Assert.Equal(allowedLocation, directive.AllowedLocation); 69Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation);
System\Xaml\XamlLanguageTests.cs (24)
276Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 289Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 302Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 315Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 328Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 341Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 354Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 367Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 380Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 393Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 406Assert.Equal(AllowedMemberLocations.Any, directive.AllowedLocation); 419Assert.Equal(AllowedMemberLocations.MemberElement, directive.AllowedLocation); 432Assert.Equal(AllowedMemberLocations.MemberElement, directive.AllowedLocation); 445Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 458Assert.Equal(AllowedMemberLocations.Any, 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); 536Assert.Equal(AllowedMemberLocations.MemberElement, directive.AllowedLocation); 549Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 562Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation); 575Assert.Equal(AllowedMemberLocations.Attribute, directive.AllowedLocation);