22 references to AllowedMemberLocations
System.Xaml (22)
System\Xaml\Context\XamlContext.cs (2)
192
if ((directive.AllowedLocation &
AllowedMemberLocations
.Attribute) ==
AllowedMemberLocations
.None)
System\Xaml\Schema\XamlDirective.cs (5)
15
private
AllowedMemberLocations
_allowedLocation;
18
internal XamlDirective(ReadOnlyCollection<string> immutableXamlNamespaces, string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
33
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
58
_allowedLocation =
AllowedMemberLocations
.Any;
61
public
AllowedMemberLocations
AllowedLocation { get { return _allowedLocation; } }
System\Xaml\XamlLanguage.cs (15)
124
String, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Attribute), true);
127
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
136
s_string.Value, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Any), true);
139
s_string.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
144
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
147
s_object.Value, null,
AllowedMemberLocations
.Any), true);
150
s_object.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
153
s_listOfMembers.Value, null,
AllowedMemberLocations
.MemberElement), true);
156
s_listOfAttributes.Value, null,
AllowedMemberLocations
.MemberElement), true);
161
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
173
new Lazy<XamlDirective>(() => GetXamlDirective(x_UnknownContent,
AllowedMemberLocations
.MemberElement, MemberReflector.UnknownReflector), true);
443
return GetXamlDirective(name, String, BuiltInValueConverter.String,
AllowedMemberLocations
.Attribute);
446
private static XamlDirective GetXamlDirective(string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
453
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
461
XamlDirective result = new XamlDirective(s_xmlNamespaces, name,
AllowedMemberLocations
.Attribute, new MemberReflector(String, BuiltInValueConverter.String));