Bug 44982

Summary: SourceFileFilter does not filter on specific file when static ctor exists
Product: [Mono] Runtime Reporter: Marek Safar <masafa>
Component: DebuggerAssignee: Zoltan Varga <vargaz>
Status: RESOLVED FIXED    
Severity: normal CC: david.karlas, mono-bugs+mono, mono-bugs+runtime
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:

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
https://github.com/mono/mono/pull/3696
Comment 2 Zoltan Varga 2016-10-04 03:13:18 UTC
Should be fixed by a6ea12ab4ca27409d7a8c4b3a69150e80fa8b5ae.