An exception is thrown if the input for a field, or the expected value of a method, is of a type that can't be parsed (as it's not defined).

Specify
CalculateFixtureUnderTest
calendaruse
24 Sept 2003
fitSharp.Machine.Exception.ParseException`1[fitSharp.Machine.Model.Cell]: Parse parameter 1 for 'useCalendar' type System.Globalization.Calendar failed. ---> System.InvalidOperationException: Can't parse System.Globalization.Calendar because it doesn't have a static Parse method at fitSharp.Machine.Engine.DefaultParse`2.Parse(Type type, TypedValue instance, Tree`1 parameters) at fitSharp.Machine.Engine.ProcessorBase`2.<>c__DisplayClasse.b__d(ParseOperator`1 o) at fitSharp.Machine.Engine.Operators`2.Do[O](CanDoOperation`1 canDoOperation, DoOperation`1 doOperation) at fitSharp.Machine.Engine.ProcessorBase`2.Parse(Type type, TypedValue instance, Tree`1 parameters) at fitSharp.Fit.Operators.ParseDefault.Parse(Type type, TypedValue instance, Tree`1 parameters) at fitSharp.Machine.Engine.ProcessorBase`2.<>c__DisplayClasse.b__d(ParseOperator`1 o) at fitSharp.Machine.Engine.Operators`2.Do[O](CanDoOperation`1 canDoOperation, DoOperation`1 doOperation) at fitSharp.Machine.Engine.ProcessorBase`2.Parse(Type type, TypedValue instance, Tree`1 parameters) at fitSharp.Machine.Engine.DefaultRuntime`2.<>c__DisplayClass1.b__0(List`1 parameterList, Tree`1 parameter) --- End of inner exception stack trace --- at fitSharp.Machine.Engine.DefaultRuntime`2.<>c__DisplayClass1.b__0(List`1 parameterList, Tree`1 parameter) at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func) at fitSharp.Machine.Engine.DefaultRuntime`2.GetParameterList(TypedValue instance, Tree`1 parameters, RuntimeMember member) at fitSharp.Machine.Engine.DefaultRuntime`2.Invoke(TypedValue instance, String memberName, Tree`1 parameters) at fitSharp.Machine.Engine.ProcessorBase`2.<>c__DisplayClass16.b__15(RuntimeOperator`1 o) at fitSharp.Machine.Engine.Operators`2.Do[O](CanDoOperation`1 canDoOperation, DoOperation`1 doOperation) at fitSharp.Machine.Engine.ProcessorBase`2.Invoke(TypedValue instance, String memberName, Tree`1 parameters) at fitSharp.Machine.Engine.ProcessorExtension.InvokeWithThrow[T](Processor`1 processor, TypedValue instance, String memberName, Tree`1 parameters) at fitSharp.Fit.Operators.CellOperator.GetTypedActual(ExecuteContext context, ExecuteParameters parameters)
24 Sept 2003
CalculateFixtureUnderTest
calendaruse
24 Sept 2003
Can't parse System.Globalization.Calendar because it doesn't have a static Parse method
24 Sept 2003

(.NET: changed exception text. Ignore expected value.)


[Front Page] [Recent Changes]