Browse Source

Add IsCurrentMemberType property.

pull/191/merge
Eusebiu Marcu 15 years ago
parent
commit
0049fc2555
  1. 9
      Debugger/ILSpy.Debugger/DebuggedData.cs

9
Debugger/ILSpy.Debugger/DebuggedData.cs

@ -39,6 +39,15 @@ namespace ICSharpCode.ILSpy.Debugger @@ -39,6 +39,15 @@ namespace ICSharpCode.ILSpy.Debugger
/// </summary>
public static IEnumerable<AssemblyDefinition> LoadedAssemblies { get; set; }
/// <summary>
/// Returns true if the CurrentMember is a type (TypeDefinition). Otherwise, returns false (is MethodDefinition or PropertyDefinition).
/// </summary>
public static bool IsCurrentMemberType {
get {
return CurrentMember is TypeDefinition;
}
}
/// <summary>
/// Occures when the language is changed.
/// </summary>

Loading…
Cancel
Save