2 types derived from XamlType
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
14internal class WpfXamlType : XamlType
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
411private class VisibilityMaskingXamlType : XamlType
5 instantiations of XamlType
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (1)
288xamlType = new XamlType(typeName.Namespace, typeName.Name, typeArgs, SchemaContext);
System\Xaml\Parser\XamlAttribute.cs (1)
154XamlType attachedOwnerType = new XamlType(string.Empty, propName.OwnerName, null, context.SchemaContext);
System\Xaml\Parser\XamlScanner.cs (1)
544return new XamlType(xmlns, name.Name, null, _parserContext.SchemaContext);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
111result = new XamlType(typeName.Namespace, typeName.Name, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (1)
554xamlType = new XamlType(alias, type, this, null, null);
691 references to XamlType
PresentationFramework (134)
MS\Internal\Helper.cs (1)
617System.Xaml.XamlType xt = sc.GetXamlType(targetType);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
114System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel));
System\Windows\Controls\ItemsPresenter.cs (1)
312System.Xaml.XamlType xType = (Template.Template as TemplateContent).RootType;
System\Windows\FrameworkTemplate.cs (3)
570internal static bool IsNameScope(XamlType type) 683public XamlType Type { get; set; } 1062internal static bool IsNameProperty(XamlMember member, XamlType owner)
System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (1)
97public StaticResource(XamlType type, XamlSchemaContext schemaContext)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (17)
189public override XamlType Type 811XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 877XamlType xamlType = BamlSchemaContext.GetXamlType(keyId); 1126XamlType type; 1307XamlType type = _context.SchemaContext.GetXamlType(typeId); 1477private XamlMember GetProperty(Int16 propertyId, XamlType parentType) 1638XamlType extensionType = BamlSchemaContext.GetXamlType((short)(-extensionTypeId)); 1854XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 1939XamlType xamlType = BamlSchemaContext.GetXamlType(optimizedResource.KeyId); 2029private string Logic_GetFullyQualifiedNameForType(XamlType type) 2341private void InjectPropertyAndFrameIfNeeded(XamlType elementType, SByte flags) 2350XamlType parentType = _context.CurrentFrame.XamlType; 2409XamlType parentPropertyType = parentProperty.Type; 2483private void EmitGoItemsPreamble(XamlType parentPropertyType) 2502XamlType type) 2594XamlType declaringType = BamlSchemaContext.GetXamlType(reader.ReadInt16()); 2641XamlType type = _context.SchemaContext.GetXamlType(System.Windows.Markup.SystemKeyConverter.GetSystemClassType(keyId));
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
33public XamlType XamlType { get; set; }
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (25)
41public override ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 51public override XamlType GetXamlType(Type type) 56protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 62foreach (XamlType typeArg in typeArguments) 80internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 82internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 90internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 145XamlType xamlType; 159internal XamlType GetXamlType(Int16 typeId) 162XamlType xamlType; 189internal XamlMember GetProperty(Int16 propertyId, XamlType parentType) 200XamlType declaringType = GetXamlType(bamlProperty.DeclaringTypeId); 235XamlType declaringType; 273internal XamlType GetPropertyDeclaringType(Int16 propertyId) 541private XamlType ResolveBamlType(BamlType bamlType, Int16 typeId) 547XamlType xType = _parentSchemaContext.GetXamlType(type); 583private bool TryGetBamlType(Int16 typeId, out BamlType bamlType, out XamlType xamlType) 593xamlType = type as XamlType; 669private static readonly Lazy<XamlType> _resourceDictionaryType 670= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 672private static readonly Lazy<XamlType> _eventSetterType 673= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 684private static readonly Lazy<XamlType> _staticResourceExtensionType 685= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\ThemeKnownTypeHelper.cs (1)
10public abstract XamlType GetKnownXamlType(string name);
System\Windows\Markup\Baml2006\WpfKnownMember.cs (3)
66XamlType declaringType, 78XamlType declaringType, 190protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfKnownType.cs (3)
327protected override IList<XamlType> LookupPositionalParameters(int paramCount) 331List<XamlType> xTypes = null; 335xTypes = new List<XamlType>();
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (22)
33private Dictionary<Type, XamlType> _masterTypeTable; 56_masterTypeTable = new Dictionary<Type, XamlType>(256); 175public override XamlType GetXamlType(Type type) 179XamlType xamlType = GetKnownXamlType(type); 188private XamlType GetUnknownXamlType(Type type) 190XamlType xamlType; 204internal XamlType GetKnownXamlType(Type type) 206XamlType xamlType; 263protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 268public XamlType GetXamlTypeExposed(string xamlNamespace, string name, params XamlType[] typeArguments) 308XamlType xamlType = GetXamlType(xamlTypeName); 323internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 325internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 333internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 358private static readonly Lazy<XamlType> _resourceDictionaryType 359= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 361private static readonly Lazy<XamlType> _eventSetterType 362= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 373private static readonly Lazy<XamlType> _staticResourceExtensionType 374= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (6)
18public override XamlType GetXamlType(Type type) 22XamlType xType; 54internal XamlType GetXamlTypeInternal(string xamlNamespace, string name, params XamlType[] typeArguments) 59private Dictionary<Type, XamlType> _masterTypeTable = new Dictionary<Type, XamlType>();
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
89protected WpfXamlMember(string name, XamlType declaringType, bool isAttachable) 148protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
202XamlType type = this;
System\Windows\Markup\DependencyPropertyConverter.cs (8)
183XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 184XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 185XamlType dataTemplateXType = schemaContext.GetXamlType(typeof(DataTemplate)); 186XamlType controlTemplateXType = schemaContext.GetXamlType(typeof(ControlTemplate)); 188List<XamlType> ceilingTypes = new List<XamlType>(); 244XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 248ambientProvider.GetFirstAmbientValue(new XamlType[] { frameworkTemplateXType }, templateProperty);
System\Windows\Markup\RoutedEventConverter.cs (3)
86XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 88List<XamlType> ceilingTypes = new List<XamlType>();
System\Windows\Markup\WpfXamlLoader.cs (3)
287XamlType xamlType = xamlReader.Type; 288XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 289XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System\Windows\Markup\XamlReader.cs (1)
1192public XamlType Type { get; set; }
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (11)
26private Dictionary<Type, XamlType> _allowedInternalTypes; 92public override XamlType GetXamlType(Type type) 210protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 305private XamlType GetInternalType(Type type, XamlType sharedSchemaXamlType) 311_allowedInternalTypes = new Dictionary<Type, XamlType>(); 314XamlType result; 338private XamlType LookupXamlType(string xamlNamespace, string name, XamlType[] typeArguments) 341XamlType result;
System\Windows\ResourceDictionary.cs (1)
1219XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension));
System\Windows\StaticResourceExtension.cs (7)
212XamlType feXType = schemaContext.GetXamlType(typeof(FrameworkElement)); 213XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 214XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 215XamlType appXType = schemaContext.GetXamlType(typeof(Application)); 216XamlType fceXType = schemaContext.GetXamlType(typeof(FrameworkContentElement)); 225XamlType[] types = new XamlType[1] { schemaContext.GetXamlType(typeof(ResourceDictionary)) };
System\Windows\TemplateContent.cs (12)
29private System.Xaml.XamlType _xamlType; 33public XamlType Type 112public void Push(System.Xaml.XamlType xamlType, string name) 307private void UpdateSharedPropertyNames(string name, List<PropertyValue> sharedProperties, XamlType type) 470XamlType type = stack.CurrentFrame.Property.Type; 789XamlType parentType, 950XamlType type = frames.CurrentFrame.Property.Type; 1381internal XamlType RootType { get; private set; } 1383internal XamlType GetTypeForName(string name) 1539internal Dictionary<string, XamlType> _namedTypes; 1540internal Dictionary<string, XamlType> NamedTypes 1545_namedTypes = new Dictionary<string, XamlType>();
PresentationFramework.Aero (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
PresentationFramework.Aero2 (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
PresentationFramework.AeroLite (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
PresentationFramework.Classic (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
PresentationFramework.Luna (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
PresentationFramework.Royale (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
20public override XamlType GetKnownXamlType(String name)
System.Xaml (551)
System\Windows\Markup\PropertyDefinition.cs (1)
19public XamlType Type { get; set; }
System\Windows\Markup\XamlSetMarkupExtensionEventArgs.cs (2)
29internal XamlType CurrentType { get; set; } 36XamlType baseType = CurrentType.BaseType;
System\Windows\Markup\XamlSetTypeConverterEventArgs.cs (2)
35internal XamlType CurrentType { get; set; } 41XamlType baseType = CurrentType.BaseType;
System\Xaml\Context\NameFixupToken.cs (1)
53public XamlType InstanceType { get; set; }
System\Xaml\Context\ObjectWriterContext.cs (21)
156XamlType xamlType = ServiceProvider_ResolveXamlType(qName); 167internal XamlType ServiceProvider_ResolveXamlType(string qName) 172internal AmbientPropertyValue ServiceProvider_GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 178internal object ServiceProvider_GetFirstAmbientValue(XamlType[] types) 184internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 190internal IEnumerable<object> ServiceProvider_GetAllAmbientValues(XamlType[] types) 196internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, XamlMember[] properties) 283internal XamlType GetDestinationType() 307private List<AmbientPropertyValue> FindAmbientValues(IEnumerable<XamlType> ceilingTypesEnumerable, 309IEnumerable<XamlType> types, 321List<XamlType> ceilingTypes = ceilingTypesEnumerable is not null ? new List<XamlType>(ceilingTypesEnumerable) : null; 340foreach (XamlType type in types) 426private List<object> FindAmbientValues(XamlType[] types, bool stopAfterFirst) 428foreach (XamlType xamlType in types) 443foreach (XamlType type in types) 515public XamlType CurrentType 521public XamlType ParentType 526public XamlType GrandParentType 902XamlType xamlType = rootFrame.XamlType;
System\Xaml\Context\ServiceProviderContext.cs (8)
129IEnumerable<XamlType> ceilingTypes, 146object IAmbientProvider.GetFirstAmbientValue(params XamlType[] types) 150foreach (var type in types) 163IEnumerable<XamlType> ceilingTypes, 180IEnumerable<object> IAmbientProvider.GetAllAmbientValues(params XamlType[] types) 184foreach (var type in types) 197IEnumerable<XamlType> ceilingTypes, 199IEnumerable<XamlType> types,
System\Xaml\Context\XamlCommonFrame.cs (1)
46public XamlType XamlType { get; set; }
System\Xaml\Context\XamlContext.cs (31)
42public XamlMember GetXamlProperty(XamlType xamlType, string propertyName, XamlType rootObjectType) 53public XamlMember GetXamlAttachableProperty(XamlType xamlType, string propertyName) 75public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlPropertyName propName, bool tagIsRoot) 83XamlType ownerType = null; 90XamlType rootTagType = tagIsRoot ? tagType : null; 129XamlType declaringType = ownerTypeMatchesGenericTagType ? tagType : ownerType; 163public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName propName, 173XamlType rootTagType = tagIsRoot ? tagType : null; 226private XamlType GetXamlTypeOrUnknown(XamlTypeName typeName) 231internal XamlType GetXamlType(XamlName typeName) 236internal XamlType GetXamlType(XamlName typeName, bool returnUnknownTypesOnFailure) 253internal XamlType GetXamlType(XamlTypeName typeName) 258internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure) 263internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure, 269XamlType xamlType = _schemaContext.GetXamlType(typeName); 277XamlType[] typeArgs = null; 281typeArgs = new XamlType[typeNames.Count]; 312internal XamlType ResolveXamlType(string qName, bool skipVisibilityCheck) 335internal virtual bool IsVisible(XamlMember member, XamlType rootObjectType) 340private XamlMember CreateUnknownMember(XamlType declaringType, string name) 345private XamlMember CreateUnknownAttachableMember(XamlType declaringType, string name) 350private bool PropertyTypeMatchesGenericTagType(XamlType tagType, string tagNs, string propNs, string propTypeName) 364XamlType propertyType = GetXamlType(propNs, propTypeName, tagType.TypeArguments); 368private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) 383private XamlType GetXamlType(string ns, string name, IList<XamlType> typeArguments) 385XamlType[] typeArgArray = new XamlType[typeArguments.Count]; 387XamlType xamlType = _schemaContext.GetXamlType(ns, name, typeArgArray);
System\Xaml\Context\XamlParserContext.cs (5)
113internal override bool IsVisible(XamlMember member, XamlType rootObjectType) 159internal void InitBracketCharacterCacheForType(XamlType extensionType) 168internal void InitLongestConstructor(XamlType xamlType) 192public XamlType CurrentType 287public XamlType CurrentPreviousChildType
System\Xaml\Context\XamlParserFrame.cs (1)
29public XamlType PreviousChildType { get; set; }
System\Xaml\IAmbientProvider.cs (6)
10AmbientPropertyValue GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, 12object GetFirstAmbientValue(params XamlType[] types); 14IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 17IEnumerable<object> GetAllAmbientValues(params XamlType[] types); 19IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 21IEnumerable<XamlType> types,
System\Xaml\InfosetObjects\DeferredWriter.cs (2)
67public override void WriteStartObject(XamlType xamlType) 72private void WriteObject(XamlType xamlType, bool fromMember, string methodName)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
65Debug.Assert(data is XamlType, "XamlNode ctor, StartObject data is not a XamlType"); 173public XamlType XamlType 179return (XamlType)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (38)
273XamlType xamlType = (_context.CurrentType is null && _context.Depth > 1) 311public override void WriteStartObject(XamlType xamlType) 372XamlType rootType = GetXamlType(_rootObjectInstance.GetType()); 447XamlType xamlType = _context.CurrentType; 676XamlType propertyXamlType = property.Type; 776XamlType valueXamlType = GetXamlType(value.GetType()); 788XamlType valueXamlType = GetXamlType(value.GetType()); 871XamlType parentXamlType = parentProperty.Type; 1070private object GetKeyFromInstance(object instance, XamlType instanceType, IAddLineInfo lineInfo) 1082private XamlType GetXamlType(Type clrType) 1084XamlType result = SchemaContext.GetXamlType(clrType); 1118private bool IsDirectiveAllowedOnNullInstance(XamlMember xamlMember, XamlType xamlType) 1140XamlType currentType = ctx.CurrentType; 1179XamlType ownerType; 1198XamlType instType = GetXamlType(inst.GetType()); 1232XamlType meType = ctx.CurrentType; 1240IList<XamlType> paramTypes = meType.GetPositionalParameters(rawArgs.Count); 1257XamlType pparamType = paramTypes[i]; 1270XamlType xamlType = ctx.ParentType; 1335XamlType propertyType = property.Type; 1354XamlType declaringType = null; 1366XamlType grandParentXamlType = ctx.GrandParentType; 1440XamlType dictionaryType = ctx.GrandParentType; 1469XamlType xamlType = ctx.CurrentType; 1490XamlType xamlType = ctx.CurrentType; 1526XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1624XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1695XamlType declaringType = null; 1783XamlType type = ctx.CurrentType; 1799XamlType collectionType = ctx.ParentType; 1800XamlType currentType = ctx.CurrentType; 1856XamlType itemType = ctx.ParentType.ItemType; 2008XamlType ppXamlType = parentProperty.Type; 2067XamlType parentType = ctx.ParentType; 2169object inst, XamlType xamlType, 2641private void ExecutePendingAdds(XamlType instanceType, object instance) 2648XamlType itemType = pendingAdd.ItemType ?? instanceType.ItemType; 2703public XamlType ItemType { get; set; } // Need this because Add() overload resolution
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
292public override XamlType Type
System\Xaml\Parser\MePullParser.cs (2)
98XamlType xamlType = _tokenizer.TokenType; 469private XamlNode Logic_StartElement(XamlType xamlType, string xamlNamespace)
System\Xaml\Parser\MeScanner.cs (5)
55private XamlType _tokenXamlType; 102public XamlType TokenType 299XamlType xamlType = _context.GetXamlType(typeName, false); 323XamlType declaringType; 324XamlType tagType = _context.CurrentType;
System\Xaml\Parser\XamlAttribute.cs (3)
45public void Initialize(XamlParserContext context, XamlType tagType, string ownerNamespace, bool tagIsRoot) 143XamlType tagType, string tagNamespace, bool tagIsRoot) 154XamlType attachedOwnerType = new XamlType(string.Empty, propName.OwnerName, null, context.SchemaContext);
System\Xaml\Parser\XamlPullParser.cs (18)
282XamlType currentType = _context.CurrentType; 450XamlType currentType = _context.CurrentType; 814private XamlNode Logic_StartObject(XamlType xamlType, string xamlNamespace) 826XamlType xamlType = _context.CurrentType; 879XamlType memberXamlType = member.Type; 907private XamlNode Logic_StartInitProperty(XamlType ownerType) 935XamlType previousObject = _context.CurrentPreviousChildType; 945XamlType nextXamlType = _xamlScanner.PeekType; 956private XamlNode Logic_StartGetObjectFromMember(XamlType realType) 966private XamlNode Logic_StartItemsProperty(XamlType collectionType) 978private XamlType _arrayExtensionType; 979private XamlType ArrayExtensionType 1023XamlType currentType = _context.CurrentType; 1026XamlType propertyType = currentProperty.Type; 1028XamlType valueElementType = (_xamlScanner.NodeType == ScannerNodeType.TEXT) 1139XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1231XamlType propertyType = property.Type; 1234foreach (XamlType allowedType in propertyType.AllowedContentTypes)
System\Xaml\Parser\XamlScanner.cs (5)
71public XamlType PeekType 85public XamlType Type 323XamlType errType = CreateErrorXamlType(name, string.Empty); 412private void ReadPropertyElement(XamlPropertyName name, XamlType tagType, string tagNamespace, bool isEmptyTag) 542private XamlType CreateErrorXamlType(XamlName name, string xmlns)
System\Xaml\Parser\XamlScannerNode.cs (1)
30public XamlType Type { get; set; }
System\Xaml\Parser\XamlScannerStack.cs (4)
12public XamlType XamlType { get; set; } 18public XamlScannerFrame(XamlType xamlType, string ns) 35public void Push(XamlType type, string ns) 53public XamlType CurrentType
System\Xaml\ReaderBaseDelegate.cs (1)
41public override XamlType Type
System\Xaml\Replacements\TypeTypeConverter.cs (1)
65XamlType xamlType = schemaContextProvider.SchemaContext.GetXamlType(type);
System\Xaml\Runtime\ClrObjectRuntime.cs (12)
44public override object CreateInstance(XamlType xamlType, object[] args) 70protected virtual object CreateInstanceWithCtor(XamlType xamlType, object[] args) 75public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 315public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 332public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 349public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 374public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 480public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 525public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 718private IEnumerator GetItems(object collection, XamlType collectionType)
System\Xaml\Runtime\DynamicMethodRuntime.cs (1)
194protected override object CreateInstanceWithCtor(XamlType xamlType, object[] args)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (11)
57public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 62public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 133public override object CreateInstance(XamlType xamlType, object[] args) 164public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 317public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 329public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 400public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 405public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 436private static bool HasDefaultInvoker(XamlType xamlType)
System\Xaml\Schema\MemberReflector.cs (3)
63internal MemberReflector(XamlType type, XamlValueConverter<TypeConverter> typeConverter) 189internal XamlType Type { get; set; } 191internal XamlType TargetType { get; set; }
System\Xaml\Schema\TypeReflector.cs (15)
39private ThreadSafeDictionary<int, IList<XamlType>> _positionalParameterTypes; 66private NullableReference<XamlType> _baseType; 171internal IList<XamlType> AllowedContentTypes { get; set; } 187internal XamlType BaseType 214internal IList<XamlType> ContentWrappers { get; set; } 226internal XamlType KeyType { get; set; } 241internal XamlType ItemType { get; set; } 243internal XamlType MarkupExtensionReturnType { get; set; } 259internal Dictionary<int, IList<XamlType>> ReflectedPositionalParameters { get; set; } 295internal bool TryGetPositionalParameters(int paramCount, out IList<XamlType> result) 306new ThreadSafeDictionary<int, IList<XamlType>>(), null); 312internal IList<XamlType> TryAddPositionalParameters(int paramCount, IList<XamlType> paramList) 406internal static XamlMember LookupNameScopeProperty(XamlType xamlType) 423XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlDirective.cs (3)
32public XamlDirective(IEnumerable<string> xamlNamespaces, string name, XamlType xamlType, 173protected sealed override XamlType LookupTargetType() 184protected sealed override XamlType LookupType()
System\Xaml\Schema\XamlNamespace.cs (15)
21private ConcurrentDictionary<string, XamlType> _typeCache; 22private ICollection<XamlType> _allPublicTypes; 49_typeCache = XamlSchemaContext.CreateDictionary<string, XamlType>(); 54public ICollection<XamlType> GetAllXamlTypes() => _allPublicTypes ??= LookupAllTypes(); 56public XamlType GetXamlType(string typeName, params XamlType[] typeArgs) 72private XamlType TryGetXamlType(string typeName) 75if (_typeCache.TryGetValue(typeName, out XamlType xamlType)) 97private XamlType TryGetXamlType(string typeName, Type[] typeArgs) 107XamlType openXamlType = TryGetXamlType(mangledTypeName); 153private Type[] ConvertArrayOfXamlTypesToTypes(XamlType[] typeArgs) 204private ICollection<XamlType> LookupAllTypes() 206List<XamlType> xamlTypeList = new List<XamlType>(); 227XamlType xamlType = SchemaContext.GetXamlType(t);
System\Xaml\Schema\XamlTypeInvoker.cs (10)
17private Dictionary<XamlType, MethodInfo> _addMethods; 19private XamlType _xamlType; 29public XamlTypeInvoker(XamlType type) 72XamlType itemType; 106XamlType itemType; 140public virtual MethodInfo GetAddMethod(XamlType contentType) 165Dictionary<XamlType, MethodInfo> addMethods = new Dictionary<XamlType, MethodInfo>(); 167foreach (XamlType type in _xamlType.AllowedContentTypes) 189foreach (KeyValuePair<XamlType, MethodInfo> pair in _addMethods)
System\Xaml\Schema\XamlTypeTypeConverter.cs (9)
22XamlType result = ConvertStringToXamlType(context, typeName); 39XamlType xamlType = value as XamlType; 53internal static string ConvertXamlTypeToString(ITypeDescriptorContext context, XamlType xamlType) 65private static XamlType ConvertStringToXamlType(ITypeDescriptorContext context, string typeName) 93private static XamlType GetXamlTypeOrUnknown(XamlSchemaContext schemaContext, XamlTypeName typeName) 95XamlType result = schemaContext.GetXamlType(typeName); 101XamlType[] typeArgs = null; 104typeArgs = new XamlType[typeName.TypeArguments.Count];
System\Xaml\Schema\XamlValueConverter.cs (3)
22public XamlType TargetType { get; } 24public XamlValueConverter(Type converterType, XamlType targetType) 29public XamlValueConverter(Type converterType, XamlType targetType, string name)
System\Xaml\WriterDelegate.cs (1)
33public override void WriteStartObject(XamlType xamlType)
System\Xaml\XamlBackgroundReader.cs (1)
290public override XamlType Type
System\Xaml\XamlException.cs (4)
141public XamlType ParentType { get; set; } 145public XamlDuplicateMemberException(XamlMember member, XamlType type) 163ParentType = (XamlType)info.GetValue("ParentType", typeof(XamlType));
System\Xaml\XamlLanguage.cs (92)
58private static Lazy<XamlType> s_array = 59new Lazy<XamlType>(() => GetXamlType(typeof(ArrayExtension))); 60private static Lazy<XamlType> s_null = 61new Lazy<XamlType>(() => GetXamlType(typeof(NullExtension))); 62private static Lazy<XamlType> s_reference = 63new Lazy<XamlType>(() => GetXamlType(typeof(Reference))); 64private static Lazy<XamlType> s_static = 65new Lazy<XamlType>(() => GetXamlType(typeof(StaticExtension))); 66private static Lazy<XamlType> s_type = 67new Lazy<XamlType>(() => GetXamlType(typeof(TypeExtension))); 68private static Lazy<XamlType> s_string = 69new Lazy<XamlType>(() => GetXamlType(typeof(string))); 70private static Lazy<XamlType> s_double = 71new Lazy<XamlType>(() => GetXamlType(typeof(double))); 72private static Lazy<XamlType> s_int32 = 73new Lazy<XamlType>(() => GetXamlType(typeof(int))); 74private static Lazy<XamlType> s_boolean = 75new Lazy<XamlType>(() => GetXamlType(typeof(bool))); 76private static Lazy<XamlType> s_member = 77new Lazy<XamlType>(() => GetXamlType(typeof(MemberDefinition))); 78private static Lazy<XamlType> s_property = 79new Lazy<XamlType>(() => GetXamlType(typeof(PropertyDefinition))); 80private static Lazy<XamlType> s_xDataHolder = 81new Lazy<XamlType>(() => GetXamlType(typeof(XData))); 83private static Lazy<XamlType> s_object = 84new Lazy<XamlType>(() => GetXamlType(typeof(object))); 85private static Lazy<XamlType> s_listOfObject = 86new Lazy<XamlType>(() => GetXamlType(typeof(List<object>))); 87private static Lazy<XamlType> s_listOfMembers = 88new Lazy<XamlType>(() => GetXamlType(typeof(List<MemberDefinition>))); 89private static Lazy<XamlType> s_listOfAttributes = 90new Lazy<XamlType>(() => GetXamlType(typeof(List<Attribute>))); 92private static Lazy<XamlType> s_markupExtension = 93new Lazy<XamlType>(() => GetXamlType(typeof(MarkupExtension))); 94private static Lazy<XamlType> s_iNameScope = 95new Lazy<XamlType>(() => GetXamlType(typeof(INameScope))); 96private static Lazy<XamlType> s_iXmlSerializable = 97new Lazy<XamlType>(() => GetXamlType(typeof(IXmlSerializable)), true); 99private static Lazy<XamlType> s_positionalParameterDescriptor = 100new Lazy<XamlType>(() => GetXamlType(typeof(PositionalParameterDescriptor)), true); 102private static Lazy<XamlType> s_char = 103new Lazy<XamlType>(() => GetXamlType(typeof(char)), true); 104private static Lazy<XamlType> s_single = 105new Lazy<XamlType>(() => GetXamlType(typeof(float)), true); 106private static Lazy<XamlType> s_byte = 107new Lazy<XamlType>(() => GetXamlType(typeof(byte)), true); 108private static Lazy<XamlType> s_int16 = 109new Lazy<XamlType>(() => GetXamlType(typeof(short)), true); 110private static Lazy<XamlType> s_int64 = 111new Lazy<XamlType>(() => GetXamlType(typeof(long)), true); 112private static Lazy<XamlType> s_decimal = 113new Lazy<XamlType>(() => GetXamlType(typeof(decimal)), true); 114private static Lazy<XamlType> s_uri = 115new Lazy<XamlType>(() => GetXamlType(typeof(Uri)), true); 116private static Lazy<XamlType> s_timespan = 117new Lazy<XamlType>(() => GetXamlType(typeof(TimeSpan)), true); 119private static Lazy<ReadOnlyCollection<XamlType>> s_allTypes = 120new Lazy<ReadOnlyCollection<XamlType>>(GetAllTypes); 188public static XamlType Array { get { return s_array.Value; } } 189public static XamlType Member { get { return s_member.Value; } } 190public static XamlType Null { get { return s_null.Value; } } 191public static XamlType Property { get { return s_property.Value; } } 192public static XamlType Reference { get { return s_reference.Value; } } 193public static XamlType Static { get { return s_static.Value; } } 194public static XamlType Type { get { return s_type.Value; } } 195public static XamlType String { get { return s_string.Value; } } 196public static XamlType Double { get { return s_double.Value; } } 197public static XamlType Int32 { get { return s_int32.Value; } } 198public static XamlType Boolean { get { return s_boolean.Value; } } 199public static XamlType XData { get { return s_xDataHolder.Value; } } 201public static XamlType Object { get { return s_object.Value; } } 202public static XamlType Char { get { return s_char.Value; } } 203public static XamlType Single { get { return s_single.Value; } } 204public static XamlType Byte { get { return s_byte.Value; } } 205public static XamlType Int16 { get { return s_int16.Value; } } 206public static XamlType Int64 { get { return s_int64.Value; } } 207public static XamlType Decimal { get { return s_decimal.Value; } } 208public static XamlType Uri { get { return s_uri.Value; } } 209public static XamlType TimeSpan { get { return s_timespan.Value; } } 211public static ReadOnlyCollection<XamlType> AllTypes { get { return s_allTypes.Value; } } 242internal static XamlType MarkupExtension { get { return s_markupExtension.Value; } } 243internal static XamlType INameScope { get { return s_iNameScope.Value; } } 244internal static XamlType PositionalParameterDescriptor { get { return s_positionalParameterDescriptor.Value; } } 246internal static XamlType IXmlSerializable { get { return s_iXmlSerializable.Value; } } 314internal static XamlType LookupXamlType(string typeNamespace, string typeName) 411private static ReadOnlyCollection<XamlType> GetAllTypes() 413XamlType[] result = new XamlType[] { Array, Member, Null, Property, Reference, Static, Type, String, Double, Int16, Int32, Int64, Boolean, XData, Object, Char, Single, Byte, Decimal, Uri, TimeSpan }; 414return new ReadOnlyCollection<XamlType>(result); 452private static XamlDirective GetXamlDirective(string name, XamlType xamlType, 465private static XamlType GetXamlType(Type type) 467XamlType result = s_schemaContext.Value.GetXamlType(type);
System\Xaml\XamlMarkupExtensionWriter.cs (7)
92private string LookupPrefix(XamlType type) 143public override void WriteStartObject(XamlType type) 203public XamlType XamlType 215public virtual void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 309public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 501public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 572public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type)
System\Xaml\XamlMember.cs (8)
20private XamlType _declaringType; 34public XamlMember(string name, XamlType declaringType, bool isAttachable) 158public XamlType DeclaringType { get { return _declaringType; } } 222public XamlType TargetType 246public XamlType Type 591return XamlType.GetReadOnly(result); 677protected virtual XamlType LookupTargetType() 757protected virtual XamlType LookupType()
System\Xaml\XamlObjectReader.cs (40)
136public override XamlType Type 394object sourceOrValue, XamlMember property, XamlType propertyType, SerializerContext context) 411XamlType keyType = propertyType.KeyType; 439XamlType actualKeyType = null; 476XamlType typeOfValue = context.GetXamlType(entry.Value.GetType()); 641XamlType declaringType = xamlProperty.DeclaringType; 668var memberType = memberInfo.XamlNode.Member.Type; 698public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 750foreach (var contentWrapperType in xamlType.ContentWrappers) 801private static bool ShouldUnwrapDueToWhitespace(string value, XamlType xamlType, bool isFirstElementOfCollection, bool isLastElementOfCollection) 1164var type = XamlNode.XamlType; 1178private void FindNamespaceForTypeArguments(IList<XamlType> types, SerializerContext context) 1185foreach (var type in types) 1192private void AddItemsProperty(object value, SerializerContext context, XamlType xamlType) 1323private bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context) 1337XamlType paramXamlType = context.GetXamlType(cstrParams[i++].ParameterType); 1422private bool TryGetDefaultConstructorInfo(XamlType type, out MemberInfo member, out ICollection arguments, out bool isComplete) 1433var valueXamlType = context.GetXamlType(valueType); 1466XamlType xamlType) 1513private void AddRecordConstructionMembers(object value, XamlType valueXamlType, SerializerContext context, 1591private bool IsPropertyContent(MemberMarkupInfo propertyInfo, XamlType containingType) 1609private void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete) 1710var xamlType = objInfo.XamlNode.XamlType; 1771var xamlType = context.LocalAssemblyAwareGetXamlType(Object.GetType()); 1809var type = context.LocalAssemblyAwareGetXamlType(value.GetType()); 1811var elementType = type.ItemType; 1875XamlType owningType = context.GetXamlType(ap.Key.DeclaringType); 1935XamlType valueType = context.GetXamlType(value.GetType()); 2024XamlType xamlType = context.LocalAssemblyAwareGetXamlType(value.GetType()); 2066var xamlType = context.LocalAssemblyAwareGetXamlType(originalValue.GetType()); 2327private static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2637public XamlType GetXamlType(Type clrType) 2639XamlType result = schemaContext.GetXamlType(clrType); 2649public XamlType LocalAssemblyAwareGetXamlType(Type clrType) 2651XamlType result = GetXamlType(clrType); 2704XamlType valueXamlType = context.GetXamlType(value.GetType()); 2736public string ConvertXamlTypeToString(XamlType type) 2746XamlType type = GetXamlType(objectToName.GetType()); 3251XamlType baseType = member.DeclaringType.BaseType; 3280private static XamlMember GetExcludedReadOnlyMember(XamlType type, string name)
System\Xaml\XamlReader.cs (1)
19public abstract XamlType Type { get; }
System\Xaml\XamlRuntime.cs (10)
23public abstract object CreateInstance(XamlType xamlType, object[] args); 25public abstract object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args); 58public abstract void SetUriBase(XamlType xamlType, object obj, Uri baseUri); 62public abstract void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType); 64public abstract void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key); 66public abstract IList<object> GetCollectionItems(object collection, XamlType collectionType); 68public abstract IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType); 76public abstract void InitializationGuard(XamlType xamlType, object obj, bool begin);
System\Xaml\XamlSchemaContext.cs (25)
96public virtual ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 274public XamlType GetXamlType(XamlTypeName xamlTypeName) 287XamlType[] typeArgs = null; 290typeArgs = new XamlType[xamlTypeName.TypeArguments.Count]; 309protected internal virtual XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 315foreach (XamlType typeArg in typeArguments) 329XamlType result = null; 486private ConcurrentDictionary<Type, XamlType> _masterTypeList; 487private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> _masterValueConverterList; 489private ConcurrentDictionary<XamlType, Dictionary<string, SpecialBracketCharacters> > _masterBracketCharacterCache; 498private ConcurrentDictionary<XamlType, Dictionary<string, SpecialBracketCharacters> > MasterBracketCharacterCache 503Interlocked.CompareExchange(ref _masterBracketCharacterCache, CreateDictionary<XamlType, Dictionary<string, SpecialBracketCharacters>>(), null); 509private ConcurrentDictionary<Type, XamlType> MasterTypeList 514Interlocked.CompareExchange(ref _masterTypeList, CreateDictionary<Type, XamlType>(ReferenceEqualityComparer.Instance), null); 520private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> MasterValueConverterList 525Interlocked.CompareExchange(ref _masterValueConverterList, CreateDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object>(), null); 541public virtual XamlType GetXamlType(Type type) 548internal XamlType GetXamlType(Type type, string alias) 551XamlType xamlType = null; 566internal Dictionary<string, SpecialBracketCharacters> InitBracketCharacterCacheForType(XamlType type) 587private Dictionary<string, SpecialBracketCharacters> BuildBracketCharacterCacheForType(XamlType type) 614Type converterType, XamlType targetType) 617var key = new ReferenceEqualityTuple<Type, XamlType, Type>(converterType, targetType, typeof(TConverterBase)); 921internal ReadOnlyCollection<string> GetXamlNamespaces(XamlType type)
System\Xaml\XamlSubreader.cs (1)
56public override XamlType Type
System\Xaml\XamlType.cs (68)
18public class XamlType : IEquatable<XamlType> 23private readonly IList<XamlType> _typeArguments; 38protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 45public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 78public XamlType BaseType 144public IList<XamlType> TypeArguments 192public XamlType KeyType 211public XamlType ItemType 230public IList<XamlType> AllowedContentTypes 245ReadOnlyCollection<XamlType>.Empty; 252public IList<XamlType> ContentWrappers 265ReadOnlyCollection<XamlType>.Empty; 328public XamlType MarkupExtensionReturnType 431public virtual bool CanAssignTo(XamlType xamlType) 439XamlType curType = this; 446baseUnderlyingType.Assembly == typeof(XamlType).Assembly) 468public IList<XamlType> GetPositionalParameters(int parameterCount) 471IList<XamlType> result; 725protected virtual IList<XamlType> LookupAllowedContentTypes() 727IList<XamlType> contentWrappers = ContentWrappers ?? ReadOnlyCollection<XamlType>.Empty; 728List<XamlType> result = new List<XamlType>(contentWrappers.Count + 1); 731foreach (XamlType contentWrapper in contentWrappers) 736XamlType contentType = contentWrapper.ContentProperty.Type; 747protected virtual XamlType LookupBaseType() 819protected virtual IList<XamlType> LookupContentWrappers() 821List<XamlType> contentWrappers = null; 828contentWrappers = new List<XamlType>(wrapperTypes.Count); 838IList<XamlType> baseWrappers = BaseType.ContentWrappers; 976protected virtual XamlType LookupKeyType() 995protected virtual XamlType LookupItemType() 1026protected virtual XamlType LookupMarkupExtensionReturnType() 1034XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1161protected virtual IList<XamlType> LookupPositionalParameters(int parameterCount) 1178IList<XamlType> result; 1268XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1310XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1576private static ReadOnlyCollection<XamlType> GetTypeArguments(IList<XamlType> typeArguments) 1583foreach (XamlType typeArg in typeArguments) 1591return new List<XamlType>(typeArguments).AsReadOnly(); 1594private static ReadOnlyCollection<XamlType> GetTypeArguments(Type type, XamlSchemaContext schemaContext) 1608XamlType[] result = new XamlType[types.Length]; 1673Debug.Assert(GetType() != typeof(XamlType), "Default GetAllMembers logic should have already captured all writeable properties"); 1680private Dictionary<int, IList<XamlType>> LookupAllPositionalParameters() 1687Dictionary<int, IList<XamlType>> result = new Dictionary<int, IList<XamlType>>(); 1688XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1689XamlType[] typeVector = new XamlType[] { typeOfType }; 1694Dictionary<int, IList<XamlType>> ctorDict = new Dictionary<int, IList<XamlType>>(); 1698XamlType[] typeVector = new XamlType[parameterInfos.Length]; 1703XamlType xamlType = SchemaContext.GetXamlType(type); 1822XamlType baseType = BaseType; 1836XamlType objXamlType = obj as XamlType; 1852foreach (XamlType typeArgument in _typeArguments) 1871public bool Equals(XamlType other) 1878public static bool operator ==(XamlType xamlType1, XamlType xamlType2) 1923public static bool operator !=(XamlType xamlType1, XamlType xamlType2) 1928private static bool TypeArgumentsAreEqual(XamlType xamlType1, XamlType xamlType2)
System\Xaml\XamlTypeName.cs (2)
39public XamlTypeName(XamlType xamlType) 46foreach (XamlType argumentType in xamlType.TypeArguments)
System\Xaml\XamlWriter.cs (1)
11public abstract void WriteStartObject(XamlType type);
System\Xaml\XamlXmlWriter.cs (45)
147XamlType type = null; 158public override void WriteStartObject(XamlType type) 343private static XamlType GetContainingXamlType(XamlXmlWriter writer) 347XamlType containingXamlType = null; 541private void WriteTypeArguments(XamlType type) 553private void WriteUndefinedNamespaces(XamlType type) 573foreach (XamlType arg in type.TypeArguments) 580private bool TypeArgumentsContainNamespaceThatNeedsDefinition(XamlType type) 595foreach (XamlType arg in type.TypeArguments) 607private string BuildTypeArgumentsString(IList<XamlType> typeArguments) 610foreach (XamlType type in typeArguments) 623private string ConvertXamlTypeToString(XamlType typeArgument) 630private void ConvertXamlTypeToStringHelper(XamlType type, StringBuilder builder) 644foreach (XamlType arg in type.TypeArguments) 665internal static string GetTypeName(XamlType type) 681public XamlType Type 781public virtual void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 818XamlType type = frame.Type; 823XamlType xamlType = property.IsAttachable ? property.DeclaringType : type; 836XamlType owningType = frame.Type; 870protected static void WriteStartElementForObject(XamlXmlWriter writer, XamlType type) 905XamlType type = null; 958public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1029XamlType parentType = writer.namespaceScopes.Peek().Type; 1036XamlType containingType = writer.namespaceScopes.Peek().Type; 1133XamlType parentType = writer.namespaceScopes.Peek().Type; 1170XamlType containingType = writer.namespaceScopes.Peek().Type; 1269XamlType containingXamlType = GetContainingXamlType(writer); 1369public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1396XamlType memberType = frame.Member.Type; 1448public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1491XamlType containingXamlType = GetContainingXamlType(writer); 1496public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1537public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1608public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1667public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1717public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1766public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1800public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1905XamlType objectXamlType = frame.Type; 1959private ParameterInfo[] GetParametersInfo(XamlType objectXamlType, int numOfParameters) 1961IList<XamlType> paramXamlTypes = objectXamlType.GetPositionalParameters(numOfParameters); 1971foreach (var xamlType in paramXamlTypes) 1994private List<XamlMember> GetAllPropertiesWithCAA(XamlType objectXamlType) 2044public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember)