csharpier
csharpier copied to clipboard
Foreach formats weird
class ClassName
{
void MethodName()
{
foreach (
var file in new DirectoryInfo(
@"C:\Projects\csharpier-repos"
).GetFilesssssssssssssssssss()
) {
return;
}
}
}
// should be
class ClassName
{
void MethodName()
{
foreach (
var file in new DirectoryInfo(@"C:\Projects\csharpier-repos")
.GetFilesssssssssssssssssss()
) {
return;
}
}
}
I believe this is really a problem for #7
This is kind of an edge case of #451 Constructors aren't an InvocationExpression, but it can start a chain of them and we should break on the .GetFilessssssss first