public MoqStubOptionWrongTypeException(ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Moq-stub options has wrong type. Expected conditional-and, equility, invocation, reference expressions. But was [{0}]", node.GetType()), eater, node)
 {
 }
 public EatingException(Exception exception, ICSharpNodeEater eater, ICSharpTreeNode node)
     : this(exception.Message, exception, eater, node)
 {
 }
 public MoqStubOptionTargetWrongTypeException(ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Moq-stub option target has wrong type. Expected invocation or reference expression. But was [{0}]", node.GetType()), eater, node)
 {
 }
 public EatingException(string message, ICSharpNodeEater eater, ICSharpTreeNode node)
 {
     Message = message;
     Eater = eater;
     Node = node;
 }
 public EatingException(string message, Exception exception, ICSharpNodeEater eater, ICSharpTreeNode node)
     : this(message, eater, node)
 {
     Exception = exception;
 }
Пример #6
0
 public MoqStubOptionWrongTypeException(ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Moq-stub options has wrong type. Expected conditional-and, equility, invocation, reference expressions. But was [{0}]", node.GetType()), eater, node)
 {
 }
 public UnexpectedTypeOfNodeToEatException(Type expectedType, ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Unexpected type of tree node no eat. Expected [{0}], but was [{1}]", expectedType, node.GetType()), eater, node)
 {
 }
 public MoqStubWrongSyntaxException(string message, ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(message, eater, node)
 {
 }
Пример #9
0
 public MoqStubOptionTargetWrongTypeException(ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Moq-stub option target has wrong type. Expected invocation or reference expression. But was [{0}]", node.GetType()), eater, node)
 {
 }
Пример #10
0
 public EatingException(Exception exception, ICSharpNodeEater eater, ICSharpTreeNode node)
     : this(exception.Message, exception, eater, node)
 {
 }
Пример #11
0
 public EatingException(string message, Exception exception, ICSharpNodeEater eater, ICSharpTreeNode node)
     : this(message, eater, node)
 {
     Exception = exception;
 }
Пример #12
0
 public EatingException(string message, ICSharpNodeEater eater, ICSharpTreeNode node)
 {
     Message = message;
     Eater   = eater;
     Node    = node;
 }
 public UnexpectedTypeOfNodeToEatException(Type expectedType, ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(string.Format("Unexpected type of tree node no eat. Expected [{0}], but was [{1}]", expectedType, node.GetType()), eater, node)
 {
 }
 public MoqStubWrongSyntaxException(string message, ICSharpNodeEater eater, ICSharpTreeNode node)
     : base(message, eater, node)
 {
 }