zzarchive-VisualFSharpPowerTools
zzarchive-VisualFSharpPowerTools copied to clipboard
[Find all references] Does not find usages of events when started from definition
trafficstars
type T() =
let e = Event<_>()
member __.E = e.Publish
let t = T()
t.E.Add (fun _ -> ())
Execute Find all refs on E in member __.E = e.Publish line => only single ref is found (itself)
Execute it on E in t.E.Add (fun _ -> ()) => two refs (OK) are found.
Could you open an issue in FCS repo with more information? Handling event symbols has some inconsistencies from early days.
Reported upstream.