Skip to content

Commit 5b23afe

Browse files
bkoelmanmapfel
authored andcommitted
Added ordering for local functions (dennisdoomen#119)
1 parent 9d19a22 commit 5b23afe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Src/Guidelines/2400_LayoutGuidelines.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Maintaining a common order allows other team members to find their way in your c
7373
7. Public Properties
7474
8. Other methods and private properties in calling order
7575

76+
Declare local functions at the bottom of their containing method bodies (after all executable code).
77+
7678
### <a name="av2407"></a> Be reluctant with `#regions` (AV2407) ![](images/1.png)
7779
Regions can be helpful, but can also hide the main purpose of a class. Therefore, use `#regions` only for:
7880

0 commit comments

Comments
 (0)