Can Resharper provide intellisense for dynamic objects?
I see that this works:
var x = new { Name = "Tim" };
x. <---- intellisense pops up telling me about the Name property
But this does not:
dynamic x = new { Name = "Tim" };
x. <--- intellisense does not know about the Name property.
I'd really like it if I could get Intellisense to work with a dynamic object. Is this possible? Is there any plugin or extension or something (either to R# or VS) that would make this possible?
Please sign in to leave a comment.
Hello Timothy!
Thank you for contacting us.
Proviiding IntelliSense for C# dynamic object is quite a tricky task and now it's not supported neither by ReSharper nor by VS.
You can follow corresponding discusion on Roslyn feature request - https://github.com/dotnet/roslyn/issues/15974.
Thank you.