Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol.IsDelegate C# (CSharp) 메소드

IsDelegate() 공개 메소드

public IsDelegate ( ) : bool
리턴 bool
        public bool IsDelegate()
        {
            return AggKind() == AggKindEnum.Delegate;
        }

Usage Example

예제 #1
0
        private MethodSymbol FindDelegateConstructor(AggregateSymbol delegateType)
        {
            Debug.Assert(delegateType != null && delegateType.IsDelegate());

            MethodSymbol ctor = FindDelegateConstructor(delegateType, s_DelegateCtorSignature1);
            if (ctor == null)
            {
                ctor = FindDelegateConstructor(delegateType, s_DelegateCtorSignature2);
            }

            return ctor;
        }
All Usage Examples Of Microsoft.CSharp.RuntimeBinder.Semantics.AggregateSymbol::IsDelegate