public PerformanceReporter(Ballz game) { StackFrame frame = new StackFrame(1); var method = frame.GetMethod(); var type = method.DeclaringType; Name = type.Name+"."+method.Name; Game=game; Sw = new Stopwatch(); Sw.Start(); }