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 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 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)
 {
 }
Beispiel #4
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)
 {
 }
Beispiel #5
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)
 {
 }
 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)
 {
 }