Closed
Description
For code
module Module =
type System.String with
member __.ExtensionProperty = ()
open Module
let _ = "a long string".ExtensionProperty
CheckFileResults.GetAllUsesOfAllSymbolsInFile
returns the following FSharpSymbolUse
for ExtensionProperty
in the last line:
The wrong things are:
FullName
is "System.String.ExtensionProperty" (instead of "SourceCodeClassifierTests.Module.ExtensionProperty" as it is for line 4, when it's defined)RangeAlternate
covers the property itself and "a long string" value altogether (instead of6, 24; 6, 41
it's6, 8; 6, 41
).
All these blocks me to finish "Gray out unused open declaration" VFPT feature fsprojects-archive/zzarchive-VisualFSharpPowerTools#574 because I cannot determine that open Module
is actually used by line let _ = "a long string".ExtensionProperty
.