Browse Source
Values do not sore names; the name is inferred from the expression. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2843 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
13 changed files with 102 additions and 43 deletions
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
|
||||
namespace Debugger.Expressions |
||||
{ |
||||
/// <summary>
|
||||
/// A placeholder expression which can not be evaluated.
|
||||
/// </summary>
|
||||
public class EmptyExpression: Expression |
||||
{ |
||||
public override string Code { |
||||
get { |
||||
return "?"; |
||||
} |
||||
} |
||||
|
||||
protected override Value EvaluateInternal(StackFrame context) |
||||
{ |
||||
throw new GetValueException("Empty expression"); |
||||
} |
||||
} |
||||
} |
||||
Loading…
Reference in new issue