Example #1
0
            public void Analyze(CallSignature /*!*/ node, Analyzer /*!*/ analyzer, RoutineSignature /*!*/ signature, ExInfoFromParent info, bool isBaseCtorCallConstrained)
            {
                // generic:

                foreach (var p in node.GenericParams)
                {
                    TypeRefHelper.Analyze(p, analyzer);
                }

                // regular:

                analyzer.EnterActualParams(signature, node.Parameters.Length);

                foreach (var p in node.Parameters)
                {
                    p.NodeCompiler <ActualParamCompiler>().Analyze(p, analyzer, isBaseCtorCallConstrained);
                }

                analyzer.LeaveActualParams();
            }
Example #2
0
        internal void Analyze(Analyzer /*!*/ analyzer, RoutineSignature /*!*/ signature, ExInfoFromParent info,
                              bool isBaseCtorCallConstrained)
        {
            // generic:

            for (int i = 0; i < genericParams.Count; i++)
            {
                genericParams[i].Analyze(analyzer);
            }

            // regular:

            analyzer.EnterActualParams(signature, parameters.Count);

            for (int i = 0; i < parameters.Count; i++)
            {
                parameters[i].Analyze(analyzer, isBaseCtorCallConstrained);
            }

            analyzer.LeaveActualParams();
        }
Example #3
0
 public static void Analyze(this CallSignature /*!*/ node, Analyzer /*!*/ analyzer, RoutineSignature /*!*/ signature, ExInfoFromParent info, bool isBaseCtorCallConstrained)
 {
     node.NodeCompiler <ICallSignatureCompiler>().Analyze(node, analyzer, signature, info, isBaseCtorCallConstrained);
 }