Different test results by using of Performance Tools
I crated a very simple project (WinForms). The project has only one form and one button. When you press the button two simple functions are invoked: f1 and f2.
For example the tab functions show following list:
-WindowsApplication1.Form1..ctor()
-WindowsApplication1.Dispose (bool)
-WindowsApplication1.f1 ()
-WindowsApplication1.f2()
-WindowsApplication1.Form1.InitializeComponent()
-WindowsApplication1.Program.Main()
After this I created a new solution without of any project with a performance session which lunches the previously compiled executable directly (not through project in the same solution).
In this case the tab functions shows following list of functions:
-WindowsApplication1.Form1..ctor()
-WindowsApplication1.Dispose (bool)
-WindowsApplication1.Form1.InitializeComponent()
-WindowsApplication1.Program.Main()
This means that functions f1() and f2() have never been called.
Remarks: The same results are shown by using of instrumentation.
Question 1:Can anybody provide an explanation of this? Is this a bug or feature?

