consulo-csharp
consulo-csharp copied to clipboard
No type error with inside condition expression
int intValue = 0;
MethodAttributes attributes = MethodAttributes.Static;
int value = someBoolExpression ? intValue : attributes; // no error at 'attributes'