Browse Source

Use richer set of icons in the local variables pad

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3179 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 18 years ago
parent
commit
dfa651c2a1
  1. 1
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Debugger.AddIn.csproj
  2. 83
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerIcons.cs
  3. 9
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ChildNodesOfObject.cs
  4. 62
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ValueNode.cs
  5. 24
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/FieldInfo.cs
  6. 10
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/MemberInfo.cs
  7. 24
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/MethodInfo.cs
  8. 24
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/PropertyInfo.cs
  9. 44
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Wrappers/MetaData/MetaDataImport.cs
  10. 1
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj
  11. 16
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs
  12. 370
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Metadata.cs

1
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Debugger.AddIn.csproj

@ -80,7 +80,6 @@ @@ -80,7 +80,6 @@
<DependentUpon>DebuggerEventForm.cs</DependentUpon>
</EmbeddedResource>
<Compile Include="Src\Service\SetCurrentStatementCommand.cs" />
<Compile Include="Src\Service\DebuggerIcons.cs" />
<Compile Include="..\..\..\..\..\Main\GlobalAssemblyInfo.cs">
<Link>Configuration\GlobalAssemblyInfo.cs</Link>
</Compile>

83
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DebuggerIcons.cs

@ -1,83 +0,0 @@ @@ -1,83 +0,0 @@
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
// <version>$Revision$</version>
// </file>
#region License
//
// Copyright (c) 2007, ic#code
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the ic#code nor the names of its contributors may be
// used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
#endregion
using System;
using System.Drawing;
using System.Windows.Forms;
using ICSharpCode.SharpDevelop;
namespace Debugger
{
/// <summary>
/// Description of DebuggerIcons.
/// </summary>
public static class DebuggerIcons
{
static ImageList imageList;
public static ImageList ImageList {
get {
return imageList;
}
}
static DebuggerIcons()
{
imageList = new ImageList();
imageList.Images.Add(IconService.GetBitmap("Icons.16x16.Class"));
imageList.Images.Add(IconService.GetBitmap("Icons.16x16.Field"));
imageList.Images.Add(IconService.GetBitmap("Icons.16x16.Property"));
}
public static Image GetImage(Value val)
{
return imageList.Images[GetImageListIndex(val)];
}
public static int GetImageListIndex(Value val)
{
if (val.IsObject) {
return 0; // Class
} else {
return 1; // Field
}
}
}
}

9
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ChildNodesOfObject.cs

@ -4,15 +4,14 @@ @@ -4,15 +4,14 @@
// <version>$Revision$</version>
// </file>
using ICSharpCode.SharpDevelop;
using System;
using System.Collections;
using System.Collections.Generic;
using ICSharpCode.Core;
using Debugger;
using Debugger.MetaData;
using Debugger.Expressions;
using Debugger.MetaData;
using ICSharpCode.Core;
namespace Debugger.AddIn.TreeModel
{
@ -52,7 +51,7 @@ namespace Debugger.AddIn.TreeModel @@ -52,7 +51,7 @@ namespace Debugger.AddIn.TreeModel
this.targetObject = targetObject;
this.shownType = shownType;
this.Image = DebuggerIcons.ImageList.Images[0]; // Class
this.Image = IconService.GetBitmap("Icons.16x16.Class");
this.Name = StringParser.Parse("${res:MainWindow.Windows.Debug.LocalVariables.BaseClass}");
this.Type = shownType.FullName;
if (shownType.FullName == "System.Object") {

62
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ValueNode.cs

@ -4,19 +4,18 @@ @@ -4,19 +4,18 @@
// <version>$Revision$</version>
// </file>
using ICSharpCode.SharpDevelop;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows.Forms;
using Debugger;
using Debugger.Expressions;
using Debugger.MetaData;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Debugging;
using ICSharpCode.SharpDevelop.Services;
using Debugger;
using Debugger.MetaData;
using Debugger.Expressions;
namespace Debugger.AddIn.TreeModel
{
/// <summary>
@ -70,11 +69,7 @@ namespace Debugger.AddIn.TreeModel @@ -70,11 +69,7 @@ namespace Debugger.AddIn.TreeModel
(val.Expression is MemberReferenceExpression && ((MemberReferenceExpression)val.Expression).MemberInfo is FieldInfo);
}
if (val.IsObject) {
this.Image = DebuggerIcons.ImageList.Images[0]; // Class
} else {
this.Image = DebuggerIcons.ImageList.Images[1]; // Field
}
this.Image = IconService.GetBitmap("Icons.16x16." + GetImageName(val));
this.Name = val.Expression.CodeTail;
@ -132,6 +127,53 @@ namespace Debugger.AddIn.TreeModel @@ -132,6 +127,53 @@ namespace Debugger.AddIn.TreeModel
return false;
}
string GetImageName(Value val)
{
Expression expr = val.Expression;
if (expr is ThisReferenceExpression) {
if (val.Type.IsClass) {
return "Class";
}
if (val.Type.IsValueType) {
return "Struct";
}
}
if (expr is ParameterIdentifierExpression) {
return "Parameter";
}
if (expr is MemberReferenceExpression) {
MemberInfo memberInfo = ((MemberReferenceExpression)expr).MemberInfo;
string prefix;
if (memberInfo.IsPublic) {
prefix = "";
} else if (memberInfo.IsInternal) {
prefix = "Internal";
} else if (memberInfo.IsProtected) {
prefix = "Protected";
} else if (memberInfo.IsPrivate) {
prefix = "Private";
} else {
prefix = "";
}
if (memberInfo is FieldInfo) {
return prefix + "Field";
}
if (memberInfo is PropertyInfo) {
return prefix + "Property";
}
if (memberInfo is MethodInfo) {
return prefix + "Method";
}
}
if (expr is LocalVariableIdentifierExpression) {
return "Local";
}
if (expr is ArrayIndexerExpression) {
return "Field";
}
return "Field";
}
public ContextMenuStrip GetContextMenu()
{
ContextMenuStrip menu = new ContextMenuStrip();

24
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/FieldInfo.cs

@ -26,18 +26,24 @@ namespace Debugger.MetaData @@ -26,18 +26,24 @@ namespace Debugger.MetaData
}
}
/// <summary> Gets a value indicating whether this field is private </summary>
public override bool IsPrivate {
get {
return !fieldProps.IsPublic;
}
/// <summary> Gets a value indicating whether this member has the private access modifier</summary>
public override bool IsPrivate {
get { return fieldProps.IsPrivate; }
}
/// <summary> Gets a value indicating whether this member has the internal access modifier</summary>
public override bool IsInternal {
get { return fieldProps.IsInternal; }
}
/// <summary> Gets a value indicating whether this field is public </summary>
/// <summary> Gets a value indicating whether this member has the protected access modifier</summary>
public override bool IsProtected {
get { return fieldProps.IsProtected; }
}
/// <summary> Gets a value indicating whether this member has the public access modifier</summary>
public override bool IsPublic {
get {
return fieldProps.IsPublic;
}
get { return fieldProps.IsPublic; }
}
/// <summary> Gets a value indicating whether this field is static </summary>

10
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/MemberInfo.cs

@ -52,10 +52,16 @@ namespace Debugger.MetaData @@ -52,10 +52,16 @@ namespace Debugger.MetaData
}
}
/// <summary> Gets a value indicating whether this member is private </summary>
/// <summary> Gets a value indicating whether this member has the private access modifier</summary>
public abstract bool IsPrivate { get; }
/// <summary> Gets a value indicating whether this member is public </summary>
/// <summary> Gets a value indicating whether this member has the internal access modifier</summary>
public abstract bool IsInternal { get; }
/// <summary> Gets a value indicating whether this member has the protected access modifier</summary>
public abstract bool IsProtected { get; }
/// <summary> Gets a value indicating whether this member has the public access modifier</summary>
public abstract bool IsPublic { get; }
/// <summary> Gets a value indicating whether this member is static </summary>

24
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/MethodInfo.cs

@ -33,18 +33,24 @@ namespace Debugger.MetaData @@ -33,18 +33,24 @@ namespace Debugger.MetaData
get { return backingField; }
}
/// <summary> Gets a value indicating whether this method is private </summary>
public override bool IsPrivate {
get {
return !methodProps.IsPublic;
}
/// <summary> Gets a value indicating whether this member has the private access modifier</summary>
public override bool IsPrivate {
get { return methodProps.IsPrivate; }
}
/// <summary> Gets a value indicating whether this member has the internal access modifier</summary>
public override bool IsInternal {
get { return methodProps.IsInternal; }
}
/// <summary> Gets a value indicating whether this method is public </summary>
/// <summary> Gets a value indicating whether this member has the protected access modifier</summary>
public override bool IsProtected {
get { return methodProps.IsProtected; }
}
/// <summary> Gets a value indicating whether this member has the public access modifier</summary>
public override bool IsPublic {
get {
return methodProps.IsPublic;
}
get { return methodProps.IsPublic; }
}
/// <summary> Gets a value indicating whether the name of this method

24
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/PropertyInfo.cs

@ -20,18 +20,24 @@ namespace Debugger.MetaData @@ -20,18 +20,24 @@ namespace Debugger.MetaData
MethodInfo getMethod;
MethodInfo setMethod;
/// <summary> Gets a value indicating whether this property is private </summary>
public override bool IsPrivate {
get {
return !(getMethod ?? setMethod).IsPublic;
}
/// <summary> Gets a value indicating whether this member has the private access modifier</summary>
public override bool IsPrivate {
get { return (getMethod ?? setMethod).IsPrivate; }
}
/// <summary> Gets a value indicating whether this member has the internal access modifier</summary>
public override bool IsInternal {
get { return (getMethod ?? setMethod).IsInternal; }
}
/// <summary> Gets a value indicating whether this property is public </summary>
/// <summary> Gets a value indicating whether this member has the protected access modifier</summary>
public override bool IsProtected {
get { return (getMethod ?? setMethod).IsProtected; }
}
/// <summary> Gets a value indicating whether this member has the public access modifier</summary>
public override bool IsPublic {
get {
return (getMethod ?? setMethod).IsPublic;
}
get { return (getMethod ?? setMethod).IsPublic; }
}
/// <summary> Gets a value indicating whether this property is static </summary>

44
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Wrappers/MetaData/MetaDataImport.cs

@ -976,12 +976,28 @@ namespace Debugger.Wrappers.MetaData @@ -976,12 +976,28 @@ namespace Debugger.Wrappers.MetaData
public uint CPlusTypeFlag;
public Blob ConstantValue;
public bool IsStatic {
get { return (Flags & (uint)ClassFieldAttribute.fdStatic) != 0; }
private ClassFieldAttribute access {
get { return (ClassFieldAttribute)(Flags & (uint)ClassFieldAttribute.fdFieldAccessMask); }
}
public bool IsPrivate {
get { return access == ClassFieldAttribute.fdPrivate; }
}
public bool IsInternal {
get { return access == ClassFieldAttribute.fdAssembly; }
}
public bool IsProtected {
get { return access == ClassFieldAttribute.fdFamily; }
}
public bool IsPublic {
get { return (Flags & (uint)ClassFieldAttribute.fdPublic) != 0; }
get { return access == ClassFieldAttribute.fdPublic; }
}
public bool IsStatic {
get { return (Flags & (uint)ClassFieldAttribute.fdStatic) != 0; }
}
public bool IsLiteral {
@ -1033,12 +1049,28 @@ namespace Debugger.Wrappers.MetaData @@ -1033,12 +1049,28 @@ namespace Debugger.Wrappers.MetaData
public uint CodeRVA;
public uint ImplFlags;
public bool IsStatic {
get { return (Flags & (uint)CorMethodAttr.mdStatic) != 0; }
private CorMethodAttr access {
get { return (CorMethodAttr)(Flags & (uint)CorMethodAttr.mdMemberAccessMask); }
}
public bool IsPrivate {
get { return access == CorMethodAttr.mdPrivate; }
}
public bool IsInternal {
get { return access == CorMethodAttr.mdAssem; }
}
public bool IsProtected {
get { return access == CorMethodAttr.mdFamily; }
}
public bool IsPublic {
get { return (Flags & (uint)CorMethodAttr.mdPublic) != 0; }
get { return access == CorMethodAttr.mdPublic; }
}
public bool IsStatic {
get { return (Flags & (uint)CorMethodAttr.mdStatic) != 0; }
}
public bool HasSpecialName {

1
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj

@ -60,6 +60,7 @@ @@ -60,6 +60,7 @@
<Compile Include="Src\TestPrograms\Generics.cs" />
<Compile Include="Src\TestPrograms\HelloWorld.cs" />
<Compile Include="Src\TestPrograms\MainThreadExit.cs" />
<Compile Include="Src\TestPrograms\Metadata.cs" />
<Compile Include="Src\TestPrograms\MetadataIdentity.cs" />
<Compile Include="Src\TestPrograms\ObjectValue.cs" />
<Compile Include="Src\TestPrograms\PrimitiveValue.cs" />

16
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs

@ -144,7 +144,9 @@ namespace Debugger.Tests { @@ -144,7 +144,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.Metod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
@ -217,7 +219,9 @@ namespace Debugger.Tests { @@ -217,7 +219,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.GenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
@ -290,7 +294,9 @@ namespace Debugger.Tests { @@ -290,7 +294,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticMetod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
@ -363,7 +369,9 @@ namespace Debugger.Tests { @@ -363,7 +369,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticGenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
@ -436,7 +444,9 @@ namespace Debugger.Tests { @@ -436,7 +444,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.Metod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
@ -509,7 +519,9 @@ namespace Debugger.Tests { @@ -509,7 +519,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.GenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
@ -582,7 +594,9 @@ namespace Debugger.Tests { @@ -582,7 +594,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticMetod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
@ -655,7 +669,9 @@ namespace Debugger.Tests { @@ -655,7 +669,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticGenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"

370
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Metadata.cs

@ -0,0 +1,370 @@ @@ -0,0 +1,370 @@
// <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>
// Never used field
#pragma warning disable 0169
// Field will always have default value
#pragma warning disable 0649
using System;
namespace Debugger.Tests.TestPrograms
{
public class Metadata
{
private int privateField;
public int publicField;
protected int protectedField;
internal int internalField;
static int staticField;
private int privateProperty { get { return 0; } }
public int publicProperty { get { return 0; } }
protected int protectedProperty { get { return 0; } }
internal int internalProperty { get { return 0; } }
static int staticProperty { get { return 0; } }
private void privateMethod() {}
public void publicMethod() {}
protected void protectedMethod() {}
internal void internalMethod() {}
static void staticMethod() {}
public static void Main()
{
System.Diagnostics.Debugger.Break();
}
}
}
#if TEST_CODE
namespace Debugger.Tests {
using Debugger.MetaData;
public partial class DebuggerTests
{
[NUnit.Framework.Test]
public void Metadata()
{
StartTest("Metadata.cs");
ObjectDump("Members", process.SelectedStackFrame.MethodInfo.DeclaringType.GetMembers(BindingFlags.All));
EndTest();
}
}
}
#endif
#if EXPECTED_OUTPUT
<?xml version="1.0" encoding="utf-8"?>
<DebuggerTests>
<Test
name="Metadata.cs">
<ProcessStarted />
<ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded>
<ModuleLoaded>Metadata.exe (Has symbols)</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<Members
Capacity="32"
Count="22">
<Item>
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateField"
IsInternal="False"
IsLiteral="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateField" />
</Item>
<Item>
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicField"
IsInternal="False"
IsLiteral="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsStatic="False"
Module="Metadata.exe"
Name="publicField" />
</Item>
<Item>
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedField"
IsInternal="False"
IsLiteral="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedField" />
</Item>
<Item>
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.internalField"
IsInternal="True"
IsLiteral="False"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalField" />
</Item>
<Item>
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticField"
IsInternal="False"
IsLiteral="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticField" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_privateProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_privateProperty" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_publicProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_publicProperty" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_protectedProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_protectedProperty" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_internalProperty"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_internalProperty" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_staticProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="True"
Module="Metadata.exe"
Name="get_staticProperty" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateMethod"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="publicMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.internalMethod"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticMethod"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.Main"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Metadata.exe"
Name="Main" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata..ctor"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name=".ctor" />
</Item>
<Item>
<PropertyInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateProperty"
GetMethod="get_privateProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateProperty"
SetMethod="null" />
</Item>
<Item>
<PropertyInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicProperty"
GetMethod="get_publicProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsStatic="False"
Module="Metadata.exe"
Name="publicProperty"
SetMethod="null" />
</Item>
<Item>
<PropertyInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedProperty"
GetMethod="get_protectedProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedProperty"
SetMethod="null" />
</Item>
<Item>
<PropertyInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.internalProperty"
GetMethod="get_internalProperty"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalProperty"
SetMethod="null" />
</Item>
<Item>
<PropertyInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticProperty"
GetMethod="get_staticProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticProperty"
SetMethod="null" />
</Item>
</Members>
<ProcessExited />
</Test>
</DebuggerTests>
#endif // EXPECTED_OUTPUT
Loading…
Cancel
Save