6 instantiations of XamlDirective
PresentationFramework (1)
System\Windows\Markup\XamlReaderConstants.cs (1)
68_freezeDirective = new System.Xaml.XamlDirective(XamlReaderHelper.PresentationOptionsNamespaceURI, XamlReaderHelper.PresentationOptionsFreeze);
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (2)
196directive = new XamlDirective(propUsageNamespace, propName.Name); 213property = new XamlDirective(propUsageNamespace, propName.Name);
System\Xaml\XamlLanguage.cs (3)
448XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, reflector); 455XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter)); 461XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
109 references to XamlDirective
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
31public override XamlDirective GetXamlDirective(string xamlNamespace, string name)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
117protected override XamlMember LookupAliasedProperty(XamlDirective directive)
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
105(NodeType == System.Xaml.XamlNodeType.StartMember && Member is XamlDirective directive && !IsAllowedDirective(directive))) 138private bool IsAllowedDirective(XamlDirective directive)
System\Windows\Markup\XamlReaderConstants.cs (2)
62internal static System.Xaml.XamlDirective Freeze 74private static System.Xaml.XamlDirective _freezeDirective;
System.Xaml (103)
System\Xaml\Context\XamlContext.cs (1)
189XamlDirective directive = SchemaContext.GetXamlDirective(propUsageNamespace, propName.Name);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1625XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as XamlDirective);
System\Xaml\Parser\XamlPullParser.cs (1)
909var initProperty = XamlLanguage.Initialization;
System\Xaml\Schema\TypeReflector.cs (4)
40private ConcurrentDictionary<XamlDirective, XamlMember> _aliasedProperties; 318internal bool TryGetAliasedProperty(XamlDirective directive, out XamlMember member) 355internal void TryAddAliasedProperty(XamlDirective directive, XamlMember member) 378var dict = XamlSchemaContext.CreateDictionary<XamlDirective, XamlMember>();
System\Xaml\Schema\XamlDirective.cs (2)
97internal static bool NamespacesAreEqual(XamlDirective directive1, XamlDirective directive2)
System\Xaml\XamlLanguage.cs (88)
122private static Lazy<XamlDirective> s_asyncRecords = 123new Lazy<XamlDirective>(() => GetXamlDirective(x_AsyncRecords, 125private static Lazy<XamlDirective> s_arguments = 126new Lazy<XamlDirective>(() => GetXamlDirective(x_Arguments, 128private static Lazy<XamlDirective> s_class = 129new Lazy<XamlDirective>(() => GetXamlDirective(x_Class)); 130private static Lazy<XamlDirective> s_classModifier = 131new Lazy<XamlDirective>(() => GetXamlDirective(x_ClassModifier)); 132private static Lazy<XamlDirective> s_code = 133new Lazy<XamlDirective>(() => GetXamlDirective(x_Code)); 134private static Lazy<XamlDirective> s_connectionId = 135new Lazy<XamlDirective>(() => GetXamlDirective(x_ConnectionId, 137private static Lazy<XamlDirective> s_factoryMethod = 138new Lazy<XamlDirective>(() => GetXamlDirective(x_FactoryMethod, 140private static Lazy<XamlDirective> s_fieldModifier = 141new Lazy<XamlDirective>(() => GetXamlDirective(x_FieldModifier)); 142private static Lazy<XamlDirective> s_items = 143new Lazy<XamlDirective>(() => GetXamlDirective(x_Items, 145private static Lazy<XamlDirective> s_initialization = 146new Lazy<XamlDirective>(() => GetXamlDirective(x_Initialization, 148private static Lazy<XamlDirective> s_key = 149new Lazy<XamlDirective>(() => GetXamlDirective(x_Key, 151private static Lazy<XamlDirective> s_members = 152new Lazy<XamlDirective>(() => GetXamlDirective(x_Members, 154private static Lazy<XamlDirective> s_classAttributes = 155new Lazy<XamlDirective>(() => GetXamlDirective(x_ClassAttributes, 157private static Lazy<XamlDirective> s_name = 158new Lazy<XamlDirective>(() => GetXamlDirective(x_Name)); 159private static Lazy<XamlDirective> s_positionalParameters = 160new Lazy<XamlDirective>(() => GetXamlDirective(x_PositionalParameters, 162private static Lazy<XamlDirective> s_shared = 163new Lazy<XamlDirective>(() => GetXamlDirective(x_Shared), true); 164private static Lazy<XamlDirective> s_subclass = 165new Lazy<XamlDirective>(() => GetXamlDirective(x_Subclass), true); 166private static Lazy<XamlDirective> s_synchronousMode = 167new Lazy<XamlDirective>(() => GetXamlDirective(x_SynchronousMode)); 168private static Lazy<XamlDirective> s_typeArguments = 169new Lazy<XamlDirective>(() => GetXamlDirective(x_TypeArguments)); 170private static Lazy<XamlDirective> s_uid = 171new Lazy<XamlDirective>(() => GetXamlDirective(x_Uid)); 172private static Lazy<XamlDirective> s_unknownContent = 173new Lazy<XamlDirective>(() => GetXamlDirective(x_UnknownContent, AllowedMemberLocations.MemberElement, MemberReflector.UnknownReflector), true); 175private static Lazy<XamlDirective> s_base = 176new Lazy<XamlDirective>(() => GetXmlDirective(xml_Base)); 177private static Lazy<XamlDirective> s_lang = 178new Lazy<XamlDirective>(() => GetXmlDirective(xml_Lang)); 179private static Lazy<XamlDirective> s_space = 180new Lazy<XamlDirective>(() => GetXmlDirective(xml_Space)); 182private static Lazy<ReadOnlyCollection<XamlDirective>> s_allDirectives = 183new Lazy<ReadOnlyCollection<XamlDirective>>(GetAllDirectives); 213public static XamlDirective Arguments { get { return s_arguments.Value; } } 214public static XamlDirective AsyncRecords { get { return s_asyncRecords.Value; } } 215public static XamlDirective Class { get { return s_class.Value; } } 216public static XamlDirective ClassModifier { get { return s_classModifier.Value; } } 217public static XamlDirective Code { get { return s_code.Value; } } 218public static XamlDirective ConnectionId { get { return s_connectionId.Value; } } 219public static XamlDirective FactoryMethod { get { return s_factoryMethod.Value; } } 220public static XamlDirective FieldModifier { get { return s_fieldModifier.Value; } } 221public static XamlDirective Items { get { return s_items.Value; } } 222public static XamlDirective Initialization { get { return s_initialization.Value; } } 223public static XamlDirective Key { get { return s_key.Value; } } 224public static XamlDirective Members { get { return s_members.Value; } } 225public static XamlDirective ClassAttributes { get { return s_classAttributes.Value; } } 226public static XamlDirective Name { get { return s_name.Value; } } 227public static XamlDirective PositionalParameters { get { return s_positionalParameters.Value; } } 228public static XamlDirective Shared { get { return s_shared.Value; } } 229public static XamlDirective Subclass { get { return s_subclass.Value; } } 230public static XamlDirective SynchronousMode { get { return s_synchronousMode.Value; } } 231public static XamlDirective TypeArguments { get { return s_typeArguments.Value; } } 232public static XamlDirective Uid { get { return s_uid.Value; } } 233public static XamlDirective UnknownContent { get { return s_unknownContent.Value; } } 235public static XamlDirective Base { get { return s_base.Value; } } 236public static XamlDirective Lang { get { return s_lang.Value; } } 238public static XamlDirective Space { get { return s_space.Value; } } 240public static ReadOnlyCollection<XamlDirective> AllDirectives { get { return s_allDirectives.Value; } } 263internal static XamlDirective LookupXamlDirective(string name) 396internal static XamlDirective LookupXmlDirective(string name) 417private static ReadOnlyCollection<XamlDirective> GetAllDirectives() 419XamlDirective[] result = new XamlDirective[] 425return new ReadOnlyCollection<XamlDirective>(result); 441private static XamlDirective GetXamlDirective(string name) 446private static XamlDirective GetXamlDirective(string name, AllowedMemberLocations allowedLocation, MemberReflector reflector) 448XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, reflector); 452private static XamlDirective GetXamlDirective(string name, XamlType xamlType, 455XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter)); 459private static XamlDirective GetXmlDirective(string name) 461XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
System\Xaml\XamlMember.cs (3)
1076return XamlDirective.NamespacesAreEqual((XamlDirective)xamlMember1, (XamlDirective)xamlMember2);
System\Xaml\XamlSchemaContext.cs (1)
257public virtual XamlDirective GetXamlDirective(string xamlNamespace, string name)
System\Xaml\XamlType.cs (2)
382public XamlMember GetAliasedProperty(XamlDirective directive) 678protected virtual XamlMember LookupAliasedProperty(XamlDirective directive)