We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The formatter doesn't produce readable code from the following expression:
roslyn/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol_ImplementationChecks.cs
Lines 1040 to 1054 in b4c9469
However, it's not clear how this code should be formatted such that the result is readable.
The text was updated successfully, but these errors were encountered:
If we could convince the world to insert newlines before the ternary operator...
CheckValidNullableMethodOverride(overridingMethod.DeclaringCompilation, overriddenMethod, overridingMethod, diagnostics, checkReturnType ? (diagnostics, overriddenMethod, overridingMethod, location) => diagnostics.Add(ErrorCode.WRN_NullabilityMismatchInReturnTypeOnOverride, location) : (Action<DiagnosticBag, MethodSymbol, MethodSymbol, Location>)null, checkParameters ? (diagnostics, overriddenMethod, overridingMethod, overridingParameter, location) => { diagnostics.Add( ErrorCode.WRN_NullabilityMismatchInParameterTypeOnOverride, location, new FormattedSymbol(overridingParameter, SymbolDisplayFormat.ShortFormat)); } : (Action<DiagnosticBag, MethodSymbol, MethodSymbol, ParameterSymbol, Location>)null, overridingMemberLocation);
or to extract locals when code get too complex (for some definition of complex).
📎 "Hi, it looks like you are trying to do too much. Would you like some help extracting locals?"
Sorry, something went wrong.
The current formatter implementation won't allow the : to be indented after the }. That seems like an oversight.
:
}
No branches or pull requests
The formatter doesn't produce readable code from the following expression:
roslyn/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol_ImplementationChecks.cs
Lines 1040 to 1054 in b4c9469
However, it's not clear how this code should be formatted such that the result is readable.
The text was updated successfully, but these errors were encountered: