Exemplo n.º 1
0
Arquivo: Clr.cs Projeto: cm4ker/XamlIl
 public XamlIlMethodCallBaseNode(IXamlIlLineInfo lineInfo,
                                 IXamlIlWrappedMethod method, IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo)
 {
     Method    = method;
     Arguments = args?.ToList() ?? new List <IXamlIlAstValueNode>();
 }
Exemplo n.º 2
0
Arquivo: Clr.cs Projeto: cm4ker/XamlIl
 public XamlIlMarkupExtensionNode(IXamlIlLineInfo lineInfo, IXamlIlProperty property, IXamlIlMethod provideValue,
                                  IXamlIlAstValueNode value, IXamlIlWrappedMethod manipulation) : base(lineInfo)
 {
     Property     = property;
     ProvideValue = provideValue;
     Value        = value;
     Manipulation = manipulation;
 }
Exemplo n.º 3
0
Arquivo: Clr.cs Projeto: cm4ker/XamlIl
 public XamlIlWrappedMethodWithCasts(IXamlIlWrappedMethod method, IEnumerable <IXamlIlType> newArgumentTypes)
 {
     _method            = method;
     ParametersWithThis = newArgumentTypes.ToList();
     if (_method.ParametersWithThis.Count != ParametersWithThis.Count)
     {
         throw new ArgumentException("Method argument count mismatch");
     }
 }
Exemplo n.º 4
0
Arquivo: Clr.cs Projeto: cm4ker/XamlIl
 public XamlIlStaticOrTargetedReturnMethodCallNode(IXamlIlLineInfo lineInfo, IXamlIlWrappedMethod method,
                                                   IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo, method, args)
 {
     Type = new XamlIlAstClrTypeReference(lineInfo, method.ReturnType);
 }
Exemplo n.º 5
0
Arquivo: Clr.cs Projeto: cm4ker/XamlIl
 public XamlIlNoReturnMethodCallNode(IXamlIlLineInfo lineInfo, IXamlIlWrappedMethod method, IEnumerable <IXamlIlAstValueNode> args)
     : base(lineInfo, method, args)
 {
 }