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