2 types derived from XamlType
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
15internal class WpfXamlType : XamlType
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
412private class VisibilityMaskingXamlType : XamlType
8 instantiations of XamlType
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (1)
277xamlType = 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)
535return 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)
533xamlType = new XamlType(alias, type, this, null, null);
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
16var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
696 references to XamlType
PresentationFramework (134)
MS\Internal\Helper.cs (1)
621System.Xaml.XamlType xt = sc.GetXamlType(targetType);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
115System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel));
System\Windows\Controls\ItemsPresenter.cs (1)
320System.Xaml.XamlType xType = (Template.Template as TemplateContent).RootType;
System\Windows\FrameworkTemplate.cs (3)
577internal static bool IsNameScope(XamlType type) 690public XamlType Type { get; set; } 1071internal static bool IsNameProperty(XamlMember member, XamlType owner)
System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (1)
98public StaticResource(XamlType type, XamlSchemaContext schemaContext)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (17)
189override public XamlType Type 812XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 878XamlType xamlType = BamlSchemaContext.GetXamlType(keyId); 1125XamlType type; 1306XamlType type = _context.SchemaContext.GetXamlType(typeId); 1474private XamlMember GetProperty(Int16 propertyId, XamlType parentType) 1635XamlType extensionType = BamlSchemaContext.GetXamlType((short)(-extensionTypeId)); 1849XamlType type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()); 1934XamlType xamlType = BamlSchemaContext.GetXamlType(optimizedResource.KeyId); 2024private string Logic_GetFullyQualifiedNameForType(XamlType type) 2344private void InjectPropertyAndFrameIfNeeded(XamlType elementType, SByte flags) 2353XamlType parentType = _context.CurrentFrame.XamlType; 2415XamlType parentPropertyType = parentProperty.Type; 2489private void EmitGoItemsPreamble(XamlType parentPropertyType) 2508XamlType type) 2600XamlType declaringType = BamlSchemaContext.GetXamlType(reader.ReadInt16()); 2647XamlType type = _context.SchemaContext.GetXamlType(System.Windows.Markup.SystemKeyConverter.GetSystemClassType(keyId));
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
34public XamlType XamlType { get; set; }
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (25)
42public override ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 52public override XamlType GetXamlType(Type type) 57protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 63foreach (XamlType typeArg in typeArguments) 81internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 83internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 91internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 146XamlType xamlType; 160internal XamlType GetXamlType(Int16 typeId) 163XamlType xamlType; 190internal XamlMember GetProperty(Int16 propertyId, XamlType parentType) 201XamlType declaringType = GetXamlType(bamlProperty.DeclaringTypeId); 236XamlType declaringType; 274internal XamlType GetPropertyDeclaringType(Int16 propertyId) 540private XamlType ResolveBamlType(BamlType bamlType, Int16 typeId) 546XamlType xType = _parentSchemaContext.GetXamlType(type); 582private bool TryGetBamlType(Int16 typeId, out BamlType bamlType, out XamlType xamlType) 592xamlType = type as XamlType; 668private static readonly Lazy<XamlType> _resourceDictionaryType 669= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 671private static readonly Lazy<XamlType> _eventSetterType 672= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 683private static readonly Lazy<XamlType> _staticResourceExtensionType 684= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\ThemeKnownTypeHelper.cs (1)
11public abstract XamlType GetKnownXamlType(string name);
System\Windows\Markup\Baml2006\WpfKnownMember.cs (3)
67XamlType declaringType, 79XamlType declaringType, 191protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfKnownType.cs (3)
328protected override IList<XamlType> LookupPositionalParameters(int paramCount) 332List<XamlType> xTypes = null; 336xTypes = new List<XamlType>();
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (22)
34private Dictionary<Type, XamlType> _masterTypeTable; 57_masterTypeTable = new Dictionary<Type, XamlType>(256); 176public override XamlType GetXamlType(Type type) 180XamlType xamlType = GetKnownXamlType(type); 189private XamlType GetUnknownXamlType(Type type) 191XamlType xamlType; 205internal XamlType GetKnownXamlType(Type type) 207XamlType xamlType; 264protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 269public XamlType GetXamlTypeExposed(string xamlNamespace, string name, params XamlType[] typeArguments) 309XamlType xamlType = GetXamlType(xamlTypeName); 324internal XamlType ResourceDictionaryType { get { return _resourceDictionaryType.Value; } } 326internal XamlType EventSetterType { get { return _eventSetterType.Value; } } 334internal XamlType StaticResourceExtensionType { get { return _staticResourceExtensionType.Value; } } 359private static readonly Lazy<XamlType> _resourceDictionaryType 360= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(ResourceDictionary))); 362private static readonly Lazy<XamlType> _eventSetterType 363= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(EventSetter))); 374private static readonly Lazy<XamlType> _staticResourceExtensionType 375= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (6)
19public override XamlType GetXamlType(Type type) 23XamlType xType; 55internal XamlType GetXamlTypeInternal(string xamlNamespace, string name, params XamlType[] typeArguments) 60private Dictionary<Type, XamlType> _masterTypeTable = new Dictionary<Type, XamlType>();
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
90protected WpfXamlMember(string name, XamlType declaringType, bool isAttachable) 149protected override XamlType LookupType()
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
203XamlType type = this;
System\Windows\Markup\DependencyPropertyConverter.cs (8)
184XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 185XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 186XamlType dataTemplateXType = schemaContext.GetXamlType(typeof(DataTemplate)); 187XamlType controlTemplateXType = schemaContext.GetXamlType(typeof(ControlTemplate)); 189List<XamlType> ceilingTypes = new List<XamlType>(); 245XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 249ambientProvider.GetFirstAmbientValue(new XamlType[] { frameworkTemplateXType }, templateProperty);
System\Windows\Markup\RoutedEventConverter.cs (3)
87XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 89List<XamlType> ceilingTypes = new List<XamlType>();
System\Windows\Markup\WpfXamlLoader.cs (3)
291XamlType xamlType = xamlReader.Type; 292XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 293XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System\Windows\Markup\XamlReader.cs (1)
1193public XamlType Type { get; set; }
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (11)
27Dictionary<Type, XamlType> _allowedInternalTypes; 93public override XamlType GetXamlType(Type type) 211protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 306private XamlType GetInternalType(Type type, XamlType sharedSchemaXamlType) 312_allowedInternalTypes = new Dictionary<Type, XamlType>(); 315XamlType result; 339private XamlType LookupXamlType(string xamlNamespace, string name, XamlType[] typeArguments) 342XamlType result;
System\Windows\ResourceDictionary.cs (1)
1161XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension));
System\Windows\StaticResourceExtension.cs (7)
213XamlType feXType = schemaContext.GetXamlType(typeof(FrameworkElement)); 214XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 215XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 216XamlType appXType = schemaContext.GetXamlType(typeof(Application)); 217XamlType fceXType = schemaContext.GetXamlType(typeof(FrameworkContentElement)); 226XamlType[] types = new XamlType[1] { schemaContext.GetXamlType(typeof(ResourceDictionary)) };
System\Windows\TemplateContent.cs (12)
30private System.Xaml.XamlType _xamlType; 34public XamlType Type 113public void Push(System.Xaml.XamlType xamlType, string name) 306private void UpdateSharedPropertyNames(string name, List<PropertyValue> sharedProperties, XamlType type) 472XamlType type = stack.CurrentFrame.Property.Type; 793XamlType parentType, 954XamlType type = frames.CurrentFrame.Property.Type; 1374internal XamlType RootType { get; private set; } 1376internal XamlType GetTypeForName(string name) 1532internal Dictionary<string, XamlType> _namedTypes; 1533internal Dictionary<string, XamlType> NamedTypes 1538_namedTypes = new Dictionary<string, XamlType>();
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
21public override XamlType GetKnownXamlType(String name)
System.Xaml (553)
System\Windows\Markup\PropertyDefinition.cs (1)
20public 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)
54public XamlType InstanceType { get; set; }
System\Xaml\Context\ObjectWriterContext.cs (21)
154XamlType xamlType = ServiceProvider_ResolveXamlType(qName); 164internal XamlType ServiceProvider_ResolveXamlType(string qName) 169internal AmbientPropertyValue ServiceProvider_GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 175internal object ServiceProvider_GetFirstAmbientValue(XamlType[] types) 181internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, XamlMember[] properties) 187internal IEnumerable<object> ServiceProvider_GetAllAmbientValues(XamlType[] types) 193internal IEnumerable<AmbientPropertyValue> ServiceProvider_GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, XamlMember[] properties) 275internal XamlType GetDestinationType() 298private List<AmbientPropertyValue> FindAmbientValues(IEnumerable<XamlType> ceilingTypesEnumerable, 300IEnumerable<XamlType> types, 312List<XamlType> ceilingTypes = ceilingTypesEnumerable is not null ? new List<XamlType>(ceilingTypesEnumerable) : null; 331foreach (XamlType type in types) 419private List<object> FindAmbientValues(XamlType[] types, bool stopAfterFirst) 421foreach (XamlType xamlType in types) 436foreach (XamlType type in types) 508public XamlType CurrentType 514public XamlType ParentType 519public XamlType GrandParentType 888XamlType xamlType = rootFrame.XamlType;
System\Xaml\Context\ServiceProviderContext.cs (8)
130IEnumerable<XamlType> ceilingTypes, 147object IAmbientProvider.GetFirstAmbientValue(params XamlType[] types) 151foreach (var type in types) 164IEnumerable<XamlType> ceilingTypes, 181IEnumerable<object> IAmbientProvider.GetAllAmbientValues(params XamlType[] types) 185foreach (var type in types) 198IEnumerable<XamlType> ceilingTypes, 200IEnumerable<XamlType> types,
System\Xaml\Context\XamlCommonFrame.cs (1)
50public XamlType XamlType { get; set; }
System\Xaml\Context\XamlContext.cs (31)
43public XamlMember GetXamlProperty(XamlType xamlType, string propertyName, XamlType rootObjectType) 53public XamlMember GetXamlAttachableProperty(XamlType xamlType, string propertyName) 74public XamlMember GetDottedProperty(XamlType tagType, string tagNamespace, XamlPropertyName propName, bool tagIsRoot) 81XamlType ownerType = null; 87XamlType rootTagType = tagIsRoot ? tagType : null; 125XamlType declaringType = ownerTypeMatchesGenericTagType ? tagType : ownerType; 157public XamlMember GetNoDotAttributeProperty(XamlType tagType, XamlPropertyName propName, 167XamlType rootTagType = tagIsRoot ? tagType : null; 217private XamlType GetXamlTypeOrUnknown(XamlTypeName typeName) 222internal XamlType GetXamlType(XamlName typeName) 227internal XamlType GetXamlType(XamlName typeName, bool returnUnknownTypesOnFailure) 243internal XamlType GetXamlType(XamlTypeName typeName) 248internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure) 253internal XamlType GetXamlType(XamlTypeName typeName, bool returnUnknownTypesOnFailure, 259XamlType xamlType = _schemaContext.GetXamlType(typeName); 267XamlType[] typeArgs = null; 271typeArgs = new XamlType[typeNames.Count]; 299internal XamlType ResolveXamlType(string qName, bool skipVisibilityCheck) 320internal virtual bool IsVisible(XamlMember member, XamlType rootObjectType) 325private XamlMember CreateUnknownMember(XamlType declaringType, string name) 330private XamlMember CreateUnknownAttachableMember(XamlType declaringType, string name) 335private bool PropertyTypeMatchesGenericTagType(XamlType tagType, string tagNs, string propNs, string propTypeName) 348XamlType propertyType = GetXamlType(propNs, propTypeName, tagType.TypeArguments); 352private XamlMember GetInstanceOrAttachableProperty(XamlType tagType, string propName, XamlType rootTagType) 366private XamlType GetXamlType(string ns, string name, IList<XamlType> typeArguments) 368XamlType[] typeArgArray = new XamlType[typeArguments.Count]; 370XamlType xamlType = _schemaContext.GetXamlType(ns, name, typeArgArray);
System\Xaml\Context\XamlParserContext.cs (5)
110internal override bool IsVisible(XamlMember member, XamlType rootObjectType) 156internal void InitBracketCharacterCacheForType(XamlType extensionType) 165internal void InitLongestConstructor(XamlType xamlType) 189public XamlType CurrentType 284public XamlType CurrentPreviousChildType
System\Xaml\Context\XamlParserFrame.cs (1)
30public XamlType PreviousChildType { get; set; }
System\Xaml\IAmbientProvider.cs (6)
11AmbientPropertyValue GetFirstAmbientValue(IEnumerable<XamlType> ceilingTypes, 13object GetFirstAmbientValue(params XamlType[] types); 15IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 18IEnumerable<object> GetAllAmbientValues(params XamlType[] types); 20IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, 22IEnumerable<XamlType> types,
System\Xaml\InfosetObjects\DeferredWriter.cs (2)
68public override void WriteStartObject(XamlType xamlType) 73void WriteObject(XamlType xamlType, bool fromMember, string methodName)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
66Debug.Assert(data is XamlType, "XamlNode ctor, StartObject data is not a XamlType"); 171public XamlType XamlType 177return (XamlType)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (38)
267XamlType xamlType = (_context.CurrentType is null && _context.Depth > 1) 305public override void WriteStartObject(XamlType xamlType) 365XamlType rootType = GetXamlType(_rootObjectInstance.GetType()); 436XamlType xamlType = _context.CurrentType; 660XamlType propertyXamlType = property.Type; 759XamlType valueXamlType = GetXamlType(value.GetType()); 770XamlType valueXamlType = GetXamlType(value.GetType()); 850XamlType parentXamlType = parentProperty.Type; 1043private object GetKeyFromInstance(object instance, XamlType instanceType, IAddLineInfo lineInfo) 1054private XamlType GetXamlType(Type clrType) 1056XamlType result = SchemaContext.GetXamlType(clrType); 1089bool IsDirectiveAllowedOnNullInstance(XamlMember xamlMember, XamlType xamlType) 1109XamlType currentType = ctx.CurrentType; 1149XamlType ownerType; 1168XamlType instType = GetXamlType(inst.GetType()); 1201XamlType meType = ctx.CurrentType; 1209IList<XamlType> paramTypes = meType.GetPositionalParameters(rawArgs.Count); 1226XamlType pparamType = paramTypes[i]; 1239XamlType xamlType = ctx.ParentType; 1300XamlType propertyType = property.Type; 1320XamlType declaringType = null; 1332XamlType grandParentXamlType = ctx.GrandParentType; 1401XamlType dictionaryType = ctx.GrandParentType; 1428XamlType xamlType = ctx.CurrentType; 1449XamlType xamlType = ctx.CurrentType; 1485XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1584XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1655XamlType declaringType = null; 1738XamlType type = ctx.CurrentType; 1754XamlType collectionType = ctx.ParentType; 1755XamlType currentType = ctx.CurrentType; 1809XamlType itemType = ctx.ParentType.ItemType; 1952XamlType ppXamlType = parentProperty.Type; 2008XamlType parentType = ctx.ParentType; 2109object inst, XamlType xamlType, 2567private void ExecutePendingAdds(XamlType instanceType, object instance) 2574XamlType itemType = pendingAdd.ItemType ?? instanceType.ItemType; 2627public XamlType ItemType { get; set; } // Need this because Add() overload resolution
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
284public override XamlType Type
System\Xaml\Parser\MePullParser.cs (2)
95XamlType xamlType = _tokenizer.TokenType; 448private XamlNode Logic_StartElement(XamlType xamlType, string xamlNamespace)
System\Xaml\Parser\MeScanner.cs (5)
56XamlType _tokenXamlType; 103public XamlType TokenType 294XamlType xamlType = _context.GetXamlType(typeName, false); 318XamlType declaringType; 319XamlType tagType = _context.CurrentType;
System\Xaml\Parser\XamlAttribute.cs (3)
46public 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)
268XamlType currentType = _context.CurrentType; 425XamlType currentType = _context.CurrentType; 774private XamlNode Logic_StartObject(XamlType xamlType, string xamlNamespace) 786XamlType xamlType = _context.CurrentType; 837XamlType memberXamlType = member.Type; 864private XamlNode Logic_StartInitProperty(XamlType ownerType) 892XamlType previousObject = _context.CurrentPreviousChildType; 902XamlType nextXamlType = _xamlScanner.PeekType; 912private XamlNode Logic_StartGetObjectFromMember(XamlType realType) 922private XamlNode Logic_StartItemsProperty(XamlType collectionType) 934private XamlType _arrayExtensionType; 935private XamlType ArrayExtensionType 976XamlType currentType = _context.CurrentType; 979XamlType propertyType = currentProperty.Type; 981XamlType valueElementType = (_xamlScanner.NodeType == ScannerNodeType.TEXT) 1087XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1169XamlType propertyType = property.Type; 1172foreach (XamlType allowedType in propertyType.AllowedContentTypes)
System\Xaml\Parser\XamlScanner.cs (5)
72public XamlType PeekType 86public XamlType Type 321XamlType errType = CreateErrorXamlType(name, string.Empty); 407private void ReadPropertyElement(XamlPropertyName name, XamlType tagType, string tagNamespace, bool isEmptyTag) 533private XamlType CreateErrorXamlType(XamlName name, string xmlns)
System\Xaml\Parser\XamlScannerNode.cs (1)
31public XamlType Type { get; set; }
System\Xaml\Parser\XamlScannerStack.cs (4)
13public XamlType XamlType { get; set; } 19public XamlScannerFrame(XamlType xamlType, string ns) 36public void Push(XamlType type, string ns) 54public 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)
43public override object CreateInstance(XamlType xamlType, object[] args) 67protected virtual object CreateInstanceWithCtor(XamlType xamlType, object[] args) 72public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 299public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 315public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 331public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 354public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 457public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 501public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 688private IEnumerator GetItems(object collection, XamlType collectionType)
System\Xaml\Runtime\DynamicMethodRuntime.cs (1)
186protected override object CreateInstanceWithCtor(XamlType xamlType, object[] args)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (11)
61public override void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType) 66public override void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key) 135public override object CreateInstance(XamlType xamlType, object[] args) 164public override object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args) 310public override void InitializationGuard(XamlType xamlType, object obj, bool begin) 322public override void SetUriBase(XamlType xamlType, object obj, Uri baseUri) 391public override IList<object> GetCollectionItems(object collection, XamlType collectionType) 396public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 425private static bool HasDefaultInvoker(XamlType xamlType)
System\Xaml\Schema\MemberReflector.cs (4)
62internal MemberReflector(XamlType type, XamlValueConverter<TypeConverter> typeConverter) 94s_UnknownReflector.DependsOn = XamlType.EmptyList<XamlMember>.Value; 185internal XamlType Type { get; set; } 187internal XamlType TargetType { get; set; }
System\Xaml\Schema\TypeReflector.cs (15)
40private ThreadSafeDictionary<int, IList<XamlType>> _positionalParameterTypes; 67private NullableReference<XamlType> _baseType; 164internal IList<XamlType> AllowedContentTypes { get; set; } 179internal XamlType BaseType 206internal IList<XamlType> ContentWrappers { get; set; } 218internal XamlType KeyType { get; set; } 233internal XamlType ItemType { get; set; } 235internal XamlType MarkupExtensionReturnType { get; set; } 250internal Dictionary<int, IList<XamlType>> ReflectedPositionalParameters { get; set; } 286internal bool TryGetPositionalParameters(int paramCount, out IList<XamlType> result) 297new ThreadSafeDictionary<int, IList<XamlType>>(), null); 302internal IList<XamlType> TryAddPositionalParameters(int paramCount, IList<XamlType> paramList) 393internal static XamlMember LookupNameScopeProperty(XamlType xamlType) 410XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlDirective.cs (3)
33public XamlDirective(IEnumerable<string> xamlNamespaces, string name, XamlType xamlType, 172protected sealed override XamlType LookupTargetType() 183protected sealed override XamlType LookupType()
System\Xaml\Schema\XamlNamespace.cs (15)
19private ConcurrentDictionary<string, XamlType> _typeCache; 20private ICollection<XamlType> _allPublicTypes; 46_typeCache = XamlSchemaContext.CreateDictionary<string, XamlType>(); 51public ICollection<XamlType> GetAllXamlTypes() => _allPublicTypes ??= LookupAllTypes(); 53public XamlType GetXamlType(string typeName, params XamlType[] typeArgs) 69private XamlType TryGetXamlType(string typeName) 72XamlType xamlType; 95private XamlType TryGetXamlType(string typeName, Type[] typeArgs) 106XamlType openXamlType = TryGetXamlType(typeName); 152private Type[] ConvertArrayOfXamlTypesToTypes(XamlType[] typeArgs) 199private ICollection<XamlType> LookupAllTypes() 201List<XamlType> xamlTypeList = new List<XamlType>(); 221XamlType xamlType = SchemaContext.GetXamlType(t);
System\Xaml\Schema\XamlTypeInvoker.cs (10)
18private Dictionary<XamlType, MethodInfo> _addMethods; 20private XamlType _xamlType; 30public XamlTypeInvoker(XamlType type) 72XamlType itemType; 104XamlType itemType; 135public virtual MethodInfo GetAddMethod(XamlType contentType) 160Dictionary<XamlType, MethodInfo> addMethods = new Dictionary<XamlType, MethodInfo>(); 162foreach (XamlType type in _xamlType.AllowedContentTypes) 183foreach (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)
280public 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)
59private static Lazy<XamlType> s_array = 60new Lazy<XamlType>(() => GetXamlType(typeof(ArrayExtension))); 61private static Lazy<XamlType> s_null = 62new Lazy<XamlType>(() => GetXamlType(typeof(NullExtension))); 63private static Lazy<XamlType> s_reference = 64new Lazy<XamlType>(() => GetXamlType(typeof(Reference))); 65private static Lazy<XamlType> s_static = 66new Lazy<XamlType>(() => GetXamlType(typeof(StaticExtension))); 67private static Lazy<XamlType> s_type = 68new Lazy<XamlType>(() => GetXamlType(typeof(TypeExtension))); 69private static Lazy<XamlType> s_string = 70new Lazy<XamlType>(() => GetXamlType(typeof(string))); 71private static Lazy<XamlType> s_double = 72new Lazy<XamlType>(() => GetXamlType(typeof(double))); 73private static Lazy<XamlType> s_int32 = 74new Lazy<XamlType>(() => GetXamlType(typeof(int))); 75private static Lazy<XamlType> s_boolean = 76new Lazy<XamlType>(() => GetXamlType(typeof(bool))); 77private static Lazy<XamlType> s_member = 78new Lazy<XamlType>(() => GetXamlType(typeof(MemberDefinition))); 79private static Lazy<XamlType> s_property = 80new Lazy<XamlType>(() => GetXamlType(typeof(PropertyDefinition))); 81private static Lazy<XamlType> s_xDataHolder = 82new Lazy<XamlType>(() => GetXamlType(typeof(XData))); 84private static Lazy<XamlType> s_object = 85new Lazy<XamlType>(() => GetXamlType(typeof(object))); 86private static Lazy<XamlType> s_listOfObject = 87new Lazy<XamlType>(() => GetXamlType(typeof(List<object>))); 88private static Lazy<XamlType> s_listOfMembers = 89new Lazy<XamlType>(() => GetXamlType(typeof(List<MemberDefinition>))); 90private static Lazy<XamlType> s_listOfAttributes = 91new Lazy<XamlType>(() => GetXamlType(typeof(List<Attribute>))); 93private static Lazy<XamlType> s_markupExtension = 94new Lazy<XamlType>(() => GetXamlType(typeof(MarkupExtension))); 95private static Lazy<XamlType> s_iNameScope = 96new Lazy<XamlType>(() => GetXamlType(typeof(INameScope))); 97private static Lazy<XamlType> s_iXmlSerializable = 98new Lazy<XamlType>(() => GetXamlType(typeof(IXmlSerializable)), true); 100private static Lazy<XamlType> s_positionalParameterDescriptor = 101new Lazy<XamlType>(() => GetXamlType(typeof(PositionalParameterDescriptor)), true); 103private static Lazy<XamlType> s_char = 104new Lazy<XamlType>(() => GetXamlType(typeof(Char)), true); 105private static Lazy<XamlType> s_single = 106new Lazy<XamlType>(() => GetXamlType(typeof(Single)), true); 107private static Lazy<XamlType> s_byte = 108new Lazy<XamlType>(() => GetXamlType(typeof(Byte)), true); 109private static Lazy<XamlType> s_int16 = 110new Lazy<XamlType>(() => GetXamlType(typeof(Int16)), true); 111private static Lazy<XamlType> s_int64 = 112new Lazy<XamlType>(() => GetXamlType(typeof(Int64)), true); 113private static Lazy<XamlType> s_decimal = 114new Lazy<XamlType>(() => GetXamlType(typeof(Decimal)), true); 115private static Lazy<XamlType> s_uri = 116new Lazy<XamlType>(() => GetXamlType(typeof(Uri)), true); 117private static Lazy<XamlType> s_timespan = 118new Lazy<XamlType>(() => GetXamlType(typeof(TimeSpan)), true); 120private static Lazy<ReadOnlyCollection<XamlType>> s_allTypes = 121new Lazy<ReadOnlyCollection<XamlType>>(GetAllTypes); 189public static XamlType Array { get { return s_array.Value; } } 190public static XamlType Member { get { return s_member.Value; } } 191public static XamlType Null { get { return s_null.Value; } } 192public static XamlType Property { get { return s_property.Value; } } 193public static XamlType Reference { get { return s_reference.Value; } } 194public static XamlType Static { get { return s_static.Value; } } 195public static XamlType Type { get { return s_type.Value; } } 196public static XamlType String { get { return s_string.Value; } } 197public static XamlType Double { get { return s_double.Value; } } 198public static XamlType Int32 { get { return s_int32.Value; } } 199public static XamlType Boolean { get { return s_boolean.Value; } } 200public static XamlType XData { get { return s_xDataHolder.Value; } } 202public static XamlType Object { get { return s_object.Value; } } 203public static XamlType Char { get { return s_char.Value; } } 204public static XamlType Single { get { return s_single.Value; } } 205public static XamlType Byte { get { return s_byte.Value; } } 206public static XamlType Int16 { get { return s_int16.Value; } } 207public static XamlType Int64 { get { return s_int64.Value; } } 208public static XamlType Decimal { get { return s_decimal.Value; } } 209public static XamlType Uri { get { return s_uri.Value; } } 210public static XamlType TimeSpan { get { return s_timespan.Value; } } 212public static ReadOnlyCollection<XamlType> AllTypes { get { return s_allTypes.Value; } } 243internal static XamlType MarkupExtension { get { return s_markupExtension.Value; } } 244internal static XamlType INameScope { get { return s_iNameScope.Value; } } 245internal static XamlType PositionalParameterDescriptor { get { return s_positionalParameterDescriptor.Value; } } 247internal static XamlType IXmlSerializable { get { return s_iXmlSerializable.Value; } } 313internal static XamlType LookupXamlType(string typeNamespace, string typeName) 408private static ReadOnlyCollection<XamlType> GetAllTypes() 410XamlType[] result = new XamlType[] { Array, Member, Null, Property, Reference, Static, Type, String, Double, Int16, Int32, Int64, Boolean, XData, Object, Char, Single, Byte, Decimal, Uri, TimeSpan }; 411return new ReadOnlyCollection<XamlType>(result); 445private static XamlDirective GetXamlDirective(string name, XamlType xamlType, 458private static XamlType GetXamlType(Type type) 460XamlType result = s_schemaContext.Value.GetXamlType(type);
System\Xaml\XamlMarkupExtensionWriter.cs (7)
93string LookupPrefix(XamlType type) 143public override void WriteStartObject(XamlType type) 202public XamlType XamlType 214public virtual void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 306public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 500public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type) 570public override void WriteStartObject(XamlMarkupExtensionWriter writer, XamlType type)
System\Xaml\XamlMember.cs (9)
20private XamlType _declaringType; 34public XamlMember(string name, XamlType declaringType, bool isAttachable) 157public XamlType DeclaringType { get { return _declaringType; } } 218public XamlType TargetType 239public XamlType Type 349_reflector.DependsOn = LookupDependsOn() ?? XamlType.EmptyList<XamlMember>.Value; 564return XamlType.GetReadOnly(result); 643protected virtual XamlType LookupTargetType() 717protected virtual XamlType LookupType()
System\Xaml\XamlObjectReader.cs (40)
137public 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()); 640XamlType declaringType = xamlProperty.DeclaringType; 667var memberType = memberInfo.XamlNode.Member.Type; 702public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 754foreach (var contentWrapperType in xamlType.ContentWrappers) 804static bool ShouldUnwrapDueToWhitespace(string value, XamlType xamlType, bool isFirstElementOfCollection, bool isLastElementOfCollection) 1162var type = XamlNode.XamlType; 1176void FindNamespaceForTypeArguments(IList<XamlType> types, SerializerContext context) 1183foreach (var type in types) 1190void AddItemsProperty(object value, SerializerContext context, XamlType xamlType) 1321bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context) 1335XamlType paramXamlType = context.GetXamlType(cstrParams[i++].ParameterType); 1418bool TryGetDefaultConstructorInfo(XamlType type, out MemberInfo member, out ICollection arguments, out bool isComplete) 1429var valueXamlType = context.GetXamlType(valueType); 1462XamlType xamlType) 1509void AddRecordConstructionMembers(object value, XamlType valueXamlType, SerializerContext context, 1586bool IsPropertyContent(MemberMarkupInfo propertyInfo, XamlType containingType) 1602void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete) 1701var xamlType = objInfo.XamlNode.XamlType; 1762var xamlType = context.LocalAssemblyAwareGetXamlType(Object.GetType()); 1800var type = context.LocalAssemblyAwareGetXamlType(value.GetType()); 1802var elementType = type.ItemType; 1866XamlType owningType = context.GetXamlType(ap.Key.DeclaringType); 1926XamlType valueType = context.GetXamlType(value.GetType()); 2012XamlType xamlType = context.LocalAssemblyAwareGetXamlType(value.GetType()); 2054var xamlType = context.LocalAssemblyAwareGetXamlType(originalValue.GetType()); 2314static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2622public XamlType GetXamlType(Type clrType) 2624XamlType result = schemaContext.GetXamlType(clrType); 2633public XamlType LocalAssemblyAwareGetXamlType(Type clrType) 2635XamlType result = GetXamlType(clrType); 2686XamlType valueXamlType = context.GetXamlType(value.GetType()); 2718public string ConvertXamlTypeToString(XamlType type) 2728XamlType type = GetXamlType(objectToName.GetType()); 3225XamlType baseType = member.DeclaringType.BaseType; 3250private static XamlMember GetExcludedReadOnlyMember(XamlType type, string name)
System\Xaml\XamlReader.cs (1)
19public abstract XamlType Type { get; }
System\Xaml\XamlRuntime.cs (10)
24abstract public object CreateInstance(XamlType xamlType, object[] args); 26abstract public object CreateWithFactoryMethod(XamlType xamlType, string methodName, object[] args); 59abstract public void SetUriBase(XamlType xamlType, object obj, Uri baseUri); 63abstract public void Add(object collection, XamlType collectionType, object value, XamlType valueXamlType); 65abstract public void AddToDictionary(object collection, XamlType dictionaryType, object value, XamlType valueXamlType, object key); 67abstract public IList<object> GetCollectionItems(object collection, XamlType collectionType); 69abstract public IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType); 77abstract public void InitializationGuard(XamlType xamlType, object obj, bool begin);
System\Xaml\XamlSchemaContext.cs (25)
95public virtual ICollection<XamlType> GetAllXamlTypes(string xamlNamespace) 262public XamlType GetXamlType(XamlTypeName xamlTypeName) 274XamlType[] typeArgs = null; 277typeArgs = new XamlType[xamlTypeName.TypeArguments.Count]; 294protected internal virtual XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments) 300foreach (XamlType typeArg in typeArguments) 313XamlType result = null; 465private ConcurrentDictionary<Type, XamlType> _masterTypeList; 466private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> _masterValueConverterList; 468private ConcurrentDictionary<XamlType, Dictionary<string,SpecialBracketCharacters> > _masterBracketCharacterCache; 477private ConcurrentDictionary<XamlType, Dictionary<string, SpecialBracketCharacters> > MasterBracketCharacterCache 482Interlocked.CompareExchange(ref _masterBracketCharacterCache, CreateDictionary<XamlType, Dictionary<string, SpecialBracketCharacters>>(), null); 488private ConcurrentDictionary<Type, XamlType> MasterTypeList 493Interlocked.CompareExchange(ref _masterTypeList, CreateDictionary<Type, XamlType>(ReferenceEqualityComparer.Instance), null); 499private ConcurrentDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object> MasterValueConverterList 504Interlocked.CompareExchange(ref _masterValueConverterList, CreateDictionary<ReferenceEqualityTuple<Type, XamlType, Type>, object>(), null); 520public virtual XamlType GetXamlType(Type type) 527internal XamlType GetXamlType(Type type, string alias) 530XamlType xamlType = null; 544internal Dictionary<string, SpecialBracketCharacters> InitBracketCharacterCacheForType(XamlType type) 565private Dictionary<string, SpecialBracketCharacters> BuildBracketCharacterCacheForType(XamlType type) 592Type converterType, XamlType targetType) 595var key = new ReferenceEqualityTuple<Type, XamlType, Type>(converterType, targetType, typeof(TConverterBase)); 888internal ReadOnlyCollection<string> GetXamlNamespaces(XamlType type)
System\Xaml\XamlSubreader.cs (1)
56public override XamlType Type
System\Xaml\XamlType.cs (68)
19public class XamlType : IEquatable<XamlType> 24readonly IList<XamlType> _typeArguments; 39protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 46public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 79public XamlType BaseType 141public IList<XamlType> TypeArguments 188public XamlType KeyType 205public XamlType ItemType 222public IList<XamlType> AllowedContentTypes 236EmptyList<XamlType>.Value; 242public IList<XamlType> ContentWrappers 254EmptyList<XamlType>.Value; 312public XamlType MarkupExtensionReturnType 408public virtual bool CanAssignTo(XamlType xamlType) 416XamlType curType = this; 423baseUnderlyingType.Assembly == typeof(XamlType).Assembly) 442public IList<XamlType> GetPositionalParameters(int parameterCount) 445IList<XamlType> result; 681protected virtual IList<XamlType> LookupAllowedContentTypes() 683IList<XamlType> contentWrappers = ContentWrappers ?? EmptyList<XamlType>.Value; 684List<XamlType> result = new List<XamlType>(contentWrappers.Count + 1); 687foreach (XamlType contentWrapper in contentWrappers) 692XamlType contentType = contentWrapper.ContentProperty.Type; 703protected virtual XamlType LookupBaseType() 767protected virtual IList<XamlType> LookupContentWrappers() 769List<XamlType> contentWrappers = null; 776contentWrappers = new List<XamlType>(wrapperTypes.Count); 786IList<XamlType> baseWrappers = BaseType.ContentWrappers; 912protected virtual XamlType LookupKeyType() 930protected virtual XamlType LookupItemType() 960protected virtual XamlType LookupMarkupExtensionReturnType() 968XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1083protected virtual IList<XamlType> LookupPositionalParameters(int parameterCount) 1099IList<XamlType> result; 1183XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1223XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1467private static ReadOnlyCollection<XamlType> GetTypeArguments(IList<XamlType> typeArguments) 1473foreach (XamlType typeArg in typeArguments) 1480return new List<XamlType>(typeArguments).AsReadOnly(); 1483private static ReadOnlyCollection<XamlType> GetTypeArguments(Type type, XamlSchemaContext schemaContext) 1495XamlType[] result = new XamlType[types.Length]; 1557Debug.Assert(GetType() != typeof(XamlType), "Default GetAllMembers logic should have already captured all writeable properties"); 1563private Dictionary<int, IList<XamlType>> LookupAllPositionalParameters() 1570Dictionary<int, IList<XamlType>> result = new Dictionary<int,IList<XamlType>>(); 1571XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1572XamlType[] typeVector = new XamlType[] { typeOfType }; 1577Dictionary<int, IList<XamlType>> ctorDict = new Dictionary<int, IList<XamlType>>(); 1581XamlType[] typeVector = new XamlType[parameterInfos.Length]; 1586XamlType xamlType = SchemaContext.GetXamlType(type); 1699XamlType baseType = BaseType; 1713XamlType objXamlType = obj as XamlType; 1728foreach (XamlType typeArgument in _typeArguments) 1746public bool Equals(XamlType other) 1753public static bool operator ==(XamlType xamlType1, XamlType xamlType2) 1794public static bool operator !=(XamlType xamlType1, XamlType xamlType2) 1799private static bool TypeArgumentsAreEqual(XamlType xamlType1, XamlType xamlType2)
System\Xaml\XamlTypeName.cs (2)
40public XamlTypeName(XamlType xamlType) 47foreach (XamlType argumentType in xamlType.TypeArguments)
System\Xaml\XamlWriter.cs (1)
12public abstract void WriteStartObject(XamlType type);
System\Xaml\XamlXmlWriter.cs (45)
148XamlType type = null; 159public override void WriteStartObject(XamlType type) 339static XamlType GetContainingXamlType(XamlXmlWriter writer) 343XamlType containingXamlType = null; 534void WriteTypeArguments(XamlType type) 546void WriteUndefinedNamespaces(XamlType type) 566foreach (XamlType arg in type.TypeArguments) 573bool TypeArgumentsContainNamespaceThatNeedsDefinition(XamlType type) 588foreach (XamlType arg in type.TypeArguments) 600string BuildTypeArgumentsString(IList<XamlType> typeArguments) 603foreach (XamlType type in typeArguments) 616string ConvertXamlTypeToString(XamlType typeArgument) 623void ConvertXamlTypeToStringHelper(XamlType type, StringBuilder builder) 638foreach (XamlType arg in type.TypeArguments) 657static internal string GetTypeName(XamlType type) 672public XamlType Type 769public virtual void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 806XamlType type = frame.Type; 811XamlType xamlType = property.IsAttachable ? property.DeclaringType : type; 824XamlType owningType = frame.Type; 857protected static void WriteStartElementForObject(XamlXmlWriter writer, XamlType type) 892XamlType type = null; 944public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1015XamlType parentType = writer.namespaceScopes.Peek().Type; 1022XamlType containingType = writer.namespaceScopes.Peek().Type; 1119XamlType parentType = writer.namespaceScopes.Peek().Type; 1156XamlType containingType = writer.namespaceScopes.Peek().Type; 1255XamlType containingXamlType = GetContainingXamlType(writer); 1349public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1376XamlType memberType = frame.Member.Type; 1428public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1471XamlType containingXamlType = GetContainingXamlType(writer); 1476public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1517public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1589public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1647public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1696public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1745public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1779public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember) 1885XamlType objectXamlType = frame.Type; 1938ParameterInfo[] GetParametersInfo(XamlType objectXamlType, int numOfParameters) 1940IList<XamlType> paramXamlTypes = objectXamlType.GetPositionalParameters(numOfParameters); 1950foreach (var xamlType in paramXamlTypes) 1973List<XamlMember> GetAllPropertiesWithCAA(XamlType objectXamlType) 2021public override void WriteObject(XamlXmlWriter writer, XamlType type, bool isObjectFromMember)
System.Xaml.Tests (3)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
16var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());