Skip to content

Comments

Fix RCS1077 formatting when converting Select().ToList() to ConvertAll()#1742

Open
MattFromRVA wants to merge 5 commits intodotnet:mainfrom
MattFromRVA:feature/RCS1077_Fix
Open

Fix RCS1077 formatting when converting Select().ToList() to ConvertAll()#1742
MattFromRVA wants to merge 5 commits intodotnet:mainfrom
MattFromRVA:feature/RCS1077_Fix

Conversation

@MattFromRVA
Copy link

Fixes #1728

@MattFromRVA MattFromRVA marked this pull request as ready for review February 4, 2026 16:34
Comment on lines +1564 to +1584
interface IEvent { }

class SpecialistBioUpdatedEvent : IEvent
{
public SpecialistBioUpdatedEvent(int profileId) { }
}

class SpecialistBio
{
public int ProfileId { get; }
}

class EventPublisher
{
public void EnqueueLowPriorityEvent(System.Func<object> action) { }
}

class BatchEvent
{
public BatchEvent(IReadOnlyList<IEvent> events) { }
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make test a little bit more concise. You don't need these classes for the test. Applies to other new tests as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RCS1077] Rule produces incorrect formatting when applying code fixes (; placed on wrong indentation level)

2 participants