void DbgLanguageService_LanguageChanged(object sender, DbgLanguageChangedEventArgs e) { if (e.RuntimeKindGuid == PredefinedDbgRuntimeKindGuids.DotNet_Guid) { SetDecompiler(e.Language); } }
void DbgLanguageService_LanguageChanged(object sender, DbgLanguageChangedEventArgs e) { var thread = dbgManager.Value.CurrentThread.Current; if (thread == null || thread.Runtime.RuntimeKindGuid != e.RuntimeKindGuid) { return; } UI(() => RefreshNodes_UI()); }