Reputation: 9835
How can I check if an ITypeSymbol
instance refers to a delegate type (like Action
or Func<T>
).
I think I can check if the base type is System.Delegate
. Is this the correct way to do so or is there a better solution?
Upvotes: 3
Views: 253