2 types derived from XamlMember
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
11internal class WpfXamlMember : XamlMember, System.Windows.Markup.IProvideValueTarget
System.Xaml (1)
System\Xaml\Schema\XamlDirective.cs (1)
14public class XamlDirective : XamlMember
15 instantiations of XamlMember
System.Xaml (12)
System\Xaml\Context\XamlContext.cs (3)
199property = new XamlMember(propName.Name, tagType, false); 327return new XamlMember(name, declaringType, false); 332return new XamlMember(name, declaringType, true);
System\Xaml\Parser\XamlAttribute.cs (2)
155unknownProperty = new XamlMember(propName.Name, attachedOwnerType, true /*isAttachable*/); 159unknownProperty = new XamlMember(propName.Name, tagType, false);
System\Xaml\Parser\XamlPullParser.cs (1)
526contentProperty = new XamlMember(contentProperty.Name, currentType, false);
System\Xaml\XamlSchemaContext.cs (4)
611member = new XamlMember(pi, this); 623member = new XamlMember(ei, this); 636property = new XamlMember(name, getter, setter, this); 648property = new XamlMember(name, adder, this);
System\Xaml\XamlType.cs (2)
1433result = new XamlMember(propertyName, this /*declaringType*/, false /*isAttachable*/); 1550XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext);
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
16yield return new object?[] { new XamlMember("name", type, false), new ArrayExtension(), new CustomServiceProvider() };
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
18yield return new object?[] { new XamlMember("name", type, false), new Int32Converter(), new object(), new CustomTypeDescriptorContext(), CultureInfo.InvariantCulture };
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
16yield return new object?[] { new XamlMember("name", type, false), new object() };
528 references to XamlMember
PresentationFramework (137)
MS\Internal\Helper.cs (1)
624System.Xaml.XamlMember member = xt.GetMember(propertyInfo.Name);
System\Windows\FrameworkTemplate.cs (3)
691public XamlMember Property { get; set; } 710private bool ReceivePropertySet(object targetObject, XamlMember member, 1071internal static bool IsNameProperty(XamlMember member, XamlType owner)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (21)
199override public XamlMember Member 754XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 945XamlMember property = BamlSchemaContext.GetXamlDirective(XamlLanguage.Xaml2006Namespace, BamlSchemaContext.GetString(stringId)); 1370XamlMember eventProperty = GetProperty(_binaryReader.ReadInt16(), false); 1392XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1474private XamlMember GetProperty(Int16 propertyId, XamlType parentType) 1476XamlMember property = BamlSchemaContext.GetProperty(propertyId, parentType); 1480private XamlMember GetProperty(Int16 propertyId, bool isAttached) 1482XamlMember property = BamlSchemaContext.GetProperty(propertyId, isAttached); 1492XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1571XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1616internal virtual object CreateTypeConverterMarkupExtension(XamlMember property, TypeConverter converter, object propertyValue, Baml2006ReaderSettings settings) 1633XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1848XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1878XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1968XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1979XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1989XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 2239XamlMember contentProperty = GetProperty(propertyId, false); 2354XamlMember parentProperty = _context.CurrentFrame.Member; 2507XamlMember property,
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (2)
35public XamlMember Member { get; set; } 38public XamlMember ContentProperty { get; set; }
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
46internal override object CreateTypeConverterMarkupExtension(XamlMember property, TypeConverter converter, object propertyValue, Baml2006ReaderSettings settings)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (27)
75internal XamlMember StaticExtensionMemberTypeProperty { get { return _xStaticMemberProperty.Value; } } 77internal XamlMember TypeExtensionTypeProperty { get { return _xTypeTypeProperty.Value; } } 79internal XamlMember ResourceDictionaryDeferredContentProperty { get { return _resourceDictionaryDefContentProperty.Value; } } 85internal XamlMember EventSetterEventProperty { get { return _eventSetterEventProperty.Value; } } 87internal XamlMember EventSetterHandlerProperty { get { return _eventSetterHandlerProperty.Value; } } 89internal XamlMember FrameworkTemplateTemplateProperty { get { return _frameworkTemplateTemplateProperty.Value; } } 179XamlMember member = GetProperty(propertyId, false); 190internal XamlMember GetProperty(Int16 propertyId, XamlType parentType) 193XamlMember xamlMember; 229internal XamlMember GetProperty(Int16 propertyId, bool isAttached) 232XamlMember xamlMember; 277XamlMember xamlMember; 295XamlMember xamlMember; 613private bool TryGetBamlProperty(Int16 propertyId, out BamlProperty bamlProperty, out XamlMember xamlMember) 620xamlMember = property as XamlMember; 659private static readonly Lazy<XamlMember> _xStaticMemberProperty 660= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("MemberType")); 662private static readonly Lazy<XamlMember> _xTypeTypeProperty 663= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("Type")); 665private static readonly Lazy<XamlMember> _resourceDictionaryDefContentProperty 666= new Lazy<XamlMember>(() => _resourceDictionaryType.Value.GetMember("DeferrableContent")); 674private static readonly Lazy<XamlMember> _eventSetterEventProperty 675= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Event")); 677private static readonly Lazy<XamlMember> _eventSetterHandlerProperty 678= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Handler")); 680private static readonly Lazy<XamlMember> _frameworkTemplateTemplateProperty 681= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfKnownType.cs (3)
103protected override XamlMember LookupContentProperty() 118protected override XamlMember LookupAliasedProperty(XamlDirective directive) 305private XamlMember CallGetMember(string name)
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (18)
318internal XamlMember StaticExtensionMemberTypeProperty { get { return _xStaticMemberProperty.Value; } } 320internal XamlMember TypeExtensionTypeProperty { get { return _xTypeTypeProperty.Value; } } 322internal XamlMember ResourceDictionaryDeferredContentProperty { get { return _resourceDictionaryDefContentProperty.Value; } } 328internal XamlMember EventSetterEventProperty { get { return _eventSetterEventProperty.Value; } } 330internal XamlMember EventSetterHandlerProperty { get { return _eventSetterHandlerProperty.Value; } } 332internal XamlMember FrameworkTemplateTemplateProperty { get { return _frameworkTemplateTemplateProperty.Value; } } 350private static readonly Lazy<XamlMember> _xStaticMemberProperty 351= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("MemberType")); 353private static readonly Lazy<XamlMember> _xTypeTypeProperty 354= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("Type")); 356private static readonly Lazy<XamlMember> _resourceDictionaryDefContentProperty 357= new Lazy<XamlMember>(() => _resourceDictionaryType.Value.GetMember("DeferrableContent")); 365private static readonly Lazy<XamlMember> _eventSetterEventProperty 366= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Event")); 368private static readonly Lazy<XamlMember> _eventSetterHandlerProperty 369= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Handler")); 371private static readonly Lazy<XamlMember> _frameworkTemplateTemplateProperty 372= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
304private XamlMember BaseUnderlyingMember 326private XamlMember _baseUnderlyingMember;
System\Windows\Markup\Baml2006\WpfXamlType.cs (37)
35private ConcurrentDictionary<string, XamlMember> _attachableMembers; 36private ConcurrentDictionary<string, XamlMember> _members; 51protected ConcurrentDictionary<string, XamlMember> Members 57_members = new ConcurrentDictionary<string, XamlMember>(ConcurrencyLevel, Capacity); 63protected ConcurrentDictionary<string, XamlMember> AttachableMembers 69_attachableMembers = new ConcurrentDictionary<string, XamlMember>(ConcurrencyLevel, Capacity); 82protected override XamlMember LookupContentProperty() 84XamlMember result = base.LookupContentProperty(); 117private XamlMember FindMember(string name, bool isAttached, bool skipReadOnlyCheck) 120XamlMember member = FindKnownMember(name, isAttached); 158XamlMember knownMember = FindKnownMember(wpfKnownType, name, isAttached); 167protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 172protected override XamlMember LookupAttachableMember(string name) 177protected override IEnumerable<XamlMember> LookupAllMembers() 179List<XamlMember> members = new List<XamlMember>(); 182foreach (var reflectedMember in reflectedMembers) 184var member = reflectedMember; 201private XamlMember FindKnownMember(string name, bool isAttachable) 210XamlMember xamlMember = FindKnownMember(wpfXamlType, name, isAttachable); 223private XamlMember FindRoutedEventBackedProperty(string name, bool isAttachable, bool skipReadOnlyCheck) 227XamlMember xamlMember = null; 291private XamlMember FindDependencyPropertyBackedProperty(string name, bool isAttachable, bool skipReadOnlyCheck) 293XamlMember xamlMember = null; 355private XamlMember CacheAndReturnXamlMember(XamlMember xamlMember) 382private XamlMember GetAttachedRoutedEvent(string name, RoutedEvent re) 384XamlMember memberFromBase = base.LookupAttachableMember(name); 392private XamlMember GetRoutedEvent(string name, RoutedEvent re, bool skipReadOnlyCheck) 394XamlMember memberFromBase = base.LookupMember(name, skipReadOnlyCheck); 402private XamlMember GetAttachedDependencyProperty(string name, DependencyProperty property) 404XamlMember memberFromBase = base.LookupAttachableMember(name); 415private XamlMember GetRegularDependencyProperty(string name, DependencyProperty property, bool skipReadOnlyCheck) 417XamlMember memberFromBase = base.LookupMember(name, skipReadOnlyCheck); 436private static XamlMember FindKnownMember(WpfXamlType wpfXamlType, string name, bool isAttachable) 438XamlMember xamlMember = null; 525internal XamlMember FindBaseXamlMember(string name, bool isAttachable)
System\Windows\Markup\DependencyPropertyConverter.cs (4)
196XamlMember styleTargetType = styleXType.GetMember("TargetType"); 197XamlMember templateProperty = frameworkTemplateXType.GetMember("Template"); 198XamlMember controlTemplateTargetType = controlTemplateXType.GetMember("TargetType"); 246XamlMember templateProperty = frameworkTemplateXType.GetMember("Template");
System\Windows\Markup\RoutedEventConverter.cs (1)
92XamlMember styleTargetType = styleXType.GetMember("TargetType");
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
105System.Xaml.XamlMember xamlProperty =
System\Windows\Markup\WpfXamlLoader.cs (3)
18private static Lazy<XamlMember> XmlSpace = new Lazy<XamlMember>(() => new WpfXamlMember(XmlAttributeProperties.XmlSpaceProperty, true)); 329XamlMember currentProperty = currentFrame.Property;
System\Windows\Markup\XamlReader.cs (4)
384XamlMember synchronousModeProperty = _textReader.SchemaContext.GetXamlDirective("http://schemas.microsoft.com/winfx/2006/xaml", "SynchronousMode"); 385XamlMember synchronousRecordProperty = _textReader.SchemaContext.GetXamlDirective("http://schemas.microsoft.com/winfx/2006/xaml", "AsyncRecords"); 594XamlMember synchronousRecordProperty = _textReader.SchemaContext.GetXamlDirective(XamlLanguage.Xaml2006Namespace, "AsyncRecords"); 1192public XamlMember Property { get; set; }
System\Windows\ResourceDictionary.cs (1)
1162XamlMember xamlMemberResourceKey = xamlTypeStaticResourceExtension.GetMember("ResourceKey");
System\Windows\StaticResourceExtension.cs (6)
219XamlMember fceResourcesProperty = fceXType.GetMember("Resources"); 220XamlMember feResourcesProperty = feXType.GetMember("Resources"); 221XamlMember styleResourcesProperty = styleXType.GetMember("Resources"); 222XamlMember styleBasedOnProperty = styleXType.GetMember("BasedOn"); 223XamlMember templateResourcesProperty = templateXType.GetMember("Resources"); 224XamlMember appResourcesProperty = appXType.GetMember("Resources");
System\Windows\TemplateContent.cs (2)
46public XamlMember Property { get; set; } 1049System.Xaml.XamlMember member = reader.Member;
PresentationFramework.Aero (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
PresentationFramework.Aero2 (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
PresentationFramework.AeroLite (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
PresentationFramework.Classic (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
PresentationFramework.Luna (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
PresentationFramework.Royale (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
219protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 221XamlMember member = FindKnownMember(name); 230protected override XamlMember LookupAttachableMember(string name) 232XamlMember member = FindKnownMember(name); 241private XamlMember FindKnownMember(string name) 243XamlMember member;
System.Xaml (352)
System\Windows\Markup\XamlSetMarkupExtensionEventArgs.cs (2)
13public XamlSetMarkupExtensionEventArgs(XamlMember member, 23internal XamlSetMarkupExtensionEventArgs(XamlMember member,
System\Windows\Markup\XamlSetTypeConverterEventArgs.cs (2)
15public XamlSetTypeConverterEventArgs(XamlMember member, TypeConverter typeConverter, object value, 24internal XamlSetTypeConverterEventArgs(XamlMember member, TypeConverter typeConverter, object value,
System\Windows\Markup\XamlSetValueEventArgs.cs (2)
13public XamlSetValueEventArgs(XamlMember member, object value) 19public XamlMember Member { get; }
System\Xaml\Context\ContextServices.cs (1)
26XamlMember parentProperty = xamlContext.ParentProperty;
System\Xaml\Context\NameFixupToken.cs (1)
39public XamlMember Property { get; set; }
System\Xaml\Context\ObjectWriterContext.cs (14)
169internal AmbientPropertyValue ServiceProvider_GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 181internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 193internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, XamlMember[] properties) 301XamlMember[] properties, 304foreach (XamlMember xamlMember in properties) 346foreach (XamlMember prop in properties) 524public XamlMember CurrentProperty 530public XamlMember ParentProperty 535public XamlMember GrandParentProperty 607public Dictionary<XamlMember, object> CurrentPreconstructionPropertyValues 617public Dictionary<XamlMember, object> ParentPreconstructionPropertyValues 622public HashSet<XamlMember> CurrentAssignedProperties 627public HashSet<XamlMember> ParentAssignedProperties 892XamlMember nameScopeProperty = TypeReflector.LookupNameScopeProperty(xamlType);
System\Xaml\Context\ObjectWriterFrame.cs (8)
16private Dictionary<XamlMember, object> _preconstructionPropertyValues; 17private HashSet<XamlMember> _assignedProperties; 33_preconstructionPropertyValues = new Dictionary<XamlMember, object>(source.PreconstructionPropertyValues); 37_assignedProperties = new HashSet<XamlMember>(source.AssignedProperties); 164public Dictionary<XamlMember, object> PreconstructionPropertyValues 170_preconstructionPropertyValues = new Dictionary<XamlMember, object>(); 184public HashSet<XamlMember> AssignedProperties 190_assignedProperties = new HashSet<XamlMember>();
System\Xaml\Context\ServiceProviderContext.cs (6)
131params XamlMember[] properties) 135foreach (var property in properties) 165params XamlMember[] properties) 169foreach (var property in properties) 201params XamlMember[] properties) 205foreach (var property in properties)
System\Xaml\Context\XamlCommonFrame.cs (1)
51public XamlMember Member { get; set; }
System\Xaml\Context\XamlContext.cs (14)
43public XamlMember GetXamlProperty(XamlType xamlType, string propertyName, XamlType rootObjectType) 49XamlMember member = xamlType.GetMember(propertyName); 53public XamlMember GetXamlAttachableProperty(XamlType xamlType, string propertyName) 59XamlMember member = xamlType.GetAttachableMember(propertyName); 74public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlPropertyName propName, bool tagIsRoot) 80XamlMember property = null; 157public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName propName, 160XamlMember property = null; 310internal XamlMember ResolveDirectiveProperty(string xamlNS, string name) 320internal virtual bool IsVisible(XamlMember member, XamlType rootObjectType) 325private XamlMember CreateUnknownMember(XamlType declaringType, string name) 330private XamlMember CreateUnknownAttachableMember(XamlType declaringType, string name) 352private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) 354XamlMember property = GetXamlProperty(tagType, propName, rootTagType);
System\Xaml\Context\XamlParserContext.cs (2)
110internal override bool IsVisible(XamlMember member, XamlType rootObjectType) 233public XamlMember CurrentMember
System\Xaml\IAmbientProvider.cs (6)
12params XamlMember[] properties); 16params XamlMember[] properties); 23params XamlMember[] properties); 28XamlMember _property; 31public AmbientPropertyValue(XamlMember property, object value) 38public XamlMember RetrievedProperty { get { return _property; } }
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
136public override void WriteStartMember(XamlMember property)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
70Debug.Assert(data is XamlMember, "XamlNode ctor, StartMember data is not a XamlMember"); 195public XamlMember Member 201return (XamlMember)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (26)
176protected virtual bool OnSetValue(object eventSender, XamlMember member, object value) 262XamlMember parentProperty = (_context.CurrentType is null && _context.Depth > 1) 556public override void WriteStartMember(XamlMember property) 682XamlMember property; 821XamlMember currentProperty = _context.CurrentProperty; 839XamlMember parentProperty = currentProperty; 1045XamlMember keyProperty = instanceType.GetAliasedProperty(XamlLanguage.Key); 1066bool IsConstructionDirective(XamlMember xamlMember) 1078bool IsTextConstructionDirective(XamlMember xamlMember) 1089bool IsDirectiveAllowedOnNullInstance(XamlMember xamlMember, XamlType xamlType) 1272object value, XamlMember property, string targetName) 1278object value, XamlMember property, string targetName, IAddLineInfo lineInfo) 1299XamlMember property = ctx.ParentProperty; 1474private void Logic_DuplicatePropertyCheck(ObjectWriterContext ctx, XamlMember property, bool onParent) 1478HashSet<XamlMember> setProperties = onParent ? ctx.ParentAssignedProperties : ctx.CurrentAssignedProperties; 1505Dictionary<XamlMember, object> propertyValues = ctx.CurrentPreconstructionPropertyValues; 1508foreach (XamlMember prop in propertyValues.Keys) 1538private object Logic_PushAndPopAProvideValueStackFrame(ObjectWriterContext ctx, XamlMember prop, XAML3.MarkupExtension me, bool useIRME) 1540XamlMember savedProp = ctx.CurrentProperty; 1562private void Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, 1585XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as XamlDirective); 1651XamlMember parentProperty = ctx.ParentProperty; 1946XamlMember parentProperty = ctx.ParentProperty; 2151private void SetValue(object inst, XamlMember property, object value) 2196XamlMember property = ctx.ParentProperty; 2218XamlMember property, XamlSavedContext deferredMarkupExtensionContext)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
294public override XamlMember Member
System\Xaml\Parser\MePullParser.cs (2)
367XamlMember property = _tokenizer.TokenProperty; 470XamlMember member = _tokenizer.TokenProperty;
System\Xaml\Parser\MeScanner.cs (3)
57XamlMember _tokenProperty; 108public XamlMember TokenProperty 317XamlMember prop = null;
System\Xaml\Parser\NodeStreamSorter.cs (7)
239private void EnqueueOneXmlDirectiveProperty(XamlMember xmlDirectiveProperty, string textValue) 394XamlMember prop = node.Member; 417private bool IsCtorDirective(XamlMember member) 435private bool IsInstancingMember(XamlMember member) 588XamlMember nextMember = _originalNodesInOrder[originalIdx].Member; 608XamlMember member = _originalNodesInOrder[originalIdx].Member; 627XamlMember nextMember = _originalNodesInOrder[originalIdx].Member;
System\Xaml\Parser\XamlAttribute.cs (4)
23public XamlMember Property { get; private set; } 142private XamlMember GetXamlAttributeProperty(XamlParserContext context, XamlPropertyName propName, 145XamlMember prop = null; 151XamlMember unknownProperty;
System\Xaml\Parser\XamlPullParser.cs (13)
513XamlMember contentProperty = currentType.ContentProperty; 578XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 705XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 797XamlMember property = _xamlScanner.PropertyAttribute; 830private XamlNode Logic_StartMember(XamlMember member) 852private XamlNode Logic_StartContentProperty(XamlMember property) 947private XamlMember _arrayTypeMember; 948private XamlMember ArrayTypeMember 960private XamlMember _itemsTypeMember; 961private XamlMember ItemsTypeMember 977XamlMember currentProperty = _context.CurrentMember; 1099XamlMember prop = _context.CurrentMember; 1155private static bool CanAcceptString(XamlMember property)
System\Xaml\Parser\XamlScanner.cs (8)
91public XamlMember PropertyAttribute 106public XamlMember PropertyElement 295XamlMember dirProperty = schemaContext.GetXamlDirective(xamlNs, name.Name); 337private void ReadObjectElement_DirectiveProperty(XamlMember dirProperty, XamlScannerNode node) 425XamlMember property = null; 599XamlMember directiveProperty = _parserContext.ResolveDirectiveProperty(attrNamespace, attr.Name.Name); 769XamlMember prop = attr.Property; 791XamlMember attrProperty = attr.Property;
System\Xaml\Parser\XamlScannerNode.cs (2)
33public XamlMember PropertyAttribute { get; set; } 36public XamlMember PropertyElement { get; set; }
System\Xaml\Parser\XamlScannerStack.cs (2)
14public XamlMember XamlProperty { get; set; } 64public XamlMember CurrentProperty
System\Xaml\ReaderBaseDelegate.cs (1)
52public override XamlMember Member
System\Xaml\Runtime\ClrObjectRuntime.cs (7)
142XamlMember property) 233public override object GetValue(object obj, XamlMember property, bool failIfWriteOnly) 269protected virtual object GetValue(XamlMember member, object obj) 274public override void SetValue(object inst, XamlMember property, object value) 294protected virtual void SetValue(XamlMember member, object obj, object value) 523public override void SetXmlInstance(object inst, XamlMember property, XAML3.XData xData) 608public override ShouldSerializeResult ShouldSerialize(XamlMember member, object instance)
System\Xaml\Runtime\DynamicMethodRuntime.cs (3)
157XamlMember property) 226protected override object GetValue(XamlMember member, object obj) 243protected override void SetValue(XamlMember member, object obj, object value)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (6)
77public override object CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter<TypeConverter> ts, object value, XamlMember property) 283public override object GetValue(object obj, XamlMember property, bool failIfWriteOnly) 328public override void SetValue(object obj, XamlMember property, object value) 356public override void SetXmlInstance(object inst, XamlMember property, XData xData) 386public override ShouldSerializeResult ShouldSerialize(XamlMember member, object instance) 431private static bool HasDefaultInvoker(XamlMember xamlMember)
System\Xaml\Schema\MemberReflector.cs (2)
94s_UnknownReflector.DependsOn = XamlType.EmptyList<XamlMember>.Value; 145internal IList<XamlMember> DependsOn { get; set; }
System\Xaml\Schema\TypeReflector.cs (35)
32private ThreadSafeDictionary<string, XamlMember> _nonAttachableMemberCache; 33private ThreadSafeDictionary<string, XamlMember> _attachableMemberCache; 41private ConcurrentDictionary<XamlDirective, XamlMember> _aliasedProperties; 52private NullableReference<XamlMember> _contentProperty; 53private NullableReference<XamlMember> _runtimeNameProperty; 54private NullableReference<XamlMember> _xmlLangProperty; 55private NullableReference<XamlMember> _dictionaryKeyProperty; 56private NullableReference<XamlMember> _uidProperty; 73_nonAttachableMemberCache = new ThreadSafeDictionary<string, XamlMember>(); 75_attachableMemberCache = new ThreadSafeDictionary<string, XamlMember>(); 166internal ThreadSafeDictionary<string, XamlMember> AttachableMembers 173new ThreadSafeDictionary<string, XamlMember>(), null); 198internal XamlMember ContentProperty 216internal ICollection<XamlMember> ExcludedReadOnlyMembers { get; set; } 237internal ThreadSafeDictionary<string, XamlMember> Members 244new ThreadSafeDictionary<string, XamlMember>(), null); 308internal bool TryGetAliasedProperty(XamlDirective directive, out XamlMember member) 343internal void TryAddAliasedProperty(XamlDirective directive, XamlMember member) 366var dict = XamlSchemaContext.CreateDictionary<XamlDirective, XamlMember>(); 393internal static XamlMember LookupNameScopeProperty(XamlType xamlType) 407XamlMember prop; 448out ICollection<EventInfo> newEvents, out List<XamlMember> knownMembers) 455knownMembers = new List<XamlMember>(propList.Length + eventList.Length); 469private IList<PropertyInfo> FilterProperties(PropertyInfo[] propList, List<XamlMember> knownMembers, bool skipKnownNegatives) 479XamlMember knownMember; 530private ICollection<EventInfo> FilterEvents(EventInfo[] eventList, List<XamlMember> knownMembers) 536XamlMember knownMember; 948internal IList<XamlMember> LookupAllAttachableMembers(XamlSchemaContext schemaContext) 953List<XamlMember> result = new List<XamlMember>(); 965private void GetOrCreateAttachableProperties(XamlSchemaContext schemaContext, List<XamlMember> result, 971XamlMember member = null; 997XamlMember member = null; 1007List<XamlMember> result, Dictionary<string, List<MethodInfo>> adders) 1012XamlMember member = null;
System\Xaml\Schema\XamlDirective.cs (1)
127protected sealed override IList<XamlMember> LookupDependsOn()
System\Xaml\Schema\XamlMemberInvoker.cs (2)
18private XamlMember _member; 25public XamlMemberInvoker(XamlMember member)
System\Xaml\WriterDelegate.cs (1)
46public override void WriteStartMember(XamlMember member)
System\Xaml\XamlBackgroundReader.cs (1)
290public override XamlMember Member
System\Xaml\XamlException.cs (4)
140public XamlMember DuplicateMember { get; set; } 145public XamlDuplicateMemberException(XamlMember member, XamlType type) 162DuplicateMember = (XamlMember)info.GetValue("DuplicateMember", typeof(XamlMember));
System\Xaml\XamlMarkupExtensionWriter.cs (9)
110string LookupPrefix(XamlMember property) 127void CheckMemberForUniqueness(Node objectNode, XamlMember property) 158public override void WriteStartMember(XamlMember property) 187public XamlMember XamlProperty 229public virtual void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property) 371protected void UpdateStack(XamlMarkupExtensionWriter writer, XamlMember property) 395protected void WriteNonPositionalParameterMember(XamlMarkupExtensionWriter writer, XamlMember property) 445public override void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property) 475public override void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property)
System\Xaml\XamlMember.cs (14)
16public class XamlMember : IEquatable<XamlMember> 342public IList<XamlMember> DependsOn 349_reflector.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value; 540protected virtual IList<XamlMember> LookupDependsOn() 552List<XamlMember> result = new List<XamlMember>(); 555XamlMember member = _declaringType.GetMember(name); 984XamlMember member = obj as XamlMember; 994public bool Equals(XamlMember other) 999public static bool operator ==(XamlMember xamlMember1, XamlMember xamlMember2) 1028public static bool operator !=(XamlMember xamlMember1, XamlMember xamlMember2)
System\Xaml\XamlObjectReader.cs (53)
145public override XamlMember Member 185internal static DesignerSerializationVisibility GetSerializationVisibility(XamlMember member) 187XamlMember result = XamlMemberExtensions.GetNearestMember(member, 192internal static string GetConstructorArgument(XamlMember member) 194XamlMember result = XamlMemberExtensions.GetNearestMember(member, 199internal static bool GetDefaultValue(XamlMember member, out object value) 201XamlMember result = XamlMemberExtensions.GetNearestMember(member, 321var member = XamlNode.Member; 333bool MemberRequiresNamespaceHoisting(XamlMember member) 358(object source, XamlMember attachedProperty, object value, SerializerContext context) 394object sourceOrValue, XamlMember property, XamlType propertyType, SerializerContext context) 477XamlMember dkp = typeOfValue.GetAliasedProperty(XamlLanguage.Key); 500object source, XamlMember property, SerializerContext context) 530static MemberMarkupInfo ForSequence(object source, XamlMember property, SerializerContext context, bool isAttachable) 558static MemberMarkupInfo ForDictionary(object source, XamlMember property, SerializerContext context, bool isAttachable) 585static MemberMarkupInfo ForXmlSerializable(object source, XamlMember property, SerializerContext context) 637object source, XamlMember xamlProperty, SerializerContext context) 702public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 840object propertyValue, XamlMember xamlProperty, SerializerContext context) 851object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, bool isXamlTemplate, XamlMember xamlProperty, SerializerContext context) 903static void ThrowIfPropertiesAreAttached(object value, XamlMember property, SerializerContext context) 920static bool ShouldWriteProperty(object source, XamlMember property, SerializerContext context) 1057bool IsMemberOnlyDependentOnAttributableMembers(XamlMember member, HashSet<string> namesOfAttributableProperties) 1059foreach (var dependingProperty in member.DependsOn) 1103foreach (var dependingProperty in property.XamlNode.Member.DependsOn) 1466foreach (var property in propertyList) 1588var property = propertyInfo.XamlNode.Member; 1615var ctorArgProps = new List<XamlMember>(); 1617foreach (XamlMember p in properties) 1624foreach (XamlMember p in readOnlyProperties) 1646XamlMember matchingProperty = null; 1647foreach (var potentialProperty in ctorArgProps) 1871XamlMember attachedProperty = owningType.GetAttachableMember(ap.Key.MemberName); 2096static bool PropertyUsedInMethodSignature(XamlMember property, ParameterInfo[] methodParameters) 2129XamlMember property = propertyInfo.XamlNode.Member; 2193var xProperty = x.XamlNode.Member; 2194var yProperty = y.XamlNode.Member; 2270var xProperty = x.XamlNode.Member; 2271var yProperty = y.XamlNode.Member; 2308internal static bool CanPropertyXamlRoundtrip(XamlMember property, SerializerContext context) 2314static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2316List<XamlMember> propertyList = new List<XamlMember>(); 2317foreach (XamlMember property in type.GetAllMembers()) 2729XamlMember runtimeNameProperty = type.GetAliasedProperty(XamlLanguage.Name); 2767public bool IsPropertyReadVisible(XamlMember property) 2777public bool IsPropertyWriteVisible(XamlMember property) 3208internal static XamlMember GetNearestMember(XamlMember member, GetNearestBaseMemberCriterion criterion) 3228XamlMember baseMember = baseType.GetMember(member.Name); 3250private static XamlMember GetExcludedReadOnlyMember(XamlType type, string name) 3252foreach (XamlMember member in type.GetAllExcludedReadOnlyMembers()) 3262private static bool MeetsCriterion(XamlMember member, GetNearestBaseMemberCriterion criterion)
System\Xaml\XamlReader.cs (1)
21public abstract XamlMember Member { get; }
System\Xaml\XamlRuntime.cs (6)
30object value, XamlMember property); 50public object GetValue(object obj, XamlMember property) 55abstract public object GetValue(object obj, XamlMember property, bool failIfWriteOnly); 57abstract public void SetValue(object obj, XamlMember property, object value); 61abstract public void SetXmlInstance(object inst, XamlMember property, XData xData); 81abstract public ShouldSerializeResult ShouldSerialize(XamlMember member, object instance);
System\Xaml\XamlSchemaContext.cs (13)
467private ConcurrentDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember> _masterMemberList; 510private ConcurrentDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember> MasterMemberList 515Interlocked.CompareExchange(ref _masterMemberList, CreateDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember>(), null); 568ICollection<XamlMember> members = type.GetAllMembers(); 569foreach (XamlMember member in members) 605internal virtual XamlMember GetProperty(PropertyInfo pi) 608XamlMember member; 617internal virtual XamlMember GetEvent(EventInfo ei) 620XamlMember member; 630internal virtual XamlMember GetAttachableProperty(string name, MethodInfo getter, MethodInfo setter) 632XamlMember property; 642internal virtual XamlMember GetAttachableEvent(string name, MethodInfo adder) 644XamlMember property;
System\Xaml\XamlSubreader.cs (1)
66public override XamlMember Member
System\Xaml\XamlType.cs (34)
286public XamlMember ContentProperty 331public XamlMember GetMember(string name) 334XamlMember result; 343public ICollection<XamlMember> GetAllMembers() 348IEnumerable<XamlMember> members = LookupAllMembers(); 351foreach (XamlMember member in members) 363public XamlMember GetAliasedProperty(XamlDirective directive) 368XamlMember result; 377public XamlMember GetAttachableMember(string name) 380XamlMember result; 390public ICollection<XamlMember> GetAllAttachableMembers() 395IEnumerable<XamlMember> members = LookupAllAttachableMembers(); 398foreach (XamlMember member in members) 596internal ICollection<XamlMember> GetAllExcludedReadOnlyMembers() 601_reflector.ExcludedReadOnlyMembers = LookupAllExcludedReadOnlyMembers() ?? EmptyList<XamlMember>.Value; 638protected virtual XamlMember LookupAliasedProperty(XamlDirective directive) 749protected virtual XamlMember LookupContentProperty() 979protected virtual IEnumerable<XamlMember> LookupAllAttachableMembers() 989protected virtual IEnumerable<XamlMember> LookupAllMembers() 999List<XamlMember> result; 1006XamlMember member = SchemaContext.GetProperty(pi); 1017XamlMember member = SchemaContext.GetEvent(ei); 1024protected virtual XamlMember LookupMember(string name, bool skipReadOnlyCheck) 1041XamlMember result = SchemaContext.GetProperty(pi); 1057protected virtual XamlMember LookupAttachableMember(string name) 1068XamlMember result = SchemaContext.GetAttachableProperty(name, getter, setter); 1428private XamlMember GetPropertyOrUnknown(string propertyName, bool skipReadOnlyCheck) 1430XamlMember result = skipReadOnlyCheck ? LookupMember(propertyName, true) : GetMember(propertyName); 1531private ICollection<XamlMember> LookupAllExcludedReadOnlyMembers() 1539ICollection<XamlMember> allMembers = GetAllMembers(); 1547List<XamlMember> result = new List<XamlMember>(excludedMembers.Count); 1550XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext); 1560return new ReadOnlyCollection<XamlMember>(result);
System\Xaml\XamlWriter.cs (1)
14public abstract void WriteStartMember(XamlMember xamlMember);
System\Xaml\XamlXmlWriter.cs (26)
184public override void WriteStartMember(XamlMember property) 279internal static bool IsImplicit(XamlMember xamlMember) 485void CheckMemberForUniqueness(XamlMember property) 678public XamlMember Member 779public virtual void WriteStartMember(XamlXmlWriter writer, XamlMember property) 807XamlMember property = frame.Member; 825XamlMember property = frame.Member; 1001public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1117public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1338var member = frame.Member; 1682var property = writer.namespaceScopes.Peek().Member; 1728var property = writer.namespaceScopes.Peek().Member; 1819public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1898List<XamlMember> ctorArgProps = GetAllPropertiesWithCAA(objectXamlType); 1910XamlMember matchingProperty = null; 1911foreach (var potentialProperty in ctorArgProps) 1926XamlMember member = objectXamlType.GetMember(matchingProperty.Name); 1973List<XamlMember> GetAllPropertiesWithCAA(XamlType objectXamlType) 1979var ctorArgProps = new List<XamlMember>(); 1981foreach (XamlMember p in properties) 1988foreach (XamlMember p in readOnlyProperties) 2059public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 2166Dictionary<XamlMember, bool> dictionary = new Dictionary<XamlMember, bool>(); 2168public bool Contains(XamlMember member) 2173public void Add(XamlMember member)
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
21public void Ctor_XamlMember_MarkupExtension_IServiceProvider(XamlMember member, MarkupExtension value, IServiceProvider serviceProvider)
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
23public void Ctor_XamlMember_TypeConverter_Object_ITypeDescriptorContext_CultureInfo(XamlMember member, TypeConverter typeConverter, object value, ITypeDescriptorContext serviceProvider, CultureInfo cultureInfo)
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
21public void Ctor_XamlMember_Object(XamlMember member, object value)