LookupInvokeMeth() public method

public LookupInvokeMeth ( AggregateSymbol pAggDel ) : MethodSymbol
pAggDel AggregateSymbol
return MethodSymbol
Exemplo n.º 1
0
 public CType GetDelegateReturnType(SymbolLoader pSymbolLoader)
 {
     Debug.Assert(isDelegateType());
     MethodSymbol invoke = pSymbolLoader.LookupInvokeMeth(this.getAggregate());
     if (invoke == null || !invoke.isInvoke())
     {
         // This can happen if the delegate is internal to another assembly. 
         return null;
     }
     return this.getAggregate().GetTypeManager().SubstType(invoke.RetType, this);
 }
Exemplo n.º 2
0
        public TypeArray GetDelegateParameters(SymbolLoader pSymbolLoader)
        {
            Debug.Assert(isDelegateType());
            MethodSymbol invoke = pSymbolLoader.LookupInvokeMeth(getAggregate());

            if (invoke == null || !invoke.isInvoke())
            {
                // This can happen if the delegate is internal to another assembly.
                return(null);
            }
            return(getAggregate().GetTypeManager().SubstTypeArray(invoke.Params, this));
        }
Exemplo n.º 3
0
 public CType GetDelegateReturnType(SymbolLoader pSymbolLoader)
 {
     Debug.Assert(isDelegateType());
     MethodSymbol invoke = pSymbolLoader.LookupInvokeMeth(this.getAggregate());
     if (invoke == null || !invoke.isInvoke())
     {
         // This can happen if the delegate is internal to another assembly. 
         return null;
     }
     return this.getAggregate().GetTypeManager().SubstType(invoke.RetType, this);
 }
Exemplo n.º 4
0
 public TypeArray GetDelegateParameters(SymbolLoader pSymbolLoader)
 {
     Debug.Assert(isDelegateType());
     MethodSymbol invoke = pSymbolLoader.LookupInvokeMeth(getAggregate());
     if (invoke == null || !invoke.isInvoke())
     {
         // This can happen if the delegate is internal to another assembly. 
         return null;
     }
     return getAggregate().GetTypeManager().SubstTypeArray(invoke.Params, this);
 }