Browse Source
Renamed Testing attribute SummaryOnly to ToStringOnly git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2767 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
18 changed files with 194 additions and 24 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
// <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; |
||||
|
||||
namespace Debugger.Tests |
||||
{ |
||||
[AttributeUsage(AttributeTargets.Class)] |
||||
public class ExpandAttribute: Attribute |
||||
{ |
||||
|
||||
} |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision: 2285 $</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
|
||||
using Debugger; |
||||
|
||||
namespace ICSharpCode.NRefactory.Ast |
||||
{ |
||||
/// <summary>
|
||||
/// Reference to a class field
|
||||
/// </summary>
|
||||
public class FieldReferenceExpression: MemberReferenceExpression |
||||
{ |
||||
FieldInfo fieldInfo; |
||||
|
||||
public FieldInfo FieldInfo { |
||||
get { return fieldInfo; } |
||||
} |
||||
|
||||
public FieldReferenceExpression(Expression targetObject, FieldInfo fieldInfo) |
||||
:base (targetObject, fieldInfo.Name) |
||||
{ |
||||
this.fieldInfo = fieldInfo; |
||||
} |
||||
|
||||
public override string ToString() { |
||||
return string.Format("[FieldReferenceExpression TargetObject={0} FieldName={1} TypeArguments={2}]", TargetObject, FieldName, GetCollectionString(TypeArguments)); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision: 2285 $</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
|
||||
using Debugger.Wrappers.CorSym; |
||||
|
||||
namespace ICSharpCode.NRefactory.Ast |
||||
{ |
||||
/// <summary>
|
||||
/// Identifier of a local variable
|
||||
/// </summary>
|
||||
public class LocalVariableIdentifierExpression: IdentifierExpression |
||||
{ |
||||
ISymUnmanagedVariable symVar; |
||||
|
||||
public ISymUnmanagedVariable SymVar { |
||||
get { return symVar; } |
||||
} |
||||
|
||||
public LocalVariableIdentifierExpression(ISymUnmanagedVariable symVar) |
||||
:base (symVar.Name) |
||||
{ |
||||
this.symVar = symVar; |
||||
} |
||||
|
||||
public override string ToString() { |
||||
return string.Format("[LocalVariableIdentifierExpression Identifier={0} TypeArguments={1}]", Identifier, GetCollectionString(TypeArguments)); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision: 2285 $</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
|
||||
namespace ICSharpCode.NRefactory.Ast |
||||
{ |
||||
/// <summary>
|
||||
/// Identifier of a method parameter
|
||||
/// </summary>
|
||||
public class ParameterIdentifierExpression: IdentifierExpression |
||||
{ |
||||
int parameterIndex; |
||||
|
||||
public int ParameterIndex { |
||||
get { return parameterIndex; } |
||||
} |
||||
|
||||
public ParameterIdentifierExpression(int parameterIndex, string identifier) |
||||
:base (identifier) |
||||
{ |
||||
this.parameterIndex = parameterIndex; |
||||
} |
||||
|
||||
public override string ToString() { |
||||
return string.Format("[ParameterIdentifierExpression Index={0} Identifier={1} TypeArguments={2}]", ParameterIndex, Identifier, GetCollectionString(TypeArguments)); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision: 2285 $</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
|
||||
using Debugger; |
||||
|
||||
namespace ICSharpCode.NRefactory.Ast |
||||
{ |
||||
/// <summary>
|
||||
/// Reference to a class property
|
||||
/// </summary>
|
||||
public class PropertyReferenceExpression: MemberReferenceExpression |
||||
{ |
||||
PropertyInfo propertyInfo; |
||||
|
||||
public PropertyInfo PropertyInfo { |
||||
get { return propertyInfo; } |
||||
} |
||||
|
||||
public PropertyReferenceExpression(Expression targetObject, PropertyInfo propertyInfo) |
||||
:base (targetObject, propertyInfo.Name) |
||||
{ |
||||
this.propertyInfo = propertyInfo; |
||||
} |
||||
|
||||
public override string ToString() { |
||||
return string.Format("[PropertyReferenceExpression TargetObject={0} FieldName={1} TypeArguments={2}]", TargetObject, FieldName, GetCollectionString(TypeArguments)); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue