19 references to Attribute
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (1)
193
if ((directive.AllowedLocation & AllowedMemberLocations.
Attribute
) == AllowedMemberLocations.None)
System\Xaml\Schema\AllowedMemberLocations.cs (1)
15
Any =
Attribute
| MemberElement,
System\Xaml\XamlLanguage.cs (3)
125
String, BuiltInValueConverter.Int32, AllowedMemberLocations.
Attribute
), true);
444
return GetXamlDirective(name, String, BuiltInValueConverter.String, AllowedMemberLocations.
Attribute
);
462
XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.
Attribute
, new MemberReflector(String, BuiltInValueConverter.String));
System.Xaml.Tests (14)
System\Xaml\XamlLanguageTests.cs (14)
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);
367
Assert.Equal(AllowedMemberLocations.
Attribute
, directive.AllowedLocation);
445
Assert.Equal(AllowedMemberLocations.
Attribute
, 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);
549
Assert.Equal(AllowedMemberLocations.
Attribute
, directive.AllowedLocation);
562
Assert.Equal(AllowedMemberLocations.
Attribute
, directive.AllowedLocation);
575
Assert.Equal(AllowedMemberLocations.
Attribute
, directive.AllowedLocation);