Bad formatting of lambda with attribute
Open
- Dominant language
- No language data
- Stars
- 1.9k
- Forks
- 173
- Avg merge
- 10d 13h
- Merged PRs (30d)
- 1
Description
C# 10 allows lambda expressions to have attributes. dotnet-format seems to force the lambda to be unindented when putting a lambda attribute on a separate line:
Before:
```csharp
var l =
[MyAttr]
() => 0;
```
After running `dotnet-format`:
```csharp
var l =
[MyAttr]
() => 0;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.