public EtwCollector(bool recordEventDetails) { _assemblyCallGraph = new AssemblyCallGraph(); _recordEventDetails = recordEventDetails; if (_recordEventDetails) { _assemblyCallGraph.EventDetails = new List <InliningEvent>(); } }
public static void Process(AssemblyCallGraph callGraph) { foreach (var type in callGraph.Types.Values) { foreach (var method in type.Methods.Values) { foreach (var overload in method.GetAllMethods()) { ProcessMethod(overload); } } } }