When I debug an ASP.NET application and run breaks at break point, I cannot read the type variable using Debug Watches. What for? I get an error
type The name 'type' does not exist in the current context
The code works fine, the problem is only in debugging, I can not read all the variables during debugging.
var converterSubClasses = new List<Type>(); GetClassHierarhy(ref converterSubClasses, converterClass); foreach (var type in converterSubClasses) { var classProperties = type.GetProperties(BindingFlags.Public | BindingFlags.Instance); }

Tomas source share