CustomAttributeFormatException: 未找到指定的“Inherited”属性。 StackTrace: 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) 在 System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit) 在 System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit) 在 System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](MemberInfo element, Boolean inherit) 在 Ninject.Infrastructure.Language.ExtensionsForMemberInfo.IsDefined(PropertyInfo element, Type attributeType, Boolean inherit) 在 Ninject.Selection.Heuristics.StandardInjectionHeuristic.ShouldInject(MemberInfo member) 在 System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) 在 System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 在 System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) 在 Ninject.Selection.Selector.SelectPropertiesForInjection(Type type) 在 Ninject.Planning.Strategies.PropertyReflectionStrategy.Execute(IPlan plan) 在 Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable`1 series, Action`1 action) 在 Ninject.Planning.Planner.CreateNewPlan(Type type) 在 Ninject.Planning.Planner.GetPlan(Type type) 在 Ninject.Activation.Providers.StandardProvider.Create(IContext context) 在 Ninject.Activation.Context.ResolveInternal(Object scope) 在 Ninject.Activation.Context.Resolve() 在 Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings) 在 Quicker.App.uh8iAmYgxM() 在 Quicker.App.<StartupApplicationAsync>d__17.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Quicker.App.<ApplicationStart>d__15.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) AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 StackTrace: 在 System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) 在 System.Reflection.RuntimePropertyInfo.get_Signature() 在 System.Reflection.RuntimePropertyInfo.get_PropertyType() 在 System.RuntimeType.GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) 在 System.Type.GetProperty(String name, Type returnType, Type[] types) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)