XamlParseException: 对类型“Quicker.View.Controls.CodeEditor”的构造函数执行符合指定的绑定约束的调用时引发了异常。 --LineNumber: 0 --LinePosition: 0 --BaseUri: pack://application:,,,/Quicker;component/view/controls/textboxwithtoolscontrol.xaml StackTrace: 在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) 在 Quicker.View.Controls.RunProgramActionParamEditor.InitializeComponent() 在 Quicker.View.Controls.RunProgramActionParamEditor..ctor() 在 Quicker.Domain.Actions.ActionTypeManager.<>c.FyFfRxpPHrZ() 在 Quicker.View.ActionEditorWindow.RYFJu9lQnRa(Object , SelectionChangedEventArgs ) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection) 在 System.Windows.Controls.Primitives.Selector.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) 在 Quicker.View.ActionEditorWindow.sRKJuxsRIe3(Object , RoutedEventArgs ) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) 在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) 在 MS.Internal.LoadedOrUnloadedOperation.DoWork() 在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() 在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) 在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 在 System.Windows.Interop.HwndTarget.OnResize() 在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) 在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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) TypeInitializationException: “ICSharpCode.AvalonEdit.Editing.CaretNavigationCommandHandler”的类型初始值设定项引发异常。 --TypeName: ICSharpCode.AvalonEdit.Editing.CaretNavigationCommandHandler StackTrace: 在 ICSharpCode.AvalonEdit.Editing.CaretNavigationCommandHandler.Create(TextArea textArea) 在 ICSharpCode.AvalonEdit.Editing.TextAreaDefaultInputHandler..ctor(TextArea textArea) 在 ICSharpCode.AvalonEdit.Editing.TextArea..ctor(TextView textView) 在 ICSharpCode.AvalonEdit.Editing.TextArea..ctor() 在 ICSharpCode.AvalonEdit.TextEditor..ctor() 在 Quicker.View.Controls.CodeEditor..ctor() AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 StackTrace: 在 ICSharpCode.AvalonEdit.Editing.CaretNavigationCommandHandler..cctor()