Widen scope on this code:
C#var type = typeof(object);
try
{
var @object = Activator.CreateInstance(type);
}
catch (Exception ex)
{
}
results in this code:
C#var type = typeof(object);
object object;
try
{
object = Activator.CreateInstance(type);
}
catch (Exception ex)
{
}
instead of this code:
C#var type = typeof(object);
object @object;
try
{
@object = Activator.CreateInstance(type);
}
catch (Exception ex)
{
}
Thank you for pointing out this issue to us, Paulo.
We will fix it soon. You will be automatically notified once we prepare a fix.