csharp_space_between_parentheses
Space just inside parentheses for specific constructs.
| Value | Notes |
|---|---|
false |
|
control_flow_statements |
|
type_casts |
|
expressions |
Default: false
csharp_space_between_parentheses = false
namespace N;
public class Widget
{
public string Classify(int n)
{
if ( n > 0 )
return "positive";
else if ( n < 0 )
return "negative";
return "zero";
}
}
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}
csharp_space_between_parentheses = control_flow_statements
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}
namespace N;
public class Widget
{
public string Classify(int n)
{
if ( n > 0 )
return "positive";
else if ( n < 0 )
return "negative";
return "zero";
}
}
csharp_space_between_parentheses = type_casts
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}
csharp_space_between_parentheses = expressions
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}
namespace N;
public class Widget
{
public string Classify(int n)
{
if (n > 0)
return "positive";
else if (n < 0)
return "negative";
return "zero";
}
}