IndexOutOfRangeException: 索引超出了数组界限。 StackTrace: 在 System.Windows.DependencyObject.LookupEntry(Int32 targetIndex) 在 System.Windows.UncommonField`1.GetValue(DependencyObject instance) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.CompositionTarget.SetRootVisual(Visual visual) 在 System.Windows.Media.CompositionTarget.set_RootVisual(Visual value) 在 System.Windows.Interop.HwndTarget.set_RootVisual(Visual value) 在 System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) 在 System.Windows.Window.SourceWindowHelper.ClearRootVisual() 在 System.Windows.Window.CloseWindowFromWmClose() 在 System.Windows.Window.WmClose() 在 System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
IndexOutOfRangeException: 索引超出了数组界限。 StackTrace: 在 System.Collections.Generic.List`1.get_Item(Int32 index) 在 System.Windows.ResourceDictionary.GetBamlObjectFactory(Object key) 在 System.Windows.ResourceDictionary.FetchResource(Object resourceKey, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean canCacheAsThemeResource, Boolean& canCache) 在 System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source) 在 System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot) 在 System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot) 在 System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry) 在 System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp) 在 System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents) 在 System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle) 在 System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache) 在 System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement..ctor() 在 System.Windows.Controls.Control..ctor() 在 System.Windows.Window..ctor() 在 Quicker.View.UnhandledExceptionWindow..ctor(Exception ex, Boolean canIgnore) 在 Quicker.App.<>c__DisplayClass28_0.YGZ1ovG4ZIg() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
IndexOutOfRangeException: 索引超出了数组界限。 StackTrace: 在 DynamicClass.ApiTestWindow.<BtnGenerate_Click>d__4b.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)