New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F#'s "Find references" wrongly returns "0 matches" too often #4482

knocte opened this Issue Apr 10, 2018 · 1 comment


None yet
4 participants

knocte commented Apr 10, 2018

Steps to reproduce:

  1. Clone
  2. Open it in VS4Mac (stable channel).
  3. Go to file ElectrumServer.fs.
  4. Right click defaultBtcList -> Find references.

Current results: 0 matches
Expected results: 1 or 2 matches.

Version info:

=== Visual Studio Community 2017 for Mac ===

Version 7.4.1 (build 48)
Installation UUID: fd06ff65-69de-47ae-8b99-ddf257032b7c
	Mono (2017-10/6bf3922f3fd) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 508010000

=== NuGet ===


=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks
SDK Versions:
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.1
Location: /Applications/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 9.2 (13772)
Build 9C40b

=== Xamarin.Mac ===

Version: (Visual Studio Community)

=== Xamarin.iOS ===

Version: (Visual Studio Community)
Hash: 3979d081
Branch: d15-6
Build date: 2018-03-09 16:22:34-0500

=== Xamarin.Android ===

Version: (Visual Studio Community)
Android SDK: /Users/andres/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.4 (API level 19)
		7.1 (API level 25)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 26.0.2
SDK Build Tools Version: 26.0.3

Java SDK: /usr
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Android Designer EPL code available here:

=== Xamarin Inspector ===

Version: 1.4.0
Hash: b3f92f9
Branch: master
Build date: Fri, 19 Jan 2018 22:00:34 GMT
Client compatibility: 1

=== Build Information ===

Release ID: 704010048
Git revision: 6a86203dd590c6cfdf814c8832d24d2ad1e2606f
Build date: 2018-03-20 11:16:55-04
Xamarin addins: 8d83cea9e4ae03cb0c14ba3fbaafdbb0cbd170e7
Build lane: monodevelop-lion-d15-6

=== Operating System ===

Mac OS X 10.13.1
Darwin 17.2.0 Darwin Kernel Version 17.2.0
    Fri Sep 29 18:27:05 PDT 2017
    root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Internet of Things (IoT) development (Preview) 7.1

VS bug #597602

@knocte knocte changed the title from F# to F#'s "Find references" wrongly returns "0 matches" too often Apr 10, 2018

nosami added a commit that referenced this issue May 23, 2018

[F#] Find references should not check dependent projects
... when looking for local val bindings

Fixes VSTS #597602 (#4482)

This comment has been minimized.


nosami commented May 23, 2018


This fix seems to be working pretty well. Previously it was checking all dependent projects when there was no need for a local symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment