LookupInvokeMeth() 공개 메소드

public LookupInvokeMeth ( AggregateSymbol pAggDel ) : MethodSymbol
pAggDel AggregateSymbol
리턴 MethodSymbol
예제 #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);
 }
예제 #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));
        }
예제 #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);
 }
예제 #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);
 }