6 instantiations of XamlDirective
PresentationFramework (1)
System\Windows\Markup\XamlReaderConstants.cs (1)
95_freezeDirective = new System.Xaml.XamlDirective(XamlReaderHelper.PresentationOptionsNamespaceURI, XamlReaderHelper.PresentationOptionsFreeze);
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (2)
189directive = new XamlDirective(propUsageNamespace, propName.Name); 204property = new XamlDirective(propUsageNamespace, propName.Name);
System\Xaml\XamlLanguage.cs (3)
441XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, reflector); 448XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter)); 454XamlDirective 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)
32public override XamlDirective GetXamlDirective(string xamlNamespace, string name)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
118protected override XamlMember LookupAliasedProperty(XamlDirective directive)
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
106(NodeType == System.Xaml.XamlNodeType.StartMember && Member is XamlDirective directive && !IsAllowedDirective(directive))) 139private bool IsAllowedDirective(XamlDirective directive)
System\Windows\Markup\XamlReaderConstants.cs (2)
89internal static System.Xaml.XamlDirective Freeze 101private static System.Xaml.XamlDirective _freezeDirective;
System.Xaml (103)
System\Xaml\Context\XamlContext.cs (1)
182XamlDirective directive = SchemaContext.GetXamlDirective(propUsageNamespace, propName.Name);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1585XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as XamlDirective);
System\Xaml\Parser\XamlPullParser.cs (1)
866var initProperty = XamlLanguage.Initialization;
System\Xaml\Schema\TypeReflector.cs (4)
41private ConcurrentDictionary<XamlDirective, XamlMember> _aliasedProperties; 308internal bool TryGetAliasedProperty(XamlDirective directive, out XamlMember member) 343internal void TryAddAliasedProperty(XamlDirective directive, XamlMember member) 366var dict = XamlSchemaContext.CreateDictionary<XamlDirective, XamlMember>();
System\Xaml\Schema\XamlDirective.cs (2)
98internal static bool NamespacesAreEqual(XamlDirective directive1, XamlDirective directive2)
System\Xaml\XamlLanguage.cs (88)
123private static Lazy<XamlDirective> s_asyncRecords = 124new Lazy<XamlDirective>(() => GetXamlDirective(x_AsyncRecords, 126private static Lazy<XamlDirective> s_arguments = 127new Lazy<XamlDirective>(() => GetXamlDirective(x_Arguments, 129private static Lazy<XamlDirective> s_class = 130new Lazy<XamlDirective>(() => GetXamlDirective(x_Class)); 131private static Lazy<XamlDirective> s_classModifier = 132new Lazy<XamlDirective>(() => GetXamlDirective(x_ClassModifier)); 133private static Lazy<XamlDirective> s_code = 134new Lazy<XamlDirective>(() => GetXamlDirective(x_Code)); 135private static Lazy<XamlDirective> s_connectionId = 136new Lazy<XamlDirective>(() => GetXamlDirective(x_ConnectionId, 138private static Lazy<XamlDirective> s_factoryMethod = 139new Lazy<XamlDirective>(() => GetXamlDirective(x_FactoryMethod, 141private static Lazy<XamlDirective> s_fieldModifier = 142new Lazy<XamlDirective>(() => GetXamlDirective(x_FieldModifier)); 143private static Lazy<XamlDirective> s_items = 144new Lazy<XamlDirective>(() => GetXamlDirective(x_Items, 146private static Lazy<XamlDirective> s_initialization = 147new Lazy<XamlDirective>(() => GetXamlDirective(x_Initialization, 149private static Lazy<XamlDirective> s_key = 150new Lazy<XamlDirective>(() => GetXamlDirective(x_Key, 152private static Lazy<XamlDirective> s_members = 153new Lazy<XamlDirective>(() => GetXamlDirective(x_Members, 155private static Lazy<XamlDirective> s_classAttributes = 156new Lazy<XamlDirective>(() => GetXamlDirective(x_ClassAttributes, 158private static Lazy<XamlDirective> s_name = 159new Lazy<XamlDirective>(() => GetXamlDirective(x_Name)); 160private static Lazy<XamlDirective> s_positionalParameters = 161new Lazy<XamlDirective>(() => GetXamlDirective(x_PositionalParameters, 163private static Lazy<XamlDirective> s_shared = 164new Lazy<XamlDirective>(() => GetXamlDirective(x_Shared), true); 165private static Lazy<XamlDirective> s_subclass = 166new Lazy<XamlDirective>(() => GetXamlDirective(x_Subclass), true); 167private static Lazy<XamlDirective> s_synchronousMode = 168new Lazy<XamlDirective>(() => GetXamlDirective(x_SynchronousMode)); 169private static Lazy<XamlDirective> s_typeArguments = 170new Lazy<XamlDirective>(() => GetXamlDirective(x_TypeArguments)); 171private static Lazy<XamlDirective> s_uid = 172new Lazy<XamlDirective>(() => GetXamlDirective(x_Uid)); 173private static Lazy<XamlDirective> s_unknownContent = 174new Lazy<XamlDirective>(() => GetXamlDirective(x_UnknownContent, AllowedMemberLocations.MemberElement, MemberReflector.UnknownReflector), true); 176private static Lazy<XamlDirective> s_base = 177new Lazy<XamlDirective>(() => GetXmlDirective(xml_Base)); 178private static Lazy<XamlDirective> s_lang = 179new Lazy<XamlDirective>(() => GetXmlDirective(xml_Lang)); 180private static Lazy<XamlDirective> s_space = 181new Lazy<XamlDirective>(() => GetXmlDirective(xml_Space)); 183private static Lazy<ReadOnlyCollection<XamlDirective>> s_allDirectives = 184new Lazy<ReadOnlyCollection<XamlDirective>>(GetAllDirectives); 214public static XamlDirective Arguments { get { return s_arguments.Value; } } 215public static XamlDirective AsyncRecords { get { return s_asyncRecords.Value; } } 216public static XamlDirective Class { get { return s_class.Value; } } 217public static XamlDirective ClassModifier { get { return s_classModifier.Value; } } 218public static XamlDirective Code { get { return s_code.Value; } } 219public static XamlDirective ConnectionId { get { return s_connectionId.Value; } } 220public static XamlDirective FactoryMethod { get { return s_factoryMethod.Value; } } 221public static XamlDirective FieldModifier { get { return s_fieldModifier.Value; } } 222public static XamlDirective Items { get { return s_items.Value; } } 223public static XamlDirective Initialization { get { return s_initialization.Value; } } 224public static XamlDirective Key { get { return s_key.Value; } } 225public static XamlDirective Members { get { return s_members.Value; } } 226public static XamlDirective ClassAttributes { get { return s_classAttributes.Value; } } 227public static XamlDirective Name { get { return s_name.Value; } } 228public static XamlDirective PositionalParameters { get { return s_positionalParameters.Value; } } 229public static XamlDirective Shared { get { return s_shared.Value; } } 230public static XamlDirective Subclass { get { return s_subclass.Value; } } 231public static XamlDirective SynchronousMode { get { return s_synchronousMode.Value; } } 232public static XamlDirective TypeArguments { get { return s_typeArguments.Value; } } 233public static XamlDirective Uid { get { return s_uid.Value; } } 234public static XamlDirective UnknownContent { get { return s_unknownContent.Value; } } 236public static XamlDirective Base { get { return s_base.Value; } } 237public static XamlDirective Lang { get { return s_lang.Value; } } 239public static XamlDirective Space { get { return s_space.Value; } } 241public static ReadOnlyCollection<XamlDirective> AllDirectives { get { return s_allDirectives.Value; } } 262internal static XamlDirective LookupXamlDirective(string name) 393internal static XamlDirective LookupXmlDirective(string name) 414private static ReadOnlyCollection<XamlDirective> GetAllDirectives() 416XamlDirective[] result = new XamlDirective[] 420return new ReadOnlyCollection<XamlDirective>(result); 434private static XamlDirective GetXamlDirective(string name) 439private static XamlDirective GetXamlDirective(string name, AllowedMemberLocations allowedLocation, MemberReflector reflector) 441XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, reflector); 445private static XamlDirective GetXamlDirective(string name, XamlType xamlType, 448XamlDirective result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter)); 452private static XamlDirective GetXmlDirective(string name) 454XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
System\Xaml\XamlMember.cs (3)
1018return XamlDirective.NamespacesAreEqual((XamlDirective)xamlMember1, (XamlDirective)xamlMember2);
System\Xaml\XamlSchemaContext.cs (1)
246public virtual XamlDirective GetXamlDirective(string xamlNamespace, string name)
System\Xaml\XamlType.cs (2)
363public XamlMember GetAliasedProperty(XamlDirective directive) 638protected virtual XamlMember LookupAliasedProperty(XamlDirective directive)