17 instantiations of XmlType
Microsoft.Maui.Controls.Build.Tasks (7)
CompiledConverters\TypeTypeConverter.cs (2)
27 xmlType = new XmlType(node.NamespaceResolver.LookupNamespace(split[0]), split[1], null); 29 xmlType = new XmlType(node.NamespaceResolver.LookupNamespace(""), split[0], null);
ExpandMarkupsVisitor.cs (2)
192 XmlType type = new XmlType(namespaceuri, name + "Extension", typeArguments); 194 type = new XmlType(namespaceuri, name, typeArguments);
SetPropertiesVisitor.cs (1)
1742 elementType = new XmlType(namespaceURI, typename, null).GetTypeReference(context.Cache, context.Body.Method.Module, lineInfo);
XamlTask.cs (1)
58 var xmlType = new XmlType(reader.NamespaceURI, reader.Name, XamlParser.GetTypeArguments(reader));
XmlTypeExtensions.cs (1)
68 return new XmlType(namespaceURI, typename, null).GetTypeReference(cache, module, xmlInfo);
Microsoft.Maui.Controls.Xaml (10)
ApplyPropertiesVisitor.cs (1)
308 elementType = XamlParser.GetElementType(new XmlType(namespaceURI, typename, null), lineInfo,
ExpandMarkupsVisitor.cs (2)
186 var xmltype = new XmlType(namespaceuri, name + "Extension", typeArguments); 191 xmltype = new XmlType(namespaceuri, name, typeArguments);
TypeArgumentsParser.cs (1)
85 return new XmlType(namespaceuri, name, typeArguments);
XamlLoader.cs (5)
78 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), view, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 121 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, typeArguments), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 162 RootNode rootNode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 175 resources = new ElementNode(new XmlType(XamlParser.MauiUri, nameof(ResourceDictionary), null), XamlParser.MauiUri, rootNode.NamespaceResolver); 180 resources = new ElementNode(new XmlType(XamlParser.MauiUri, nameof(ResourceDictionary), null), XamlParser.MauiUri, rootNode.NamespaceResolver);
XamlParser.cs (1)
169 node = new ElementNode(new XmlType(elementNsUri, elementName, typeArguments), elementNsUri,
38 references to XmlType
Microsoft.Maui.Controls.Build.Tasks (9)
CompiledConverters\TypeTypeConverter.cs (1)
25 XmlType xmlType;
ExpandMarkupsVisitor.cs (2)
138 IList<XmlType> typeArguments = null; 192 XmlType type = new XmlType(namespaceuri, name + "Extension", typeArguments);
ILRootNode.cs (1)
9 public ILRootNode(XmlType xmlType, TypeReference typeReference, IXmlNamespaceResolver nsResolver, int linenumber = -1, int lineposition = -1) : base(xmlType, nsResolver, linenumber: linenumber, lineposition: lineposition)
SetPropertiesVisitor.cs (1)
501 XmlType dtXType = null;
XamlTask.cs (1)
58 var xmlType = new XmlType(reader.NamespaceURI, reader.Name, XamlParser.GetTypeArguments(reader));
XmlTypeExtensions.cs (3)
57 XmlType xmlType = TypeArgumentsParser.ParseSingle(typeName, node.NamespaceResolver, (IXmlLineInfo)node); 71 public static bool TryGetTypeReference(this XmlType xmlType, XamlCache cache, ModuleDefinition module, IXmlLineInfo xmlInfo, out TypeReference typeReference) 92 public static TypeReference GetTypeReference(this XmlType xmlType, XamlCache cache, ModuleDefinition module, IXmlLineInfo xmlInfo)
Microsoft.Maui.Controls.Xaml (29)
ExpandMarkupsVisitor.cs (2)
136 IList<XmlType> typeArguments = null; 186 var xmltype = new XmlType(namespaceuri, name + "Extension", typeArguments);
SimplifyTypeExtensionVisitor.cs (4)
51 static bool IsStyle(XmlType type) => type.Name == nameof(Style) && type.NamespaceUri == XamlParser.MauiUri; 52 static bool IsTrigger(XmlType type) => type.Name == nameof(Trigger) && type.NamespaceUri == XamlParser.MauiUri; 53 static bool IsDataTrigger(XmlType type) => type.Name == nameof(DataTrigger) && type.NamespaceUri == XamlParser.MauiUri; 54 static bool IsMultiTrigger(XmlType type) => type.Name == nameof(MultiTrigger) && type.NamespaceUri == XamlParser.MauiUri;
TypeArgumentsParser.cs (6)
10 public static IList<XmlType> ParseExpression(string expression, IXmlNamespaceResolver resolver, IXmlLineInfo lineInfo) 12 var typeList = new List<XmlType>(); 21 public static XmlType ParseSingle(string expression, IXmlNamespaceResolver resolver, IXmlLineInfo lineInfo) 24 XmlType type = Parse(expression, ref remaining, resolver, lineInfo); 33 static XmlType Parse(string match, ref string remaining, IXmlNamespaceResolver resolver, IXmlLineInfo lineinfo) 57 IList<XmlType> typeArguments = null;
XamlLoader.Types.cs (1)
37 public RuntimeRootNode(XmlType xmlType, object root, IXmlNamespaceResolver resolver) : base(xmlType, resolver)
XamlNode.cs (7)
30 XmlType XmlType { get; } 47 public XmlType(string namespaceUri, string name, IList<XmlType> typeArguments) 56 public IList<XmlType> TypeArguments { get; } 60 if (obj is not XmlType other) 157 public ElementNode(XmlType type, string namespaceURI, IXmlNamespaceResolver namespaceResolver, int linenumber = -1, 171 public XmlType XmlType { get; } 228 protected RootNode(XmlType xmlType, IXmlNamespaceResolver nsResolver, int linenumber = -1, int lineposition = -1) : base(xmlType, xmlType.NamespaceUri, nsResolver, linenumber: linenumber, lineposition: lineposition)
XamlParser.cs (5)
195 internal static IList<XmlType> GetTypeArguments(XmlReader reader) => GetTypeArguments(ParseXamlAttributes(reader, out _)); 197 static IList<XmlType> GetTypeArguments(IList<KeyValuePair<XmlName, INode>> attributes) 200 ? ((ValueNode)attributes.First(kvp => kvp.Key == XmlName.xTypeArguments).Value).Value as IList<XmlType> 364 public static Type GetElementType(XmlType xmlType, IXmlLineInfo xmlInfo, Assembly currentAssembly, 404 var args = typeArguments.Select(delegate (XmlType xmltype)
XamlServiceProvider.cs (3)
224 internal bool TryResolve(XmlType xmlType, out Type type) 240 var xmlType = TypeArgumentsParser.ParseSingle(qualifiedTypeName, namespaceResolver, xmlLineInfo); 244 internal delegate Type GetTypeFromXmlName(XmlType xmlType, IXmlLineInfo xmlInfo, Assembly currentAssembly, out XamlParseException exception);
XmlTypeXamlExtensions.cs (1)
37 this XmlType xmlType,