public bool isInvoke() // Invoke method on a delegate - isn't user callable
{
return _methKind == MethodKindEnum.Invoke;
}
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); }