From f96b37170c3034aa932dcd33eb3a6fa40e783b95 Mon Sep 17 00:00:00 2001
From: Daniel Grunwald <daniel@danielgrunwald.de>
Date: Tue, 7 Dec 2010 16:24:17 +0100
Subject: [PATCH] Fix build.

---
 .../Debugger.Tests/Tests/AppDomain_Tests.cs   |  2 +-
 .../Tests/ExpressionEvaluator_Tests.cs        |  4 ++--
 .../Tests/StackFrame_VariablesLifetime.cs     | 20 -------------------
 .../Debugger.Tests/Tests/Value_Tests.cs       |  4 ----
 4 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/src/AddIns/Debugger/Debugger.Tests/Tests/AppDomain_Tests.cs b/src/AddIns/Debugger/Debugger.Tests/Tests/AppDomain_Tests.cs
index 22684b3201..99b3c792c1 100644
--- a/src/AddIns/Debugger/Debugger.Tests/Tests/AppDomain_Tests.cs
+++ b/src/AddIns/Debugger/Debugger.Tests/Tests/AppDomain_Tests.cs
@@ -43,7 +43,7 @@ namespace Debugger.Tests {
 			DebugType type1b = process.SelectedStackFrame.GetLocalVariableValue("one").Type;
 			ObjectDump("SameDomainEqual", type1 == type1b);
 			process.Continue();
-			ObjectDump("AppDomainName", process.SelectedStackFrame.GetLocalVariableValue("appDomainName").AsString);
+			ObjectDump("AppDomainName", process.SelectedStackFrame.GetLocalVariableValue("appDomainName").AsString());
 			DebugType type2 = process.SelectedStackFrame.GetLocalVariableValue("two").Type;
 			ObjectDump("OtherDomainEqual", type1 == type2);
 			ObjectDump("AppDomainsEqual", type1.AppDomain == type2.AppDomain);
diff --git a/src/AddIns/Debugger/Debugger.Tests/Tests/ExpressionEvaluator_Tests.cs b/src/AddIns/Debugger/Debugger.Tests/Tests/ExpressionEvaluator_Tests.cs
index a649e0cc1e..2aa62276b7 100644
--- a/src/AddIns/Debugger/Debugger.Tests/Tests/ExpressionEvaluator_Tests.cs
+++ b/src/AddIns/Debugger/Debugger.Tests/Tests/ExpressionEvaluator_Tests.cs
@@ -264,9 +264,9 @@ namespace Debugger.Tests {
 			ObjectDump("TypesIdentitcal", object.ReferenceEquals(locType, valType));
 			ObjectDump("TypesEqual", locType == valType);
 			
-			ObjectDump("WorkerThreadMoved", process.SelectedStackFrame.GetThisValue().GetMemberValue("WorkerThreadMoved").AsString);
+			ObjectDump("WorkerThreadMoved", process.SelectedStackFrame.GetThisValue().GetMemberValue("WorkerThreadMoved").AsString());
 			process.Continue();
-			ObjectDump("WorkerThreadMoved", process.SelectedStackFrame.GetThisValue().GetMemberValue("WorkerThreadMoved").AsString);
+			ObjectDump("WorkerThreadMoved", process.SelectedStackFrame.GetThisValue().GetMemberValue("WorkerThreadMoved").AsString());
 			
 			EndTest();
 		}
diff --git a/src/AddIns/Debugger/Debugger.Tests/Tests/StackFrame_VariablesLifetime.cs b/src/AddIns/Debugger/Debugger.Tests/Tests/StackFrame_VariablesLifetime.cs
index 3bb9833307..720052911f 100644
--- a/src/AddIns/Debugger/Debugger.Tests/Tests/StackFrame_VariablesLifetime.cs
+++ b/src/AddIns/Debugger/Debugger.Tests/Tests/StackFrame_VariablesLifetime.cs
@@ -97,26 +97,22 @@ namespace Debugger.Tests {
     <DebuggingPaused>Break StackFrame_VariablesLifetime.cs:21,4-21,40</DebuggingPaused>
     <argument>
       <Value
-        AsString="1"
         PrimitiveValue="1"
         Type="System.Int32" />
     </argument>
     <local>
       <Value
-        AsString="2"
         PrimitiveValue="2"
         Type="System.Int32" />
     </local>
     <_x0040_class>
       <Value
-        AsString="3"
         PrimitiveValue="3"
         Type="System.Int32" />
     </_x0040_class>
     <DebuggingPaused>Break StackFrame_VariablesLifetime.cs:30,4-30,40</DebuggingPaused>
     <argument>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -124,7 +120,6 @@ namespace Debugger.Tests {
     </argument>
     <local>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -132,7 +127,6 @@ namespace Debugger.Tests {
     </local>
     <_x0040_class>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -140,14 +134,12 @@ namespace Debugger.Tests {
     </_x0040_class>
     <localInSubFunction>
       <Value
-        AsString="4"
         PrimitiveValue="4"
         Type="System.Int32" />
     </localInSubFunction>
     <DebuggingPaused>Break StackFrame_VariablesLifetime.cs:23,4-23,40</DebuggingPaused>
     <argument>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -155,7 +147,6 @@ namespace Debugger.Tests {
     </argument>
     <local>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -163,7 +154,6 @@ namespace Debugger.Tests {
     </local>
     <_x0040_class>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -171,7 +161,6 @@ namespace Debugger.Tests {
     </_x0040_class>
     <localInSubFunction>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -180,7 +169,6 @@ namespace Debugger.Tests {
     <DebuggingPaused>Break StackFrame_VariablesLifetime.cs:30,4-30,40</DebuggingPaused>
     <argument>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -188,7 +176,6 @@ namespace Debugger.Tests {
     </argument>
     <local>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -196,7 +183,6 @@ namespace Debugger.Tests {
     </local>
     <_x0040_class>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -204,7 +190,6 @@ namespace Debugger.Tests {
     </_x0040_class>
     <localInSubFunction>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -212,14 +197,12 @@ namespace Debugger.Tests {
     </localInSubFunction>
     <localInSubFunction_x0028_new_x0029_>
       <Value
-        AsString="4"
         PrimitiveValue="4"
         Type="System.Int32" />
     </localInSubFunction_x0028_new_x0029_>
     <DebuggingPaused>Break StackFrame_VariablesLifetime.cs:15,4-15,40</DebuggingPaused>
     <argument>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -227,7 +210,6 @@ namespace Debugger.Tests {
     </argument>
     <local>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -235,7 +217,6 @@ namespace Debugger.Tests {
     </local>
     <_x0040_class>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
@@ -243,7 +224,6 @@ namespace Debugger.Tests {
     </_x0040_class>
     <localInSubFunction>
       <Value
-        AsString="{Exception: Value is no longer valid}"
         IsInvalid="True"
         IsReference="{Exception: Value is no longer valid}"
         PrimitiveValue="{Exception: Value is no longer valid}"
diff --git a/src/AddIns/Debugger/Debugger.Tests/Tests/Value_Tests.cs b/src/AddIns/Debugger/Debugger.Tests/Tests/Value_Tests.cs
index bbb5523d3b..6eebf3999c 100644
--- a/src/AddIns/Debugger/Debugger.Tests/Tests/Value_Tests.cs
+++ b/src/AddIns/Debugger/Debugger.Tests/Tests/Value_Tests.cs
@@ -103,7 +103,6 @@ namespace Debugger.Tests {
     </LocalVariables>
     <array.Length>
       <Value
-        AsString="4"
         PrimitiveValue="4"
         Type="System.Int32" />
     </array.Length>
@@ -112,7 +111,6 @@ namespace Debugger.Tests {
         ArrayDimensions="{2, 2}"
         ArrayLength="4"
         ArrayRank="2"
-        AsString="{System.Int32[,]}"
         GetArrayElements="{0, 1, 2, 3}"
         IsReference="True"
         PrimitiveValue="{Exception: Value is not a primitive type}"
@@ -123,7 +121,6 @@ namespace Debugger.Tests {
         ArrayDimensions="{10..11, 20..21}"
         ArrayLength="4"
         ArrayRank="2"
-        AsString="{System.Char[,]}"
         GetArrayElements="{a, b, c, d}"
         IsReference="True"
         PrimitiveValue="{Exception: Value is not a primitive type}"
@@ -131,7 +128,6 @@ namespace Debugger.Tests {
     </lbArray>
     <lbArray-10-20>
       <Value
-        AsString="a"
         PrimitiveValue="a"
         Type="System.Char" />
     </lbArray-10-20>