2 types derived from XamlMember
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
14internal class WpfXamlMember : XamlMember, System.Windows.Markup.IProvideValueTarget
System.Xaml (1)
System\Xaml\Schema\XamlDirective.cs (1)
16public class XamlDirective : XamlMember
15 instantiations of XamlMember
System.Xaml (12)
System\Xaml\Context\XamlContext.cs (3)
202property = new XamlMember(propName.Name, tagType, false); 330return new XamlMember(name, declaringType, false); 335return new XamlMember(name, declaringType, true);
System\Xaml\Parser\XamlAttribute.cs (2)
157unknownProperty = new XamlMember(propName.Name, attachedOwnerType, true /*isAttachable*/); 161unknownProperty = new XamlMember(propName.Name, tagType, false);
System\Xaml\Parser\XamlPullParser.cs (1)
528contentProperty = new XamlMember(contentProperty.Name, currentType, false);
System\Xaml\XamlSchemaContext.cs (4)
613member = new XamlMember(pi, this); 625member = new XamlMember(ei, this); 638property = new XamlMember(name, getter, setter, this); 650property = new XamlMember(name, adder, this);
System\Xaml\XamlType.cs (2)
1436result = new XamlMember(propertyName, this /*declaringType*/, false /*isAttachable*/); 1553XamlMember 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)
633System.Xaml.XamlMember member = xt.GetMember(propertyInfo.Name);
System\Windows\FrameworkTemplate.cs (3)
700public XamlMember Property { get; set; } 719private bool ReceivePropertySet(object targetObject, XamlMember member, 1080internal static bool IsNameProperty(XamlMember member, XamlType owner)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (21)
204override public XamlMember Member 759XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 950XamlMember property = BamlSchemaContext.GetXamlDirective(XamlLanguage.Xaml2006Namespace, BamlSchemaContext.GetString(stringId)); 1375XamlMember eventProperty = GetProperty(_binaryReader.ReadInt16(), false); 1397XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1479private XamlMember GetProperty(Int16 propertyId, XamlType parentType) 1481XamlMember property = BamlSchemaContext.GetProperty(propertyId, parentType); 1485private XamlMember GetProperty(Int16 propertyId, bool isAttached) 1487XamlMember property = BamlSchemaContext.GetProperty(propertyId, isAttached); 1497XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1576XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1621internal virtual object CreateTypeConverterMarkupExtension(XamlMember property, TypeConverter converter, object propertyValue, Baml2006ReaderSettings settings) 1638XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1853XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1883XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1973XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1984XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1994XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 2244XamlMember contentProperty = GetProperty(propertyId, false); 2359XamlMember parentProperty = _context.CurrentFrame.Member; 2512XamlMember property,
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (2)
38public XamlMember Member { get; set; } 41public XamlMember ContentProperty { get; set; }
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
54internal override object CreateTypeConverterMarkupExtension(XamlMember property, TypeConverter converter, object propertyValue, Baml2006ReaderSettings settings)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (27)
88internal XamlMember StaticExtensionMemberTypeProperty { get { return _xStaticMemberProperty.Value; } } 90internal XamlMember TypeExtensionTypeProperty { get { return _xTypeTypeProperty.Value; } } 92internal XamlMember ResourceDictionaryDeferredContentProperty { get { return _resourceDictionaryDefContentProperty.Value; } } 98internal XamlMember EventSetterEventProperty { get { return _eventSetterEventProperty.Value; } } 100internal XamlMember EventSetterHandlerProperty { get { return _eventSetterHandlerProperty.Value; } } 102internal XamlMember FrameworkTemplateTemplateProperty { get { return _frameworkTemplateTemplateProperty.Value; } } 192XamlMember member = GetProperty(propertyId, false); 203internal XamlMember GetProperty(Int16 propertyId, XamlType parentType) 206XamlMember xamlMember; 242internal XamlMember GetProperty(Int16 propertyId, bool isAttached) 245XamlMember xamlMember; 290XamlMember xamlMember; 308XamlMember xamlMember; 626private bool TryGetBamlProperty(Int16 propertyId, out BamlProperty bamlProperty, out XamlMember xamlMember) 633xamlMember = property as XamlMember; 672private static readonly Lazy<XamlMember> _xStaticMemberProperty 673= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("MemberType")); 675private static readonly Lazy<XamlMember> _xTypeTypeProperty 676= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("Type")); 678private static readonly Lazy<XamlMember> _resourceDictionaryDefContentProperty 679= new Lazy<XamlMember>(() => _resourceDictionaryType.Value.GetMember("DeferrableContent")); 687private static readonly Lazy<XamlMember> _eventSetterEventProperty 688= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Event")); 690private static readonly Lazy<XamlMember> _eventSetterHandlerProperty 691= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Handler")); 693private static readonly Lazy<XamlMember> _frameworkTemplateTemplateProperty 694= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfKnownType.cs (3)
106protected override XamlMember LookupContentProperty() 121protected override XamlMember LookupAliasedProperty(XamlDirective directive) 308private XamlMember CallGetMember(string name)
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (18)
323internal XamlMember StaticExtensionMemberTypeProperty { get { return _xStaticMemberProperty.Value; } } 325internal XamlMember TypeExtensionTypeProperty { get { return _xTypeTypeProperty.Value; } } 327internal XamlMember ResourceDictionaryDeferredContentProperty { get { return _resourceDictionaryDefContentProperty.Value; } } 333internal XamlMember EventSetterEventProperty { get { return _eventSetterEventProperty.Value; } } 335internal XamlMember EventSetterHandlerProperty { get { return _eventSetterHandlerProperty.Value; } } 337internal XamlMember FrameworkTemplateTemplateProperty { get { return _frameworkTemplateTemplateProperty.Value; } } 355private static readonly Lazy<XamlMember> _xStaticMemberProperty 356= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("MemberType")); 358private static readonly Lazy<XamlMember> _xTypeTypeProperty 359= new Lazy<XamlMember>(() => XamlLanguage.Static.GetMember("Type")); 361private static readonly Lazy<XamlMember> _resourceDictionaryDefContentProperty 362= new Lazy<XamlMember>(() => _resourceDictionaryType.Value.GetMember("DeferrableContent")); 370private static readonly Lazy<XamlMember> _eventSetterEventProperty 371= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Event")); 373private static readonly Lazy<XamlMember> _eventSetterHandlerProperty 374= new Lazy<XamlMember>(() => _eventSetterType.Value.GetMember("Handler")); 376private static readonly Lazy<XamlMember> _frameworkTemplateTemplateProperty 377= new Lazy<XamlMember>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(FrameworkTemplate)).GetMember("Template"));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
307private XamlMember BaseUnderlyingMember 329private XamlMember _baseUnderlyingMember;
System\Windows\Markup\Baml2006\WpfXamlType.cs (37)
38private ConcurrentDictionary<string, XamlMember> _attachableMembers; 39private ConcurrentDictionary<string, XamlMember> _members; 54protected ConcurrentDictionary<string, XamlMember> Members 60_members = new ConcurrentDictionary<string, XamlMember>(ConcurrencyLevel, Capacity); 66protected ConcurrentDictionary<string, XamlMember> AttachableMembers 72_attachableMembers = new ConcurrentDictionary<string, XamlMember>(ConcurrencyLevel, Capacity); 85protected override XamlMember LookupContentProperty() 87XamlMember result = base.LookupContentProperty(); 120private XamlMember FindMember(string name, bool isAttached, bool skipReadOnlyCheck) 123XamlMember member = FindKnownMember(name, isAttached); 161XamlMember knownMember = FindKnownMember(wpfKnownType, name, isAttached); 170protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 175protected override XamlMember LookupAttachableMember(string name) 180protected override IEnumerable<XamlMember> LookupAllMembers() 182List<XamlMember> members = new List<XamlMember>(); 185foreach (var reflectedMember in reflectedMembers) 187var member = reflectedMember; 204private XamlMember FindKnownMember(string name, bool isAttachable) 213XamlMember xamlMember = FindKnownMember(wpfXamlType, name, isAttachable); 226private XamlMember FindRoutedEventBackedProperty(string name, bool isAttachable, bool skipReadOnlyCheck) 230XamlMember xamlMember = null; 294private XamlMember FindDependencyPropertyBackedProperty(string name, bool isAttachable, bool skipReadOnlyCheck) 296XamlMember xamlMember = null; 358private XamlMember CacheAndReturnXamlMember(XamlMember xamlMember) 385private XamlMember GetAttachedRoutedEvent(string name, RoutedEvent re) 387XamlMember memberFromBase = base.LookupAttachableMember(name); 395private XamlMember GetRoutedEvent(string name, RoutedEvent re, bool skipReadOnlyCheck) 397XamlMember memberFromBase = base.LookupMember(name, skipReadOnlyCheck); 405private XamlMember GetAttachedDependencyProperty(string name, DependencyProperty property) 407XamlMember memberFromBase = base.LookupAttachableMember(name); 418private XamlMember GetRegularDependencyProperty(string name, DependencyProperty property, bool skipReadOnlyCheck) 420XamlMember memberFromBase = base.LookupMember(name, skipReadOnlyCheck); 439private static XamlMember FindKnownMember(WpfXamlType wpfXamlType, string name, bool isAttachable) 441XamlMember xamlMember = null; 528internal XamlMember FindBaseXamlMember(string name, bool isAttachable)
System\Windows\Markup\DependencyPropertyConverter.cs (4)
205XamlMember styleTargetType = styleXType.GetMember("TargetType"); 206XamlMember templateProperty = frameworkTemplateXType.GetMember("Template"); 207XamlMember controlTemplateTargetType = controlTemplateXType.GetMember("TargetType"); 255XamlMember templateProperty = frameworkTemplateXType.GetMember("Template");
System\Windows\Markup\RoutedEventConverter.cs (1)
93XamlMember styleTargetType = styleXType.GetMember("TargetType");
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
115System.Xaml.XamlMember xamlProperty =
System\Windows\Markup\WpfXamlLoader.cs (3)
19private static Lazy<XamlMember> XmlSpace = new Lazy<XamlMember>(() => new WpfXamlMember(XmlAttributeProperties.XmlSpaceProperty, true)); 330XamlMember currentProperty = currentFrame.Property;
System\Windows\Markup\XamlReader.cs (4)
397XamlMember synchronousModeProperty = _textReader.SchemaContext.GetXamlDirective("http://schemas.microsoft.com/winfx/2006/xaml", "SynchronousMode"); 398XamlMember synchronousRecordProperty = _textReader.SchemaContext.GetXamlDirective("http://schemas.microsoft.com/winfx/2006/xaml", "AsyncRecords"); 607XamlMember synchronousRecordProperty = _textReader.SchemaContext.GetXamlDirective(XamlLanguage.Xaml2006Namespace, "AsyncRecords"); 1205public XamlMember Property { get; set; }
System\Windows\ResourceDictionary.cs (1)
1172XamlMember xamlMemberResourceKey = xamlTypeStaticResourceExtension.GetMember("ResourceKey");
System\Windows\StaticResourceExtension.cs (6)
227XamlMember fceResourcesProperty = fceXType.GetMember("Resources"); 228XamlMember feResourcesProperty = feXType.GetMember("Resources"); 229XamlMember styleResourcesProperty = styleXType.GetMember("Resources"); 230XamlMember styleBasedOnProperty = styleXType.GetMember("BasedOn"); 231XamlMember templateResourcesProperty = templateXType.GetMember("Resources"); 232XamlMember appResourcesProperty = appXType.GetMember("Resources");
System\Windows\TemplateContent.cs (2)
49public XamlMember Property { get; set; } 1052System.Xaml.XamlMember member = reader.Member;
PresentationFramework.Aero (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember member;
PresentationFramework.Aero2 (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember member;
PresentationFramework.AeroLite (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember member;
PresentationFramework.Classic (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember member;
PresentationFramework.Luna (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember member;
PresentationFramework.Royale (6)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (6)
221protected override XamlMember LookupMember(string name, bool skipReadOnlyCheck) 223XamlMember member = FindKnownMember(name); 232protected override XamlMember LookupAttachableMember(string name) 234XamlMember member = FindKnownMember(name); 243private XamlMember FindKnownMember(string name) 245XamlMember 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)
27XamlMember parentProperty = xamlContext.ParentProperty;
System\Xaml\Context\NameFixupToken.cs (1)
42public XamlMember Property { get; set; }
System\Xaml\Context\ObjectWriterContext.cs (14)
172internal AmbientPropertyValue ServiceProvider_GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 184internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 196internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, XamlMember[] properties) 304XamlMember[] properties, 307foreach (XamlMember xamlMember in properties) 349foreach (XamlMember prop in properties) 527public XamlMember CurrentProperty 533public XamlMember ParentProperty 538public XamlMember GrandParentProperty 610public Dictionary<XamlMember, object> CurrentPreconstructionPropertyValues 620public Dictionary<XamlMember, object> ParentPreconstructionPropertyValues 625public HashSet<XamlMember> CurrentAssignedProperties 630public HashSet<XamlMember> ParentAssignedProperties 895XamlMember nameScopeProperty = TypeReflector.LookupNameScopeProperty(xamlType);
System\Xaml\Context\ObjectWriterFrame.cs (8)
20private Dictionary<XamlMember, object> _preconstructionPropertyValues; 21private HashSet<XamlMember> _assignedProperties; 37_preconstructionPropertyValues = new Dictionary<XamlMember, object>(source.PreconstructionPropertyValues); 41_assignedProperties = new HashSet<XamlMember>(source.AssignedProperties); 168public Dictionary<XamlMember, object> PreconstructionPropertyValues 174_preconstructionPropertyValues = new Dictionary<XamlMember, object>(); 188public HashSet<XamlMember> AssignedProperties 194_assignedProperties = new HashSet<XamlMember>();
System\Xaml\Context\ServiceProviderContext.cs (6)
133params XamlMember[] properties) 137foreach (var property in properties) 167params XamlMember[] properties) 171foreach (var property in properties) 203params XamlMember[] properties) 207foreach (var property in properties)
System\Xaml\Context\XamlCommonFrame.cs (1)
52public XamlMember Member { get; set; }
System\Xaml\Context\XamlContext.cs (14)
46public XamlMember GetXamlProperty(XamlType xamlType, string propertyName, XamlType rootObjectType) 52XamlMember member = xamlType.GetMember(propertyName); 56public XamlMember GetXamlAttachableProperty(XamlType xamlType, string propertyName) 62XamlMember member = xamlType.GetAttachableMember(propertyName); 77public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlPropertyName propName, bool tagIsRoot) 83XamlMember property = null; 160public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName propName, 163XamlMember property = null; 313internal XamlMember ResolveDirectiveProperty(string xamlNS, string name) 323internal virtual bool IsVisible(XamlMember member, XamlType rootObjectType) 328private XamlMember CreateUnknownMember(XamlType declaringType, string name) 333private XamlMember CreateUnknownAttachableMember(XamlType declaringType, string name) 355private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) 357XamlMember property = GetXamlProperty(tagType, propName, rootTagType);
System\Xaml\Context\XamlParserContext.cs (2)
112internal override bool IsVisible(XamlMember member, XamlType rootObjectType) 235public XamlMember CurrentMember
System\Xaml\IAmbientProvider.cs (6)
14params XamlMember[] properties); 18params XamlMember[] properties); 25params XamlMember[] properties); 30XamlMember _property; 33public AmbientPropertyValue(XamlMember property, object value) 40public XamlMember RetrievedProperty { get { return _property; } }
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
137public override void WriteStartMember(XamlMember property)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
72Debug.Assert(data is XamlMember, "XamlNode ctor, StartMember data is not a XamlMember"); 197public XamlMember Member 203return (XamlMember)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (26)
178protected virtual bool OnSetValue(object eventSender, XamlMember member, object value) 264XamlMember parentProperty = (_context.CurrentType == null && _context.Depth > 1) 558public override void WriteStartMember(XamlMember property) 684XamlMember property; 823XamlMember currentProperty = _context.CurrentProperty; 841XamlMember parentProperty = currentProperty; 1047XamlMember keyProperty = instanceType.GetAliasedProperty(XamlLanguage.Key); 1068bool IsConstructionDirective(XamlMember xamlMember) 1080bool IsTextConstructionDirective(XamlMember xamlMember) 1091bool IsDirectiveAllowedOnNullInstance(XamlMember xamlMember, XamlType xamlType) 1274object value, XamlMember property, string targetName) 1280object value, XamlMember property, string targetName, IAddLineInfo lineInfo) 1301XamlMember property = ctx.ParentProperty; 1476private void Logic_DuplicatePropertyCheck(ObjectWriterContext ctx, XamlMember property, bool onParent) 1480HashSet<XamlMember> setProperties = onParent ? ctx.ParentAssignedProperties : ctx.CurrentAssignedProperties; 1507Dictionary<XamlMember, object> propertyValues = ctx.CurrentPreconstructionPropertyValues; 1510foreach (XamlMember prop in propertyValues.Keys) 1540private object Logic_PushAndPopAProvideValueStackFrame(ObjectWriterContext ctx, XamlMember prop, XAML3.MarkupExtension me, bool useIRME) 1542XamlMember savedProp = ctx.CurrentProperty; 1564private void Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, 1587XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as XamlDirective); 1653XamlMember parentProperty = ctx.ParentProperty; 1948XamlMember parentProperty = ctx.ParentProperty; 2153private void SetValue(object inst, XamlMember property, object value) 2198XamlMember property = ctx.ParentProperty; 2220XamlMember property, XamlSavedContext deferredMarkupExtensionContext)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
296public override XamlMember Member
System\Xaml\Parser\MePullParser.cs (2)
370XamlMember property = _tokenizer.TokenProperty; 473XamlMember member = _tokenizer.TokenProperty;
System\Xaml\Parser\MeScanner.cs (3)
60XamlMember _tokenProperty; 111public XamlMember TokenProperty 320XamlMember prop = null;
System\Xaml\Parser\NodeStreamSorter.cs (7)
242private void EnqueueOneXmlDirectiveProperty(XamlMember xmlDirectiveProperty, string textValue) 397XamlMember prop = node.Member; 420private bool IsCtorDirective(XamlMember member) 438private bool IsInstancingMember(XamlMember member) 591XamlMember nextMember = _originalNodesInOrder[originalIdx].Member; 611XamlMember member = _originalNodesInOrder[originalIdx].Member; 630XamlMember nextMember = _originalNodesInOrder[originalIdx].Member;
System\Xaml\Parser\XamlAttribute.cs (4)
25public XamlMember Property { get; private set; } 144private XamlMember GetXamlAttributeProperty(XamlParserContext context, XamlPropertyName propName, 147XamlMember prop = null; 153XamlMember unknownProperty;
System\Xaml\Parser\XamlPullParser.cs (13)
515XamlMember contentProperty = currentType.ContentProperty; 580XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 707XamlMember xDataTextProperty = XamlLanguage.XData.GetMember("Text"); 799XamlMember property = _xamlScanner.PropertyAttribute; 832private XamlNode Logic_StartMember(XamlMember member) 854private XamlNode Logic_StartContentProperty(XamlMember property) 949private XamlMember _arrayTypeMember; 950private XamlMember ArrayTypeMember 962private XamlMember _itemsTypeMember; 963private XamlMember ItemsTypeMember 979XamlMember currentProperty = _context.CurrentMember; 1101XamlMember prop = _context.CurrentMember; 1157private static bool CanAcceptString(XamlMember property)
System\Xaml\Parser\XamlScanner.cs (8)
94public XamlMember PropertyAttribute 109public XamlMember PropertyElement 298XamlMember dirProperty = schemaContext.GetXamlDirective(xamlNs, name.Name); 340private void ReadObjectElement_DirectiveProperty(XamlMember dirProperty, XamlScannerNode node) 428XamlMember property = null; 602XamlMember directiveProperty = _parserContext.ResolveDirectiveProperty(attrNamespace, attr.Name.Name); 772XamlMember prop = attr.Property; 794XamlMember attrProperty = attr.Property;
System\Xaml\Parser\XamlScannerNode.cs (2)
34public XamlMember PropertyAttribute { get; set; } 37public XamlMember PropertyElement { get; set; }
System\Xaml\Parser\XamlScannerStack.cs (2)
16public XamlMember XamlProperty { get; set; } 66public XamlMember CurrentProperty
System\Xaml\ReaderBaseDelegate.cs (1)
52public override XamlMember Member
System\Xaml\Runtime\ClrObjectRuntime.cs (7)
144XamlMember property) 235public override object GetValue(object obj, XamlMember property, bool failIfWriteOnly) 271protected virtual object GetValue(XamlMember member, object obj) 276public override void SetValue(object inst, XamlMember property, object value) 296protected virtual void SetValue(XamlMember member, object obj, object value) 525public override void SetXmlInstance(object inst, XamlMember property, XAML3.XData xData) 610public override ShouldSerializeResult ShouldSerialize(XamlMember member, object instance)
System\Xaml\Runtime\DynamicMethodRuntime.cs (3)
161XamlMember property) 230protected override object GetValue(XamlMember member, object obj) 247protected override void SetValue(XamlMember member, object obj, object value)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (6)
79public override object CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter<TypeConverter> ts, object value, XamlMember property) 285public override object GetValue(object obj, XamlMember property, bool failIfWriteOnly) 330public override void SetValue(object obj, XamlMember property, object value) 358public override void SetXmlInstance(object inst, XamlMember property, XData xData) 388public override ShouldSerializeResult ShouldSerialize(XamlMember member, object instance) 433private static bool HasDefaultInvoker(XamlMember xamlMember)
System\Xaml\Schema\MemberReflector.cs (2)
96s_UnknownReflector.DependsOn = XamlType.EmptyList<XamlMember>.Value; 147internal IList<XamlMember> DependsOn { get; set; }
System\Xaml\Schema\TypeReflector.cs (35)
34private ThreadSafeDictionary<string, XamlMember> _nonAttachableMemberCache; 35private ThreadSafeDictionary<string, XamlMember> _attachableMemberCache; 43private ConcurrentDictionary<XamlDirective, XamlMember> _aliasedProperties; 54private NullableReference<XamlMember> _contentProperty; 55private NullableReference<XamlMember> _runtimeNameProperty; 56private NullableReference<XamlMember> _xmlLangProperty; 57private NullableReference<XamlMember> _dictionaryKeyProperty; 58private NullableReference<XamlMember> _uidProperty; 75_nonAttachableMemberCache = new ThreadSafeDictionary<string, XamlMember>(); 77_attachableMemberCache = new ThreadSafeDictionary<string, XamlMember>(); 168internal ThreadSafeDictionary<string, XamlMember> AttachableMembers 175new ThreadSafeDictionary<string, XamlMember>(), null); 200internal XamlMember ContentProperty 218internal ICollection<XamlMember> ExcludedReadOnlyMembers { get; set; } 239internal ThreadSafeDictionary<string, XamlMember> Members 246new ThreadSafeDictionary<string, XamlMember>(), null); 310internal bool TryGetAliasedProperty(XamlDirective directive, out XamlMember member) 345internal void TryAddAliasedProperty(XamlDirective directive, XamlMember member) 368var dict = XamlSchemaContext.CreateDictionary<XamlDirective, XamlMember>(); 395internal static XamlMember LookupNameScopeProperty(XamlType xamlType) 409XamlMember prop; 450out ICollection<EventInfo> newEvents, out List<XamlMember> knownMembers) 457knownMembers = new List<XamlMember>(propList.Length + eventList.Length); 471private IList<PropertyInfo> FilterProperties(PropertyInfo[] propList, List<XamlMember> knownMembers, bool skipKnownNegatives) 481XamlMember knownMember; 532private ICollection<EventInfo> FilterEvents(EventInfo[] eventList, List<XamlMember> knownMembers) 538XamlMember knownMember; 950internal IList<XamlMember> LookupAllAttachableMembers(XamlSchemaContext schemaContext) 955List<XamlMember> result = new List<XamlMember>(); 967private void GetOrCreateAttachableProperties(XamlSchemaContext schemaContext, List<XamlMember> result, 973XamlMember member = null; 999XamlMember member = null; 1009List<XamlMember> result, Dictionary<string, List<MethodInfo>> adders) 1014XamlMember member = null;
System\Xaml\Schema\XamlDirective.cs (1)
129protected sealed override IList<XamlMember> LookupDependsOn()
System\Xaml\Schema\XamlMemberInvoker.cs (2)
20private XamlMember _member; 27public XamlMemberInvoker(XamlMember member)
System\Xaml\WriterDelegate.cs (1)
46public override void WriteStartMember(XamlMember member)
System\Xaml\XamlBackgroundReader.cs (1)
291public override XamlMember Member
System\Xaml\XamlException.cs (4)
141public XamlMember DuplicateMember { get; set; } 146public XamlDuplicateMemberException(XamlMember member, XamlType type) 163DuplicateMember = (XamlMember)info.GetValue("DuplicateMember", typeof(XamlMember));
System\Xaml\XamlMarkupExtensionWriter.cs (9)
111string LookupPrefix(XamlMember property) 128void CheckMemberForUniqueness(Node objectNode, XamlMember property) 159public override void WriteStartMember(XamlMember property) 188public XamlMember XamlProperty 230public virtual void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property) 372protected void UpdateStack(XamlMarkupExtensionWriter writer, XamlMember property) 396protected void WriteNonPositionalParameterMember(XamlMarkupExtensionWriter writer, XamlMember property) 446public override void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property) 476public override void WriteStartMember(XamlMarkupExtensionWriter writer, XamlMember property)
System\Xaml\XamlMember.cs (14)
19public class XamlMember : IEquatable<XamlMember> 345public IList<XamlMember> DependsOn 352_reflector.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value; 543protected virtual IList<XamlMember> LookupDependsOn() 555List<XamlMember> result = new List<XamlMember>(); 558XamlMember member = _declaringType.GetMember(name); 987XamlMember member = obj as XamlMember; 997public bool Equals(XamlMember other) 1002public static bool operator ==(XamlMember xamlMember1, XamlMember xamlMember2) 1031public static bool operator !=(XamlMember xamlMember1, XamlMember xamlMember2)
System\Xaml\XamlObjectReader.cs (53)
150public override XamlMember Member 190internal static DesignerSerializationVisibility GetSerializationVisibility(XamlMember member) 192XamlMember result = XamlMemberExtensions.GetNearestMember(member, 197internal static string GetConstructorArgument(XamlMember member) 199XamlMember result = XamlMemberExtensions.GetNearestMember(member, 204internal static bool GetDefaultValue(XamlMember member, out object value) 206XamlMember result = XamlMemberExtensions.GetNearestMember(member, 326var member = XamlNode.Member; 338bool MemberRequiresNamespaceHoisting(XamlMember member) 363(object source, XamlMember attachedProperty, object value, SerializerContext context) 399object sourceOrValue, XamlMember property, XamlType propertyType, SerializerContext context) 482XamlMember dkp = typeOfValue.GetAliasedProperty(XamlLanguage.Key); 505object source, XamlMember property, SerializerContext context) 535static MemberMarkupInfo ForSequence(object source, XamlMember property, SerializerContext context, bool isAttachable) 563static MemberMarkupInfo ForDictionary(object source, XamlMember property, SerializerContext context, bool isAttachable) 590static MemberMarkupInfo ForXmlSerializable(object source, XamlMember property, SerializerContext context) 642object source, XamlMember xamlProperty, SerializerContext context) 707public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 845object propertyValue, XamlMember xamlProperty, SerializerContext context) 856object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, bool isXamlTemplate, XamlMember xamlProperty, SerializerContext context) 908static void ThrowIfPropertiesAreAttached(object value, XamlMember property, SerializerContext context) 925static bool ShouldWriteProperty(object source, XamlMember property, SerializerContext context) 1062bool IsMemberOnlyDependentOnAttributableMembers(XamlMember member, HashSet<string> namesOfAttributableProperties) 1064foreach (var dependingProperty in member.DependsOn) 1108foreach (var dependingProperty in property.XamlNode.Member.DependsOn) 1471foreach (var property in propertyList) 1593var property = propertyInfo.XamlNode.Member; 1620var ctorArgProps = new List<XamlMember>(); 1622foreach (XamlMember p in properties) 1629foreach (XamlMember p in readOnlyProperties) 1651XamlMember matchingProperty = null; 1652foreach (var potentialProperty in ctorArgProps) 1876XamlMember attachedProperty = owningType.GetAttachableMember(ap.Key.MemberName); 2101static bool PropertyUsedInMethodSignature(XamlMember property, ParameterInfo[] methodParameters) 2134XamlMember property = propertyInfo.XamlNode.Member; 2198var xProperty = x.XamlNode.Member; 2199var yProperty = y.XamlNode.Member; 2275var xProperty = x.XamlNode.Member; 2276var yProperty = y.XamlNode.Member; 2313internal static bool CanPropertyXamlRoundtrip(XamlMember property, SerializerContext context) 2319static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2321List<XamlMember> propertyList = new List<XamlMember>(); 2322foreach (XamlMember property in type.GetAllMembers()) 2734XamlMember runtimeNameProperty = type.GetAliasedProperty(XamlLanguage.Name); 2772public bool IsPropertyReadVisible(XamlMember property) 2782public bool IsPropertyWriteVisible(XamlMember property) 3213internal static XamlMember GetNearestMember(XamlMember member, GetNearestBaseMemberCriterion criterion) 3233XamlMember baseMember = baseType.GetMember(member.Name); 3255private static XamlMember GetExcludedReadOnlyMember(XamlType type, string name) 3257foreach (XamlMember member in type.GetAllExcludedReadOnlyMembers()) 3267private static bool MeetsCriterion(XamlMember member, GetNearestBaseMemberCriterion criterion)
System\Xaml\XamlReader.cs (1)
21public abstract XamlMember Member { get; }
System\Xaml\XamlRuntime.cs (6)
32object value, XamlMember property); 52public object GetValue(object obj, XamlMember property) 57abstract public object GetValue(object obj, XamlMember property, bool failIfWriteOnly); 59abstract public void SetValue(object obj, XamlMember property, object value); 63abstract public void SetXmlInstance(object inst, XamlMember property, XData xData); 83abstract public ShouldSerializeResult ShouldSerialize(XamlMember member, object instance);
System\Xaml\XamlSchemaContext.cs (13)
469private ConcurrentDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember> _masterMemberList; 512private ConcurrentDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember> MasterMemberList 517Interlocked.CompareExchange(ref _masterMemberList, CreateDictionary<ReferenceEqualityTuple<MemberInfo, MemberInfo>, XamlMember>(), null); 570ICollection<XamlMember> members = type.GetAllMembers(); 571foreach (XamlMember member in members) 607internal virtual XamlMember GetProperty(PropertyInfo pi) 610XamlMember member; 619internal virtual XamlMember GetEvent(EventInfo ei) 622XamlMember member; 632internal virtual XamlMember GetAttachableProperty(string name, MethodInfo getter, MethodInfo setter) 634XamlMember property; 644internal virtual XamlMember GetAttachableEvent(string name, MethodInfo adder) 646XamlMember property;
System\Xaml\XamlSubreader.cs (1)
66public override XamlMember Member
System\Xaml\XamlType.cs (34)
289public XamlMember ContentProperty 334public XamlMember GetMember(string name) 337XamlMember result; 346public ICollection<XamlMember> GetAllMembers() 351IEnumerable<XamlMember> members = LookupAllMembers(); 354foreach (XamlMember member in members) 366public XamlMember GetAliasedProperty(XamlDirective directive) 371XamlMember result; 380public XamlMember GetAttachableMember(string name) 383XamlMember result; 393public ICollection<XamlMember> GetAllAttachableMembers() 398IEnumerable<XamlMember> members = LookupAllAttachableMembers(); 401foreach (XamlMember member in members) 599internal ICollection<XamlMember> GetAllExcludedReadOnlyMembers() 604_reflector.ExcludedReadOnlyMembers = LookupAllExcludedReadOnlyMembers() ?? EmptyList<XamlMember>.Value; 641protected virtual XamlMember LookupAliasedProperty(XamlDirective directive) 752protected virtual XamlMember LookupContentProperty() 982protected virtual IEnumerable<XamlMember> LookupAllAttachableMembers() 992protected virtual IEnumerable<XamlMember> LookupAllMembers() 1002List<XamlMember> result; 1009XamlMember member = SchemaContext.GetProperty(pi); 1020XamlMember member = SchemaContext.GetEvent(ei); 1027protected virtual XamlMember LookupMember(string name, bool skipReadOnlyCheck) 1044XamlMember result = SchemaContext.GetProperty(pi); 1060protected virtual XamlMember LookupAttachableMember(string name) 1071XamlMember result = SchemaContext.GetAttachableProperty(name, getter, setter); 1431private XamlMember GetPropertyOrUnknown(string propertyName, bool skipReadOnlyCheck) 1433XamlMember result = skipReadOnlyCheck ? LookupMember(propertyName, true) : GetMember(propertyName); 1534private ICollection<XamlMember> LookupAllExcludedReadOnlyMembers() 1542ICollection<XamlMember> allMembers = GetAllMembers(); 1550List<XamlMember> result = new List<XamlMember>(excludedMembers.Count); 1553XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext); 1563return new ReadOnlyCollection<XamlMember>(result);
System\Xaml\XamlWriter.cs (1)
14public abstract void WriteStartMember(XamlMember xamlMember);
System\Xaml\XamlXmlWriter.cs (26)
186public override void WriteStartMember(XamlMember property) 281internal static bool IsImplicit(XamlMember xamlMember) 487void CheckMemberForUniqueness(XamlMember property) 680public XamlMember Member 781public virtual void WriteStartMember(XamlXmlWriter writer, XamlMember property) 809XamlMember property = frame.Member; 827XamlMember property = frame.Member; 1003public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1119public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1340var member = frame.Member; 1684var property = writer.namespaceScopes.Peek().Member; 1730var property = writer.namespaceScopes.Peek().Member; 1821public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 1900List<XamlMember> ctorArgProps = GetAllPropertiesWithCAA(objectXamlType); 1912XamlMember matchingProperty = null; 1913foreach (var potentialProperty in ctorArgProps) 1928XamlMember member = objectXamlType.GetMember(matchingProperty.Name); 1975List<XamlMember> GetAllPropertiesWithCAA(XamlType objectXamlType) 1981var ctorArgProps = new List<XamlMember>(); 1983foreach (XamlMember p in properties) 1990foreach (XamlMember p in readOnlyProperties) 2061public override void WriteStartMember(XamlXmlWriter writer, XamlMember property) 2168Dictionary<XamlMember, bool> dictionary = new Dictionary<XamlMember, bool>(); 2170public bool Contains(XamlMember member) 2175public 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)