I am trying to use the <see> tag in C#’s XML documentation. The problem is that I have two method overloads that use the dynamic keyword. So, I have something like the following:
DoSomething(Func{dynamic,dynamic},object[])
I keep getting a compiler warning that my cref attribute cannot be resolved. I’ve tried and failed to fix this. What should I do?
Try using
objectinstead – that’s the real compile-time type, at the IL level, so:Will give that a try to check it works myself…