2 types derived from XamlType
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
18internal class WpfXamlType : XamlType
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
415private class VisibilityMaskingXamlType : XamlType
8 instantiations of XamlType
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (1)
280xamlType = new XamlType(typeName.Namespace, typeName.Name, typeArgs, SchemaContext);
System\Xaml\Parser\XamlAttribute.cs (1)
156XamlType attachedOwnerType = new XamlType(string.Empty, propName.OwnerName, null, context.SchemaContext);
System\Xaml\Parser\XamlScanner.cs (1)
538return new XamlType(xmlns, name.Name, null, _parserContext.SchemaContext);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
108result = new XamlType(typeName.Namespace, typeName.Name, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (1)
537xamlType = new XamlType(alias, type, this, null, null);
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
15var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
17var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
15var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
696 references to XamlType
PresentationFramework (134)
MS\Internal\Helper.cs (1)
630System.Xaml.XamlType xt = sc.GetXamlType(targetType);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
120System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel));
System\Windows\Controls\ItemsPresenter.cs (1)
324System.Xaml.XamlType xType = (Template.Template as TemplateContent).RootType;
System\Windows\FrameworkTemplate.cs (3)
586internal static bool IsNameScope(XamlType type) 699public XamlType Type { get; set; } 1080internal static bool IsNameProperty(XamlMember member, XamlType owner)
System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (1)
103public StaticResource(XamlType type, XamlSchemaContext schemaContext)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (17)
193override public XamlType Type 816XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 882XamlType xamlType = BamlSchemaContext.GetXamlType(keyId); 1129XamlType type; 1310XamlType type = _context.SchemaContext.GetXamlType(typeId); 1478private XamlMember GetProperty(Int16 propertyId, XamlType parentType) 1639XamlType extensionType = BamlSchemaContext.GetXamlType((short)(-extensionTypeId)); 1853XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 1938XamlType xamlType = BamlSchemaContext.GetXamlType(optimizedResource.KeyId); 2028private string Logic_GetFullyQualifiedNameForType(XamlType type) 2348private void InjectPropertyAndFrameIfNeeded(XamlType elementType, SByte flags) 2357XamlType parentType = _context.CurrentFrame.XamlType; 2419XamlType parentPropertyType = parentProperty.Type; 2493private void EmitGoItemsPreamble(XamlType parentPropertyType) 2512XamlType type) 2604XamlType declaringType = BamlSchemaContext.GetXamlType(reader.ReadInt16()); 2651XamlType type = _context.SchemaContext.GetXamlType(System.Windows.Markup.SystemKeyConverter.GetSystemClassType(keyId));
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
37public XamlType XamlType { get; set; }
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (25)
55public override ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 65public override XamlType GetXamlType(Type type) 70protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 76foreach (XamlType typeArg in typeArguments) 94internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 96internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 104internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 159XamlType xamlType; 173internal XamlType GetXamlType(Int16 typeId) 176XamlType xamlType; 203internal XamlMember GetProperty(Int16 propertyId, XamlType parentType) 214XamlType declaringType = GetXamlType(bamlProperty.DeclaringTypeId); 249XamlType declaringType; 287internal XamlType GetPropertyDeclaringType(Int16 propertyId) 553private XamlType ResolveBamlType(BamlType bamlType, Int16 typeId) 559XamlType xType = _parentSchemaContext.GetXamlType(type); 595private bool TryGetBamlType(Int16 typeId, out BamlType bamlType, out XamlType xamlType) 605xamlType = type as XamlType; 681private static readonly Lazy<XamlType> _resourceDictionaryType 682= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 684private static readonly Lazy<XamlType> _eventSetterType 685= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 696private static readonly Lazy<XamlType> _staticResourceExtensionType 697= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\ThemeKnownTypeHelper.cs (1)
14public abstract XamlType GetKnownXamlType(string name);
System\Windows\Markup\Baml2006\WpfKnownMember.cs (3)
69XamlType declaringType, 81XamlType declaringType, 193protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfKnownType.cs (3)
331protected override IList<XamlType> LookupPositionalParameters(int paramCount) 335List<XamlType> xTypes = null; 339xTypes = new List<XamlType>();
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (22)
39private Dictionary<Type, XamlType> _masterTypeTable; 62_masterTypeTable = new Dictionary<Type, XamlType>(256); 181public override XamlType GetXamlType(Type type) 185XamlType xamlType = GetKnownXamlType(type); 194private XamlType GetUnknownXamlType(Type type) 196XamlType xamlType; 210internal XamlType GetKnownXamlType(Type type) 212XamlType xamlType; 269protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 274public XamlType GetXamlTypeExposed(string xamlNamespace, string name, params XamlType[] typeArguments) 314XamlType xamlType = GetXamlType(xamlTypeName); 329internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 331internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 339internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 364private static readonly Lazy<XamlType> _resourceDictionaryType 365= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 367private static readonly Lazy<XamlType> _eventSetterType 368= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 379private static readonly Lazy<XamlType> _staticResourceExtensionType 380= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (6)
22public override XamlType GetXamlType(Type type) 26XamlType xType; 58internal XamlType GetXamlTypeInternal(string xamlNamespace, string name, params XamlType[] typeArguments) 63private Dictionary<Type, XamlType> _masterTypeTable = new Dictionary<Type, XamlType>();
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
93protected WpfXamlMember(string name, XamlType declaringType, bool isAttachable) 152protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
206XamlType type = this;
System\Windows\Markup\DependencyPropertyConverter.cs (8)
193XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 194XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 195XamlType dataTemplateXType = schemaContext.GetXamlType(typeof(DataTemplate)); 196XamlType controlTemplateXType = schemaContext.GetXamlType(typeof(ControlTemplate)); 198List<XamlType> ceilingTypes = new List<XamlType>(); 254XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 258ambientProvider.GetFirstAmbientValue(new XamlType[] { frameworkTemplateXType }, templateProperty);
System\Windows\Markup\RoutedEventConverter.cs (3)
90XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 92List<XamlType> ceilingTypes = new List<XamlType>();
System\Windows\Markup\WpfXamlLoader.cs (3)
292XamlType xamlType = xamlReader.Type; 293XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 294XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System\Windows\Markup\XamlReader.cs (1)
1206public XamlType Type { get; set; }
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (11)
30Dictionary<Type, XamlType> _allowedInternalTypes; 96public override XamlType GetXamlType(Type type) 214protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 309private XamlType GetInternalType(Type type, XamlType sharedSchemaXamlType) 315_allowedInternalTypes = new Dictionary<Type, XamlType>(); 318XamlType result; 342private XamlType LookupXamlType(string xamlNamespace, string name, XamlType[] typeArguments) 345XamlType result;
System\Windows\ResourceDictionary.cs (1)
1171XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension));
System\Windows\StaticResourceExtension.cs (7)
221XamlType feXType = schemaContext.GetXamlType(typeof(FrameworkElement)); 222XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 223XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 224XamlType appXType = schemaContext.GetXamlType(typeof(Application)); 225XamlType fceXType = schemaContext.GetXamlType(typeof(FrameworkContentElement)); 234XamlType[] types = new XamlType[1] { schemaContext.GetXamlType(typeof(ResourceDictionary)) };
System\Windows\TemplateContent.cs (12)
33private System.Xaml.XamlType _xamlType; 37public XamlType Type 116public void Push(System.Xaml.XamlType xamlType, string name) 309private void UpdateSharedPropertyNames(string name, List<PropertyValue> sharedProperties, XamlType type) 475XamlType type = stack.CurrentFrame.Property.Type; 796XamlType parentType, 957XamlType type = frames.CurrentFrame.Property.Type; 1377internal XamlType RootType { get; private set; } 1379internal XamlType GetTypeForName(string name) 1535internal Dictionary<string, XamlType> _namedTypes; 1536internal Dictionary<string, XamlType> NamedTypes 1541_namedTypes = new Dictionary<string, XamlType>();
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
23public override XamlType GetKnownXamlType(String name)
System.Xaml (553)
System\Windows\Markup\PropertyDefinition.cs (1)
21public XamlType Type { get; set; }
System\Windows\Markup\XamlSetMarkupExtensionEventArgs.cs (2)
30internal XamlType CurrentType { get; set; } 37XamlType baseType = CurrentType.BaseType;
System\Windows\Markup\XamlSetTypeConverterEventArgs.cs (2)
36internal XamlType CurrentType { get; set; } 42XamlType baseType = CurrentType.BaseType;
System\Xaml\Context\NameFixupToken.cs (1)
57public XamlType InstanceType { get; set; }
System\Xaml\Context\ObjectWriterContext.cs (21)
165XamlType xamlType = ServiceProvider_ResolveXamlType(qName); 175internal XamlType ServiceProvider_ResolveXamlType(string qName) 180internal AmbientPropertyValue ServiceProvider_GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 186internal object ServiceProvider_GetFirstAmbientValue(XamlType[] types) 192internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 198internal IEnumerable<object> ServiceProvider_GetAllAmbientValues(XamlType[] types) 204internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, XamlMember[] properties) 286internal XamlType GetDestinationType() 309private List<AmbientPropertyValue> FindAmbientValues(IEnumerable<XamlType> ceilingTypesEnumerable, 311IEnumerable<XamlType> types, 323List<XamlType> ceilingTypes = ceilingTypesEnumerable != null ? new List<XamlType>(ceilingTypesEnumerable) : null; 342foreach (XamlType type in types) 430private List<object> FindAmbientValues(XamlType[] types, bool stopAfterFirst) 432foreach (XamlType xamlType in types) 447foreach (XamlType type in types) 519public XamlType CurrentType 525public XamlType ParentType 530public XamlType GrandParentType 903XamlType xamlType = rootFrame.XamlType;
System\Xaml\Context\ServiceProviderContext.cs (8)
132IEnumerable<XamlType> ceilingTypes, 149object IAmbientProvider.GetFirstAmbientValue(params XamlType[] types) 153foreach (var type in types) 166IEnumerable<XamlType> ceilingTypes, 183IEnumerable<object> IAmbientProvider.GetAllAmbientValues(params XamlType[] types) 187foreach (var type in types) 200IEnumerable<XamlType> ceilingTypes, 202IEnumerable<XamlType> types,
System\Xaml\Context\XamlCommonFrame.cs (1)
51public XamlType XamlType { get; set; }
System\Xaml\Context\XamlContext.cs (31)
46public XamlMember GetXamlProperty(XamlType xamlType, string propertyName, XamlType rootObjectType) 56public XamlMember GetXamlAttachableProperty(XamlType xamlType, string propertyName) 77public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlPropertyName propName, bool tagIsRoot) 84XamlType ownerType = null; 90XamlType rootTagType = tagIsRoot ? tagType : null; 128XamlType declaringType = ownerTypeMatchesGenericTagType ? tagType : ownerType; 160public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName propName, 170XamlType rootTagType = tagIsRoot ? tagType : null; 220private XamlType GetXamlTypeOrUnknown(XamlTypeName typeName) 225internal XamlType GetXamlType(XamlName typeName) 230internal XamlType GetXamlType(XamlName typeName, bool returnUnknownTypesOnFailure) 246internal XamlType GetXamlType(XamlTypeName typeName) 251internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure) 256internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure, 262XamlType xamlType = _schemaContext.GetXamlType(typeName); 270XamlType[] typeArgs = null; 274typeArgs = new XamlType[typeNames.Count]; 302internal XamlType ResolveXamlType(string qName, bool skipVisibilityCheck) 323internal virtual bool IsVisible(XamlMember member, XamlType rootObjectType) 328private XamlMember CreateUnknownMember(XamlType declaringType, string name) 333private XamlMember CreateUnknownAttachableMember(XamlType declaringType, string name) 338private bool PropertyTypeMatchesGenericTagType(XamlType tagType, string tagNs, string propNs, string propTypeName) 351XamlType propertyType = GetXamlType(propNs, propTypeName, tagType.TypeArguments); 355private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) 369private XamlType GetXamlType(string ns, string name, IList<XamlType> typeArguments) 371XamlType[] typeArgArray = new XamlType[typeArguments.Count]; 373XamlType xamlType = _schemaContext.GetXamlType(ns, name, typeArgArray);
System\Xaml\Context\XamlParserContext.cs (5)
112internal override bool IsVisible(XamlMember member, XamlType rootObjectType) 158internal void InitBracketCharacterCacheForType(XamlType extensionType) 167internal void InitLongestConstructor(XamlType xamlType) 191public XamlType CurrentType 286public XamlType CurrentPreviousChildType
System\Xaml\Context\XamlParserFrame.cs (1)
31public XamlType PreviousChildType { get; set; }
System\Xaml\IAmbientProvider.cs (6)
13AmbientPropertyValue GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, 15object GetFirstAmbientValue(params XamlType[] types); 17IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 20IEnumerable<object> GetAllAmbientValues(params XamlType[] types); 22IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 24IEnumerable<XamlType> types,
System\Xaml\InfosetObjects\DeferredWriter.cs (2)
69public override void WriteStartObject(XamlType xamlType) 74void WriteObject(XamlType xamlType, bool fromMember, string methodName)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
68Debug.Assert(data is XamlType, "XamlNode ctor, StartObject data is not a XamlType"); 173public XamlType XamlType 179return (XamlType)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (38)
274XamlType xamlType = (_context.CurrentType == null && _context.Depth > 1) 312public override void WriteStartObject(XamlType xamlType) 372XamlType rootType = GetXamlType(_rootObjectInstance.GetType()); 443XamlType xamlType = _context.CurrentType; 667XamlType propertyXamlType = property.Type; 766XamlType valueXamlType = GetXamlType(value.GetType()); 777XamlType valueXamlType = GetXamlType(value.GetType()); 857XamlType parentXamlType = parentProperty.Type; 1050private object GetKeyFromInstance(object instance, XamlType instanceType, IAddLineInfo lineInfo) 1061private XamlType GetXamlType(Type clrType) 1063XamlType result = SchemaContext.GetXamlType(clrType); 1096bool IsDirectiveAllowedOnNullInstance(XamlMember xamlMember, XamlType xamlType) 1116XamlType currentType = ctx.CurrentType; 1156XamlType ownerType; 1175XamlType instType = GetXamlType(inst.GetType()); 1208XamlType meType = ctx.CurrentType; 1216IList<XamlType> paramTypes = meType.GetPositionalParameters(rawArgs.Count); 1233XamlType pparamType = paramTypes[i]; 1246XamlType xamlType = ctx.ParentType; 1307XamlType propertyType = property.Type; 1328XamlType declaringType = null; 1340XamlType grandParentXamlType = ctx.GrandParentType; 1410XamlType dictionaryType = ctx.GrandParentType; 1437XamlType xamlType = ctx.CurrentType; 1458XamlType xamlType = ctx.CurrentType; 1494XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1593XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1665XamlType declaringType = null; 1749XamlType type = ctx.CurrentType; 1765XamlType collectionType = ctx.ParentType; 1766XamlType currentType = ctx.CurrentType; 1820XamlType itemType = ctx.ParentType.ItemType; 1963XamlType ppXamlType = parentProperty.Type; 2019XamlType parentType = ctx.ParentType; 2120object inst, XamlType xamlType, 2580private void ExecutePendingAdds(XamlType instanceType, object instance) 2587XamlType itemType = pendingAdd.ItemType ?? instanceType.ItemType; 2640public XamlType ItemType { get; set; } // Need this because Add() overload resolution
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
286public override XamlType Type
System\Xaml\Parser\MePullParser.cs (2)
98XamlType xamlType = _tokenizer.TokenType; 451private XamlNode Logic_StartElement(XamlType xamlType, string xamlNamespace)
System\Xaml\Parser\MeScanner.cs (5)
59XamlType _tokenXamlType; 106public XamlType TokenType 297XamlType xamlType = _context.GetXamlType(typeName, false); 321XamlType declaringType; 322XamlType tagType = _context.CurrentType;
System\Xaml\Parser\XamlAttribute.cs (3)
48public void Initialize(XamlParserContext context, XamlType tagType, string ownerNamespace, bool tagIsRoot) 145XamlType tagType, string tagNamespace, bool tagIsRoot) 156XamlType attachedOwnerType = new XamlType(string.Empty, propName.OwnerName, null, context.SchemaContext);
System\Xaml\Parser\XamlPullParser.cs (18)
270XamlType currentType = _context.CurrentType; 427XamlType currentType = _context.CurrentType; 776private XamlNode Logic_StartObject(XamlType xamlType, string xamlNamespace) 788XamlType xamlType = _context.CurrentType; 839XamlType memberXamlType = member.Type; 866private XamlNode Logic_StartInitProperty(XamlType ownerType) 894XamlType previousObject = _context.CurrentPreviousChildType; 904XamlType nextXamlType = _xamlScanner.PeekType; 914private XamlNode Logic_StartGetObjectFromMember(XamlType realType) 924private XamlNode Logic_StartItemsProperty(XamlType collectionType) 936private XamlType _arrayExtensionType; 937private XamlType ArrayExtensionType 978XamlType currentType = _context.CurrentType; 981XamlType propertyType = currentProperty.Type; 983XamlType valueElementType = (_xamlScanner.NodeType == ScannerNodeType.TEXT) 1089XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1171XamlType propertyType = property.Type; 1174foreach (XamlType allowedType in propertyType.AllowedContentTypes)
System\Xaml\Parser\XamlScanner.cs (5)
75public XamlType PeekType 89public XamlType Type 324XamlType errType = CreateErrorXamlType(name, string.Empty); 410private void ReadPropertyElement(XamlPropertyName name, XamlType tagType, string tagNamespace, bool isEmptyTag) 536private XamlType CreateErrorXamlType(XamlName name, string xmlns)
System\Xaml\Parser\XamlScannerNode.cs (1)
32public XamlType Type { get; set; }
System\Xaml\Parser\XamlScannerStack.cs (4)
15public XamlType XamlType { get; set; } 21public XamlScannerFrame(XamlType xamlType, string ns) 38public void Push(XamlType type, string ns) 56public XamlType CurrentType
System\Xaml\ReaderBaseDelegate.cs (1)
42public override XamlType Type
System\Xaml\Replacements\TypeTypeConverter.cs (1)
65XamlType xamlType = schemaContextProvider.SchemaContext.GetXamlType(type);
System\Xaml\Runtime\ClrObjectRuntime.cs (12)
45public override object CreateInstance(XamlType xamlType, object[] args) 69protected virtual object CreateInstanceWithCtor(XamlType xamlType, object[] args) 74public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 301public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 317public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 333public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 356public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 459public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 503public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 690private IEnumerator GetItems(object collection, XamlType collectionType)
System\Xaml\Runtime\DynamicMethodRuntime.cs (1)
190protected override object CreateInstanceWithCtor(XamlType xamlType, object[] args)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (11)
63public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 68public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 137public override object CreateInstance(XamlType xamlType, object[] args) 166public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 312public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 324public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 393public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 398public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 427private static bool HasDefaultInvoker(XamlType xamlType)
System\Xaml\Schema\MemberReflector.cs (4)
64internal MemberReflector(XamlType type, XamlValueConverter<TypeConverter> typeConverter) 96s_UnknownReflector.DependsOn = XamlType.EmptyList<XamlMember>.Value; 187internal XamlType Type { get; set; } 189internal XamlType TargetType { get; set; }
System\Xaml\Schema\TypeReflector.cs (15)
42private ThreadSafeDictionary<int, IList<XamlType>> _positionalParameterTypes; 69private NullableReference<XamlType> _baseType; 166internal IList<XamlType> AllowedContentTypes { get; set; } 181internal XamlType BaseType 208internal IList<XamlType> ContentWrappers { get; set; } 220internal XamlType KeyType { get; set; } 235internal XamlType ItemType { get; set; } 237internal XamlType MarkupExtensionReturnType { get; set; } 252internal Dictionary<int, IList<XamlType>> ReflectedPositionalParameters { get; set; } 288internal bool TryGetPositionalParameters(int paramCount, out IList<XamlType> result) 299new ThreadSafeDictionary<int, IList<XamlType>>(), null); 304internal IList<XamlType> TryAddPositionalParameters(int paramCount, IList<XamlType> paramList) 395internal static XamlMember LookupNameScopeProperty(XamlType xamlType) 412XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlDirective.cs (3)
35public XamlDirective(IEnumerable<string> xamlNamespaces, string name, XamlType xamlType, 174protected sealed override XamlType LookupTargetType() 185protected sealed override XamlType LookupType()
System\Xaml\Schema\XamlNamespace.cs (15)
21private ConcurrentDictionary<string, XamlType> _typeCache; 22private ICollection<XamlType> _allPublicTypes; 48_typeCache = XamlSchemaContext.CreateDictionary<string, XamlType>(); 53public ICollection<XamlType> GetAllXamlTypes() => _allPublicTypes ??= LookupAllTypes(); 55public XamlType GetXamlType(string typeName, params XamlType[] typeArgs) 71private XamlType TryGetXamlType(string typeName) 74XamlType xamlType; 97private XamlType TryGetXamlType(string typeName, Type[] typeArgs) 108XamlType openXamlType = TryGetXamlType(typeName); 154private Type[] ConvertArrayOfXamlTypesToTypes(XamlType[] typeArgs) 201private ICollection<XamlType> LookupAllTypes() 203List<XamlType> xamlTypeList = new List<XamlType>(); 223XamlType xamlType = SchemaContext.GetXamlType(t);
System\Xaml\Schema\XamlTypeInvoker.cs (10)
22private Dictionary<XamlType, MethodInfo> _addMethods; 24private XamlType _xamlType; 38public XamlTypeInvoker(XamlType type) 80XamlType itemType; 112XamlType itemType; 143public virtual MethodInfo GetAddMethod(XamlType contentType) 168Dictionary<XamlType, MethodInfo> addMethods = new Dictionary<XamlType, MethodInfo>(); 170foreach (XamlType type in _xamlType.AllowedContentTypes) 191foreach (KeyValuePair<XamlType, MethodInfo> pair in _addMethods)
System\Xaml\Schema\XamlTypeTypeConverter.cs (9)
25XamlType result = ConvertStringToXamlType(context, typeName); 42XamlType xamlType = value as XamlType; 56internal static string ConvertXamlTypeToString(ITypeDescriptorContext context, XamlType xamlType) 67private static XamlType ConvertStringToXamlType(ITypeDescriptorContext context, string typeName) 92private static XamlType GetXamlTypeOrUnknown(XamlSchemaContext schemaContext, XamlTypeName typeName) 94XamlType result = schemaContext.GetXamlType(typeName); 99XamlType[] typeArgs = null; 102typeArgs = new XamlType[typeName.TypeArguments.Count];
System\Xaml\Schema\XamlValueConverter.cs (3)
23public XamlType TargetType { get; } 25public XamlValueConverter(Type converterType, XamlType targetType) 30public XamlValueConverter(Type converterType, XamlType targetType, string name)
System\Xaml\WriterDelegate.cs (1)
34public override void WriteStartObject(XamlType xamlType)
System\Xaml\XamlBackgroundReader.cs (1)
281public override XamlType Type
System\Xaml\XamlException.cs (4)
145public XamlType ParentType { get; set; } 149public XamlDuplicateMemberException(XamlMember member, XamlType type) 167ParentType = (XamlType)info.GetValue("ParentType", typeof(XamlType));
System\Xaml\XamlLanguage.cs (92)
60private static Lazy<XamlType> s_array = 61new Lazy<XamlType>(() => GetXamlType(typeof(ArrayExtension))); 62private static Lazy<XamlType> s_null = 63new Lazy<XamlType>(() => GetXamlType(typeof(NullExtension))); 64private static Lazy<XamlType> s_reference = 65new Lazy<XamlType>(() => GetXamlType(typeof(Reference))); 66private static Lazy<XamlType> s_static = 67new Lazy<XamlType>(() => GetXamlType(typeof(StaticExtension))); 68private static Lazy<XamlType> s_type = 69new Lazy<XamlType>(() => GetXamlType(typeof(TypeExtension))); 70private static Lazy<XamlType> s_string = 71new Lazy<XamlType>(() => GetXamlType(typeof(string))); 72private static Lazy<XamlType> s_double = 73new Lazy<XamlType>(() => GetXamlType(typeof(double))); 74private static Lazy<XamlType> s_int32 = 75new Lazy<XamlType>(() => GetXamlType(typeof(int))); 76private static Lazy<XamlType> s_boolean = 77new Lazy<XamlType>(() => GetXamlType(typeof(bool))); 78private static Lazy<XamlType> s_member = 79new Lazy<XamlType>(() => GetXamlType(typeof(MemberDefinition))); 80private static Lazy<XamlType> s_property = 81new Lazy<XamlType>(() => GetXamlType(typeof(PropertyDefinition))); 82private static Lazy<XamlType> s_xDataHolder = 83new Lazy<XamlType>(() => GetXamlType(typeof(XData))); 85private static Lazy<XamlType> s_object = 86new Lazy<XamlType>(() => GetXamlType(typeof(object))); 87private static Lazy<XamlType> s_listOfObject = 88new Lazy<XamlType>(() => GetXamlType(typeof(List<object>))); 89private static Lazy<XamlType> s_listOfMembers = 90new Lazy<XamlType>(() => GetXamlType(typeof(List<MemberDefinition>))); 91private static Lazy<XamlType> s_listOfAttributes = 92new Lazy<XamlType>(() => GetXamlType(typeof(List<Attribute>))); 94private static Lazy<XamlType> s_markupExtension = 95new Lazy<XamlType>(() => GetXamlType(typeof(MarkupExtension))); 96private static Lazy<XamlType> s_iNameScope = 97new Lazy<XamlType>(() => GetXamlType(typeof(INameScope))); 98private static Lazy<XamlType> s_iXmlSerializable = 99new Lazy<XamlType>(() => GetXamlType(typeof(IXmlSerializable)), true); 101private static Lazy<XamlType> s_positionalParameterDescriptor = 102new Lazy<XamlType>(() => GetXamlType(typeof(PositionalParameterDescriptor)), true); 104private static Lazy<XamlType> s_char = 105new Lazy<XamlType>(() => GetXamlType(typeof(Char)), true); 106private static Lazy<XamlType> s_single = 107new Lazy<XamlType>(() => GetXamlType(typeof(Single)), true); 108private static Lazy<XamlType> s_byte = 109new Lazy<XamlType>(() => GetXamlType(typeof(Byte)), true); 110private static Lazy<XamlType> s_int16 = 111new Lazy<XamlType>(() => GetXamlType(typeof(Int16)), true); 112private static Lazy<XamlType> s_int64 = 113new Lazy<XamlType>(() => GetXamlType(typeof(Int64)), true); 114private static Lazy<XamlType> s_decimal = 115new Lazy<XamlType>(() => GetXamlType(typeof(Decimal)), true); 116private static Lazy<XamlType> s_uri = 117new Lazy<XamlType>(() => GetXamlType(typeof(Uri)), true); 118private static Lazy<XamlType> s_timespan = 119new Lazy<XamlType>(() => GetXamlType(typeof(TimeSpan)), true); 121private static Lazy<ReadOnlyCollection<XamlType>> s_allTypes = 122new Lazy<ReadOnlyCollection<XamlType>>(GetAllTypes); 190public static XamlType Array { get { return s_array.Value; } } 191public static XamlType Member { get { return s_member.Value; } } 192public static XamlType Null { get { return s_null.Value; } } 193public static XamlType Property { get { return s_property.Value; } } 194public static XamlType Reference { get { return s_reference.Value; } } 195public static XamlType Static { get { return s_static.Value; } } 196public static XamlType Type { get { return s_type.Value; } } 197public static XamlType String { get { return s_string.Value; } } 198public static XamlType Double { get { return s_double.Value; } } 199public static XamlType Int32 { get { return s_int32.Value; } } 200public static XamlType Boolean { get { return s_boolean.Value; } } 201public static XamlType XData { get { return s_xDataHolder.Value; } } 203public static XamlType Object { get { return s_object.Value; } } 204public static XamlType Char { get { return s_char.Value; } } 205public static XamlType Single { get { return s_single.Value; } } 206public static XamlType Byte { get { return s_byte.Value; } } 207public static XamlType Int16 { get { return s_int16.Value; } } 208public static XamlType Int64 { get { return s_int64.Value; } } 209public static XamlType Decimal { get { return s_decimal.Value; } } 210public static XamlType Uri { get { return s_uri.Value; } } 211public static XamlType TimeSpan { get { return s_timespan.Value; } } 213public static ReadOnlyCollection<XamlType> AllTypes { get { return s_allTypes.Value; } } 244internal static XamlType MarkupExtension { get { return s_markupExtension.Value; } } 245internal static XamlType INameScope { get { return s_iNameScope.Value; } } 246internal static XamlType PositionalParameterDescriptor { get { return s_positionalParameterDescriptor.Value; } } 248internal static XamlType IXmlSerializable { get { return s_iXmlSerializable.Value; } } 314internal static XamlType LookupXamlType(string typeNamespace, string typeName) 409private static ReadOnlyCollection<XamlType> GetAllTypes() 411XamlType[] result = new XamlType[] { Array, Member, Null, Property, Reference, Static, Type, String, Double, Int16, Int32, Int64, Boolean, XData, Object, Char, Single, Byte, Decimal, Uri, TimeSpan }; 412return new ReadOnlyCollection<XamlType>(result); 446private static XamlDirective GetXamlDirective(string name, XamlType xamlType, 459private static XamlType GetXamlType(Type type) 461XamlType result = s_schemaContext.Value.GetXamlType(type);
System\Xaml\XamlMarkupExtensionWriter.cs (7)
94string LookupPrefix(XamlType type) 144public override void WriteStartObject(XamlType type) 203public XamlType XamlType 215public virtual void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 307public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 501public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 571public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type)
System\Xaml\XamlMember.cs (9)
23private XamlType _declaringType; 37public XamlMember(string name, XamlType declaringType, bool isAttachable) 160public XamlType DeclaringType { get { return _declaringType; } } 221public XamlType TargetType 242public XamlType Type 352_reflector.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value; 567return XamlType.GetReadOnly(result); 646protected virtual XamlType LookupTargetType() 720protected virtual XamlType LookupType()
System\Xaml\XamlObjectReader.cs (40)
142public override XamlType Type 399object sourceOrValue, XamlMember property, XamlType propertyType, SerializerContext context) 416XamlType keyType = propertyType.KeyType; 444XamlType actualKeyType = null; 481XamlType typeOfValue = context.GetXamlType(entry.Value.GetType()); 645XamlType declaringType = xamlProperty.DeclaringType; 672var memberType = memberInfo.XamlNode.Member.Type; 707public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 759foreach (var contentWrapperType in xamlType.ContentWrappers) 809static bool ShouldUnwrapDueToWhitespace(string value, XamlType xamlType, bool isFirstElementOfCollection, bool isLastElementOfCollection) 1167var type = XamlNode.XamlType; 1181void FindNamespaceForTypeArguments(IList<XamlType> types, SerializerContext context) 1188foreach (var type in types) 1195void AddItemsProperty(object value, SerializerContext context, XamlType xamlType) 1326bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context) 1340XamlType paramXamlType = context.GetXamlType(cstrParams[i++].ParameterType); 1423bool TryGetDefaultConstructorInfo(XamlType type, out MemberInfo member, out ICollection arguments, out bool isComplete) 1434var valueXamlType = context.GetXamlType(valueType); 1467XamlType xamlType) 1514void AddRecordConstructionMembers(object value, XamlType valueXamlType, SerializerContext context, 1591bool IsPropertyContent(MemberMarkupInfo propertyInfo, XamlType containingType) 1607void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete) 1706var xamlType = objInfo.XamlNode.XamlType; 1767var xamlType = context.LocalAssemblyAwareGetXamlType(Object.GetType()); 1805var type = context.LocalAssemblyAwareGetXamlType(value.GetType()); 1807var elementType = type.ItemType; 1871XamlType owningType = context.GetXamlType(ap.Key.DeclaringType); 1931XamlType valueType = context.GetXamlType(value.GetType()); 2017XamlType xamlType = context.LocalAssemblyAwareGetXamlType(value.GetType()); 2059var xamlType = context.LocalAssemblyAwareGetXamlType(originalValue.GetType()); 2319static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2627public XamlType GetXamlType(Type clrType) 2629XamlType result = schemaContext.GetXamlType(clrType); 2638public XamlType LocalAssemblyAwareGetXamlType(Type clrType) 2640XamlType result = GetXamlType(clrType); 2691XamlType valueXamlType = context.GetXamlType(value.GetType()); 2723public string ConvertXamlTypeToString(XamlType type) 2733XamlType type = GetXamlType(objectToName.GetType()); 3230XamlType baseType = member.DeclaringType.BaseType; 3255private static XamlMember GetExcludedReadOnlyMember(XamlType type, string name)
System\Xaml\XamlReader.cs (1)
19public abstract XamlType Type { get; }
System\Xaml\XamlRuntime.cs (10)
26abstract public object CreateInstance(XamlType xamlType, object[] args); 28abstract public object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args); 61abstract public void SetUriBase(XamlType xamlType, object obj, Uri baseUri); 65abstract public void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType); 67abstract public void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key); 69abstract public IList<object> GetCollectionItems(object collection, XamlType collectionType); 71abstract public IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType); 79abstract public void InitializationGuard(XamlType xamlType, object obj, bool begin);
System\Xaml\XamlSchemaContext.cs (25)
99public virtual ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 266public XamlType GetXamlType(XamlTypeName xamlTypeName) 278XamlType[] typeArgs = null; 281typeArgs = new XamlType[xamlTypeName.TypeArguments.Count]; 298protected internal virtual XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 304foreach (XamlType typeArg in typeArguments) 317XamlType result = null; 469private ConcurrentDictionary<Type, XamlType> _masterTypeList; 470private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> _masterValueConverterList; 472private ConcurrentDictionary<XamlType, Dictionary<string,SpecialBracketCharacters> > _masterBracketCharacterCache; 481private ConcurrentDictionary<XamlType, Dictionary<string, SpecialBracketCharacters> > MasterBracketCharacterCache 486Interlocked.CompareExchange(ref _masterBracketCharacterCache, CreateDictionary<XamlType, Dictionary<string, SpecialBracketCharacters>>(), null); 492private ConcurrentDictionary<Type, XamlType> MasterTypeList 497Interlocked.CompareExchange(ref _masterTypeList, CreateDictionary<Type, XamlType>(ReferenceEqualityComparer.Instance), null); 503private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> MasterValueConverterList 508Interlocked.CompareExchange(ref _masterValueConverterList, CreateDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object>(), null); 524public virtual XamlType GetXamlType(Type type) 531internal XamlType GetXamlType(Type type, string alias) 534XamlType xamlType = null; 548internal Dictionary<string, SpecialBracketCharacters> InitBracketCharacterCacheForType(XamlType type) 569private Dictionary<string, SpecialBracketCharacters> BuildBracketCharacterCacheForType(XamlType type) 596Type converterType, XamlType targetType) 599var key = new ReferenceEqualityTuple<Type, XamlType, Type>(converterType, targetType, typeof(TConverterBase)); 892internal ReadOnlyCollection<string> GetXamlNamespaces(XamlType type)
System\Xaml\XamlSubreader.cs (1)
56public override XamlType Type
System\Xaml\XamlType.cs (68)
22public class XamlType : IEquatable<XamlType> 27readonly IList<XamlType> _typeArguments; 42protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 49public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 82public XamlType BaseType 144public IList<XamlType> TypeArguments 191public XamlType KeyType 208public XamlType ItemType 225public IList<XamlType> AllowedContentTypes 239EmptyList<XamlType>.Value; 245public IList<XamlType> ContentWrappers 257EmptyList<XamlType>.Value; 315public XamlType MarkupExtensionReturnType 411public virtual bool CanAssignTo(XamlType xamlType) 419XamlType curType = this; 426baseUnderlyingType.Assembly == typeof(XamlType).Assembly) 445public IList<XamlType> GetPositionalParameters(int parameterCount) 448IList<XamlType> result; 684protected virtual IList<XamlType> LookupAllowedContentTypes() 686IList<XamlType> contentWrappers = ContentWrappers ?? EmptyList<XamlType>.Value; 687List<XamlType> result = new List<XamlType>(contentWrappers.Count + 1); 690foreach (XamlType contentWrapper in contentWrappers) 695XamlType contentType = contentWrapper.ContentProperty.Type; 706protected virtual XamlType LookupBaseType() 770protected virtual IList<XamlType> LookupContentWrappers() 772List<XamlType> contentWrappers = null; 779contentWrappers = new List<XamlType>(wrapperTypes.Count); 789IList<XamlType> baseWrappers = BaseType.ContentWrappers; 915protected virtual XamlType LookupKeyType() 933protected virtual XamlType LookupItemType() 963protected virtual XamlType LookupMarkupExtensionReturnType() 971XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1086protected virtual IList<XamlType> LookupPositionalParameters(int parameterCount) 1102IList<XamlType> result; 1186XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1226XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1470private static ReadOnlyCollection<XamlType> GetTypeArguments(IList<XamlType> typeArguments) 1476foreach (XamlType typeArg in typeArguments) 1483return new List<XamlType>(typeArguments).AsReadOnly(); 1486private static ReadOnlyCollection<XamlType> GetTypeArguments(Type type, XamlSchemaContext schemaContext) 1498XamlType[] result = new XamlType[types.Length]; 1560Debug.Assert(GetType() != typeof(XamlType), "Default GetAllMembers logic should have already captured all writeable properties"); 1566private Dictionary<int, IList<XamlType>> LookupAllPositionalParameters() 1573Dictionary<int, IList<XamlType>> result = new Dictionary<int,IList<XamlType>>(); 1574XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1575XamlType[] typeVector = new XamlType[] { typeOfType }; 1580Dictionary<int, IList<XamlType>> ctorDict = new Dictionary<int, IList<XamlType>>(); 1584XamlType[] typeVector = new XamlType[parameterInfos.Length]; 1589XamlType xamlType = SchemaContext.GetXamlType(type); 1702XamlType baseType = BaseType; 1716XamlType objXamlType = obj as XamlType; 1731foreach (XamlType typeArgument in _typeArguments) 1749public bool Equals(XamlType other) 1756public static bool operator ==(XamlType xamlType1, XamlType xamlType2) 1797public static bool operator !=(XamlType xamlType1, XamlType xamlType2) 1802private static bool TypeArgumentsAreEqual(XamlType xamlType1, XamlType xamlType2)
System\Xaml\XamlTypeName.cs (2)
42public XamlTypeName(XamlType xamlType) 49foreach (XamlType argumentType in xamlType.TypeArguments)
System\Xaml\XamlWriter.cs (1)
12public abstract void WriteStartObject(XamlType type);
System\Xaml\XamlXmlWriter.cs (45)
150XamlType type = null; 161public override void WriteStartObject(XamlType type) 341static XamlType GetContainingXamlType(XamlXmlWriter writer) 345XamlType containingXamlType = null; 536void WriteTypeArguments(XamlType type) 548void WriteUndefinedNamespaces(XamlType type) 568foreach (XamlType arg in type.TypeArguments) 575bool TypeArgumentsContainNamespaceThatNeedsDefinition(XamlType type) 590foreach (XamlType arg in type.TypeArguments) 602string BuildTypeArgumentsString(IList<XamlType> typeArguments) 605foreach (XamlType type in typeArguments) 618string ConvertXamlTypeToString(XamlType typeArgument) 625void ConvertXamlTypeToStringHelper(XamlType type, StringBuilder builder) 640foreach (XamlType arg in type.TypeArguments) 659static internal string GetTypeName(XamlType type) 674public XamlType Type 771public virtual void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 808XamlType type = frame.Type; 813XamlType xamlType = property.IsAttachable ? property.DeclaringType : type; 826XamlType owningType = frame.Type; 859protected static void WriteStartElementForObject(XamlXmlWriter writer, XamlType type) 894XamlType type = null; 946public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1017XamlType parentType = writer.namespaceScopes.Peek().Type; 1024XamlType containingType = writer.namespaceScopes.Peek().Type; 1121XamlType parentType = writer.namespaceScopes.Peek().Type; 1158XamlType containingType = writer.namespaceScopes.Peek().Type; 1257XamlType containingXamlType = GetContainingXamlType(writer); 1351public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1378XamlType memberType = frame.Member.Type; 1430public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1473XamlType containingXamlType = GetContainingXamlType(writer); 1478public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1519public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1591public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1649public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1698public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1747public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1781public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1887XamlType objectXamlType = frame.Type; 1940ParameterInfo[] GetParametersInfo(XamlType objectXamlType, int numOfParameters) 1942IList<XamlType> paramXamlTypes = objectXamlType.GetPositionalParameters(numOfParameters); 1952foreach (var xamlType in paramXamlTypes) 1975List<XamlMember> GetAllPropertiesWithCAA(XamlType objectXamlType) 2023public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember)
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
15var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
17var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
15var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());