I am debugging C# templates in Rider a lot and would like to know whether or not it is possible and if yes, then how to see what class is coming into template in Rider?
Example:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
public class Program
{
public static void Main(string[] args)
{
//Your code goes here
Console.WriteLine("Hello, world!");
}
public void DoSomething<T>() {
//What is a type of T?
}
}
}
With a fresh install and the default settings, you can see the variable type in the "Variables" window that you can see when you debug: