Microsoft.CSharp.RuntimeBinder.SymbolTable.ProcessMethodTypeParameter C# (CSharp) Method

ProcessMethodTypeParameter() private method

private ProcessMethodTypeParameter ( MethodInfo methinfo, Type t, AggregateSymbol parent ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
methinfo System.Reflection.MethodInfo
t System.Type
parent Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol
return Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
        private TypeParameterType ProcessMethodTypeParameter(MethodInfo methinfo, Type t, AggregateSymbol parent)
        {
            MethodSymbol meth = FindMatchingMethod(methinfo, parent);
            if (meth == null)
            {
                meth = AddMethodToSymbolTable(methinfo, parent, MethodKindEnum.Actual);

                // Because we return null from AddMethodToSymbolTable when we have a MethodKindEnum.Actual
                // and the method that we're trying to add is a special name, we need to assert that 
                // we indeed have added a method. This is because no special name should have a method
                // type parameter on it.
                Debug.Assert(meth != null);
            }
            return LoadMethodTypeParameter(meth, t);
        }