Skip to content

Refactor static readonly field initializers for better readability#54

Merged
SergeiPavlov merged 5 commits intomaster-servicetitanfrom
static_readonly_inits
Nov 15, 2021
Merged

Refactor static readonly field initializers for better readability#54
SergeiPavlov merged 5 commits intomaster-servicetitanfrom
static_readonly_inits

Conversation

@SergeiPavlov
Copy link
Copy Markdown
Collaborator

@SergeiPavlov SergeiPavlov commented Nov 9, 2021

Move field initializers from static constructors to feild declaration place.

@SergeiPavlov SergeiPavlov self-assigned this Nov 9, 2021
@SergeiPavlov SergeiPavlov merged commit 3e0ab3b into master-servicetitan Nov 15, 2021
@SergeiPavlov SergeiPavlov deleted the static_readonly_inits branch November 15, 2021 23:27
SergeiPavlov added a commit that referenced this pull request Nov 24, 2021
* Refactor static readonly field initializers for better readability

* Fix case

* Fix PascalCase

* Use .ToArray() in static readonly fields for thread safety

Bugfix: reorder static fields in CompareProvider because of dependency
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.

2 participants