|
|
|
|
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
|
|
|
|
// <file>
|
|
|
|
|
// <file>
|
|
|
|
|
// <copyright see="prj:///doc/copyright.txt"/>
|
|
|
|
|
// <license see="prj:///doc/license.txt"/>
|
|
|
|
|
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
|
|
|
|
// <owner name="David Srbeck<EFBFBD>" email="dsrbecky@gmail.com"/>
|
|
|
|
|
// <version>$Revision$</version>
|
|
|
|
|
// </file>
|
|
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ namespace Debugger.Tests {
@@ -29,7 +29,7 @@ namespace Debugger.Tests {
|
|
|
|
|
|
|
|
|
|
public partial class DebuggerTests |
|
|
|
|
{ |
|
|
|
|
[NUnit.Framework.Test, NUnit.Framework.Ignore] |
|
|
|
|
[NUnit.Framework.Test] |
|
|
|
|
public void GenericDictionary() |
|
|
|
|
{ |
|
|
|
|
StartTest("GenericDictionary.cs"); |
|
|
|
|
@ -44,4 +44,225 @@ namespace Debugger.Tests {
@@ -44,4 +44,225 @@ namespace Debugger.Tests {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if EXPECTED_OUTPUT
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<DebuggerTests> |
|
|
|
|
<Test |
|
|
|
|
name="GenericDictionary.cs"> |
|
|
|
|
<ProcessStarted /> |
|
|
|
|
<ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded> |
|
|
|
|
<ModuleLoaded>GenericDictionary.exe (Has symbols)</ModuleLoaded> |
|
|
|
|
<DebuggingPaused>Break GenericDictionary.cs:21,4-21,40</DebuggingPaused> |
|
|
|
|
<dict> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="{System.Collections.Generic.Dictionary<System.String,System.Int32>}" |
|
|
|
|
Expression="dict" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Collections.Generic.Dictionary<System.String,System.Int32>" /> |
|
|
|
|
</dict> |
|
|
|
|
<dict_members> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{3}" |
|
|
|
|
ArrayLength="3" |
|
|
|
|
ArrayRank="1" |
|
|
|
|
AsString="{System.Int32[]}" |
|
|
|
|
Expression="dict.buckets" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Int32[]" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{3}" |
|
|
|
|
ArrayLength="3" |
|
|
|
|
ArrayRank="1" |
|
|
|
|
AsString="{Entry<System.String,System.Int32>[]}" |
|
|
|
|
Expression="dict.entries" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="Entry<System.String,System.Int32>[]" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="3" |
|
|
|
|
Expression="dict.count" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="False" |
|
|
|
|
PrimitiveValue="3" |
|
|
|
|
Type="System.Int32" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="3" |
|
|
|
|
Expression="dict.version" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="False" |
|
|
|
|
PrimitiveValue="3" |
|
|
|
|
Type="System.Int32" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="-1" |
|
|
|
|
Expression="dict.freeList" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="False" |
|
|
|
|
PrimitiveValue="-1" |
|
|
|
|
Type="System.Int32" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="0" |
|
|
|
|
Expression="dict.freeCount" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="False" |
|
|
|
|
PrimitiveValue="0" |
|
|
|
|
Type="System.Int32" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="{System.Collections.Generic.GenericEqualityComparer<System.String>}" |
|
|
|
|
Expression="dict.comparer" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Collections.Generic.GenericEqualityComparer<System.String>" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is null}" |
|
|
|
|
ArrayLength="{Exception: Value is null}" |
|
|
|
|
ArrayRank="{Exception: Value is null}" |
|
|
|
|
AsString="null" |
|
|
|
|
Expression="dict.keys" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="True" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="KeyCollection<System.String,System.Int32>" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is null}" |
|
|
|
|
ArrayLength="{Exception: Value is null}" |
|
|
|
|
ArrayRank="{Exception: Value is null}" |
|
|
|
|
AsString="null" |
|
|
|
|
Expression="dict.values" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="True" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="ValueCollection<System.String,System.Int32>" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is null}" |
|
|
|
|
ArrayLength="{Exception: Value is null}" |
|
|
|
|
ArrayRank="{Exception: Value is null}" |
|
|
|
|
AsString="null" |
|
|
|
|
Expression="dict._syncRoot" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="True" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Object" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is null}" |
|
|
|
|
ArrayLength="{Exception: Value is null}" |
|
|
|
|
ArrayRank="{Exception: Value is null}" |
|
|
|
|
AsString="null" |
|
|
|
|
Expression="dict.m_siInfo" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="True" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Runtime.Serialization.SerializationInfo" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="{System.Collections.Generic.GenericEqualityComparer<System.String>}" |
|
|
|
|
Expression="dict.Comparer" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="System.Collections.Generic.GenericEqualityComparer<System.String>" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="3" |
|
|
|
|
Expression="dict.Count" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="False" |
|
|
|
|
PrimitiveValue="3" |
|
|
|
|
Type="System.Int32" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="{KeyCollection<System.String,System.Int32>}" |
|
|
|
|
Expression="dict.Keys" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="KeyCollection<System.String,System.Int32>" /> |
|
|
|
|
</Item> |
|
|
|
|
<Item> |
|
|
|
|
<Value |
|
|
|
|
ArrayDimensions="{Exception: Value is not an array}" |
|
|
|
|
ArrayLength="{Exception: Value is not an array}" |
|
|
|
|
ArrayRank="{Exception: Value is not an array}" |
|
|
|
|
AsString="{ValueCollection<System.String,System.Int32>}" |
|
|
|
|
Expression="dict.Values" |
|
|
|
|
IsInvalid="False" |
|
|
|
|
IsNull="False" |
|
|
|
|
IsReference="True" |
|
|
|
|
PrimitiveValue="{Exception: Value is not a primitive type}" |
|
|
|
|
Type="ValueCollection<System.String,System.Int32>" /> |
|
|
|
|
</Item> |
|
|
|
|
</dict_members> |
|
|
|
|
<ProcessExited /> |
|
|
|
|
</Test> |
|
|
|
|
</DebuggerTests> |
|
|
|
|
#endif // EXPECTED_OUTPUT
|