22 references to AllowedMemberLocations
System.Xaml (22)
System\Xaml\Context\XamlContext.cs (2)
188
if (
AllowedMemberLocations
.None == (directive.AllowedLocation &
AllowedMemberLocations
.Attribute))
System\Xaml\Schema\XamlDirective.cs (5)
18
private
AllowedMemberLocations
_allowedLocation;
21
internal XamlDirective(ReadOnlyCollection<string> immutableXamlNamespaces, string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
36
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
61
_allowedLocation =
AllowedMemberLocations
.Any;
64
public
AllowedMemberLocations
AllowedLocation { get { return _allowedLocation; } }
System\Xaml\XamlLanguage.cs (15)
126
String, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Attribute), true);
129
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
138
s_string.Value, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Any), true);
141
s_string.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
146
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
149
s_object.Value, null,
AllowedMemberLocations
.Any), true);
152
s_object.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
155
s_listOfMembers.Value, null,
AllowedMemberLocations
.MemberElement), true);
158
s_listOfAttributes.Value, null,
AllowedMemberLocations
.MemberElement), true);
163
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
175
new Lazy<XamlDirective>(() => GetXamlDirective(x_UnknownContent,
AllowedMemberLocations
.MemberElement, MemberReflector.UnknownReflector), true);
437
return GetXamlDirective(name, String, BuiltInValueConverter.String,
AllowedMemberLocations
.Attribute);
440
private static XamlDirective GetXamlDirective(string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
447
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
455
XamlDirective result = new XamlDirective(s_xmlNamespaces, name,
AllowedMemberLocations
.Attribute, new MemberReflector(String, BuiltInValueConverter.String));