Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol.isInvoke C# (CSharp) Méthode

isInvoke() public méthode

public isInvoke ( ) : bool
Résultat bool
        public bool isInvoke()            // Invoke method on a delegate - isn't user callable
        {
            return _methKind == MethodKindEnum.Invoke;
        }

Usage Example

Exemple #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);
 }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol::isInvoke