Given this code:
C#public class C
{
public C(string s)
{
if (string.IsNullOrEmpty(s))
{
throw new ArgumentNullException(nameof(s));
}
}
}
Every time the access modifier change icon is used, another layer of curly braces is added:
C#public class C
{
internal C(string s)
{
if (string.IsNullOrEmpty(s))
{
{
throw new ArgumentNullException(nameof(s));
}
}
}
}
C#internal class C
{
internal C(string s)
{
if (string.IsNullOrEmpty(s))
{
{
{
throw new ArgumentNullException(nameof(s));
}
}
}
}
}
C#internal class C
{
public C(string s)
{
if (string.IsNullOrEmpty(s))
{
{
{
{
throw new ArgumentNullException(nameof(s));
}
}
}
}
}
}
C#public class C
{
public C(string s)
{
if (string.IsNullOrEmpty(s))
{
{
{
{
{
throw new ArgumentNullException(nameof(s));
}
}
}
}
}
}
}
Hi Paulo, thank you for the code snippets. I have reproduced the problem on my side.
We will do our best to fix it as soon as possible. Once we make any progress, we will let you know.