public XamlIlLoadMethodDelegateNode(IXamlIlLineInfo lineInfo, IXamlIlAstValueNode value, IXamlIlType delegateType, IXamlIlMethod method) : base(lineInfo, value) { DelegateType = delegateType; Method = method; Type = new XamlIlAstClrTypeReference(value, DelegateType); }
public XamlIlTypeExtensionNode(IXamlIlLineInfo lineInfo, IXamlIlAstTypeReference value, IXamlIlType systemType) : base(lineInfo) { _systemType = systemType; Type = new XamlIlAstClrTypeReference(this, systemType); Value = value; }
public XamlIlMarkupExtensionNode(IXamlIlLineInfo lineInfo, IXamlIlMethod provideValue, IXamlIlAstValueNode value) : base(lineInfo) { ProvideValue = provideValue; Value = value; Type = new XamlIlAstClrTypeReference(this, ProvideValue.ReturnType, false); }
public XamlIlAstNewClrObjectNode(IXamlIlLineInfo lineInfo, IXamlIlType type, IXamlIlConstructor ctor, List <IXamlIlAstValueNode> arguments) : base(lineInfo) { Type = new XamlIlAstClrTypeReference(lineInfo, type); Constructor = ctor; Arguments = arguments; }
public XamlIlConstantNode(IXamlIlLineInfo lineInfo, IXamlIlType type, object constant) : base(lineInfo) { if (!constant.GetType().IsPrimitive) { throw new ArgumentException($"Don't know how to emit {constant.GetType()} constant"); } Constant = constant; Type = new XamlIlAstClrTypeReference(lineInfo, type); }
public XamlIlAstTextNode(IXamlIlLineInfo lineInfo, string text, IXamlIlType type = null) : base(lineInfo) { Text = text; if (type != null) { Type = new XamlIlAstClrTypeReference(lineInfo, type); } else { Type = new XamlIlAstXmlTypeReference(lineInfo, XamlNamespaces.Xaml2006, "String"); } }
public XamlIlAstContextLocalNode(IXamlIlLineInfo lineInfo, IXamlIlType type) : base(lineInfo) { Type = new XamlIlAstClrTypeReference(this, type, false); }
public XamlIlAstCompilerLocalNode(IXamlIlLineInfo lineInfo, XamlIlAstClrTypeReference type) : base(lineInfo) { Type = type.Type; _typeReference = type; }
public XamlIlNullExtensionNode(IXamlIlLineInfo lineInfo) : base(lineInfo) { Type = new XamlIlAstClrTypeReference(lineInfo, XamlIlPseudoType.Null); }
public XamlIlStaticOrTargetedReturnMethodCallNode(IXamlIlLineInfo lineInfo, IXamlIlWrappedMethod method, IEnumerable <IXamlIlAstValueNode> args) : base(lineInfo, method, args) { Type = new XamlIlAstClrTypeReference(lineInfo, method.ReturnType); }
public XamlIlIntermediateRootObjectNode(IXamlIlLineInfo lineInfo, XamlIlTypeWellKnownTypes types) : base(lineInfo) { Type = new XamlIlAstClrTypeReference(lineInfo, types.Object, false); }