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);
}