Bug 44982 - SourceFileFilter does not filter on specific file when static ctor exists
Summary: SourceFileFilter does not filter on specific file when static ctor exists
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
Depends on:
Reported: 2016-10-03 16:39 UTC by Marek Safar
Modified: 2016-10-04 03:13 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Marek Safar 2016-10-03 16:39:33 UTC
Remove 2 lines starting from https://github.com/mono/mono/blob/67a454ffab862b6dc05ad87c72d8e5dc18ab556f/mcs/class/Mono.Debugger.Soft/Test/dtest.cs#L3604

and the test should fail but it does not. It fails only if you also remove the static ctor from TypeLoadClass
Comment 1 Zoltan Varga 2016-10-03 18:25:30 UTC
Comment 2 Zoltan Varga 2016-10-04 03:13:18 UTC
Should be fixed by a6ea12ab4ca27409d7a8c4b3a69150e80fa8b5ae.