22 references to AllowedMemberLocations
System.Xaml (22)
System\Xaml\Context\XamlContext.cs (2)
185
if ((directive.AllowedLocation &
AllowedMemberLocations
.Attribute) ==
AllowedMemberLocations
.None)
System\Xaml\Schema\XamlDirective.cs (5)
16
private
AllowedMemberLocations
_allowedLocation;
19
internal XamlDirective(ReadOnlyCollection<string> immutableXamlNamespaces, string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
34
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
59
_allowedLocation =
AllowedMemberLocations
.Any;
62
public
AllowedMemberLocations
AllowedLocation { get { return _allowedLocation; } }
System\Xaml\XamlLanguage.cs (15)
125
String, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Attribute), true);
128
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
137
s_string.Value, BuiltInValueConverter.Int32,
AllowedMemberLocations
.Any), true);
140
s_string.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
145
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
148
s_object.Value, null,
AllowedMemberLocations
.Any), true);
151
s_object.Value, BuiltInValueConverter.String,
AllowedMemberLocations
.Any), true);
154
s_listOfMembers.Value, null,
AllowedMemberLocations
.MemberElement), true);
157
s_listOfAttributes.Value, null,
AllowedMemberLocations
.MemberElement), true);
162
s_listOfObject.Value, null,
AllowedMemberLocations
.Any), true);
174
new Lazy<XamlDirective>(() => GetXamlDirective(x_UnknownContent,
AllowedMemberLocations
.MemberElement, MemberReflector.UnknownReflector), true);
436
return GetXamlDirective(name, String, BuiltInValueConverter.String,
AllowedMemberLocations
.Attribute);
439
private static XamlDirective GetXamlDirective(string name,
AllowedMemberLocations
allowedLocation, MemberReflector reflector)
446
XamlValueConverter<TypeConverter> typeConverter,
AllowedMemberLocations
allowedLocation)
454
XamlDirective result = new XamlDirective(s_xmlNamespaces, name,
AllowedMemberLocations
.Attribute, new MemberReflector(String, BuiltInValueConverter.String));