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