- VSCode Version: 1.37.1
- OS Version: Windows_NT x64 10.0.17763
Steps to Reproduce:
- Type the following into an empty python file.
# region A Region
class AClass:
pass
class AnotherClass:
pass
# endregion
class AnotherClassOutside:
pass
- Fold
AnotherClass.
I would expect the folding of AnotherClass to behave like the folding of AClass and AnotherClassOutside, i.e., to stop on the pass line after AnotherClass not continue up to #endregion.

Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
AnotherClass.I would expect the folding of
AnotherClassto behave like the folding ofAClassandAnotherClassOutside, i.e., to stop on thepassline afterAnotherClassnot continue up to#endregion.Does this issue occur when all extensions are disabled?: Yes