Environment
- Visual Studio version: 2022 Enterprise
- CodeMaid version: 12.0
- Code language: C#
Description
I have an older codebase and there are a lot of get only properties that looks like this:
public Guid LanguageId { get { return Language.ValueOrDefault(x => x.Id); } }
When I choose to clean document with CodeMaid it is changed to
public Guid LanguageId
{ get { return Language.ValueOrDefault(x => x.Id); } }
If I just format the document using Visual Studios built in Format document this does not happen so it seems to be a CodeMaid thing. I have tried changing the different settings but can't find the one to change, is it possible to change this behavior?
It is the same if it has a set to.