We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39dc63f commit b1dd853Copy full SHA for b1dd853
vsintegration/src/FSharp.Editor/Common/CommonHelpers.fs
@@ -506,7 +506,7 @@ module internal Extensions =
506
member this.IsPrivateToFile =
507
let isPrivate =
508
match this.Symbol with
509
- | :? FSharpMemberOrFunctionOrValue as m -> not m.IsModuleValueOrMember
+ | :? FSharpMemberOrFunctionOrValue as m -> not m.IsModuleValueOrMember || m.Accessibility.IsPrivate
510
| :? FSharpEntity as m -> m.Accessibility.IsPrivate
511
| :? FSharpGenericParameter -> true
512
| :? FSharpUnionCase as m -> m.Accessibility.IsPrivate
0 commit comments