C# Class Microsoft.CodeAnalysis.Sarif.Stack

Inheritance: PropertyBagHolder, ISarifNode
Mostrar archivo Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
Create ( string stackTrace ) : Stack

Creates a SARIF Stack instance from a .NET StackTrace text representation (as returned by StackTrace.ToString())

CreateStacks ( Exception exception ) : ISet

Create one or more Stack instances from a .NET exception. Captures inner exceptions and handles aggregated exceptions.

DeepClone ( ) : Stack

Creates a deep copy of this instance.

Stack ( ) : System

Initializes a new instance of the Stack class.

Stack ( Stack other ) : System

Initializes a new instance of the Stack class from the specified instance.

Stack ( StackTrace stackTrace ) : System

Creates a SARIF Stack instance from a .NET StackTrace instance

Stack ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : System

Initializes a new instance of the Stack class from the supplied values.

ToString ( ) : string
ToString ( StackFormat stackFormat ) : string
ValueEquals ( Stack other ) : bool
ValueGetHashCode ( ) : int

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : void

Method Details

Create() public static method

Creates a SARIF Stack instance from a .NET StackTrace text representation (as returned by StackTrace.ToString())
public static Create ( string stackTrace ) : Stack
stackTrace string
return Stack

CreateStacks() public static method

Create one or more Stack instances from a .NET exception. Captures inner exceptions and handles aggregated exceptions.
public static CreateStacks ( Exception exception ) : ISet
exception System.Exception
return ISet

DeepClone() public method

Creates a deep copy of this instance.
public DeepClone ( ) : Stack
return Stack

Stack() public method

Initializes a new instance of the Stack class.
public Stack ( ) : System
return System

Stack() public method

Initializes a new instance of the Stack class from the specified instance.
/// Thrown if is null. ///
public Stack ( Stack other ) : System
other Stack /// The instance from which the new instance is to be initialized. ///
return System

Stack() public method

Creates a SARIF Stack instance from a .NET StackTrace instance
public Stack ( StackTrace stackTrace ) : System
stackTrace StackTrace
return System

Stack() public method

Initializes a new instance of the Stack class from the supplied values.
public Stack ( string message, IEnumerable frames, SerializedPropertyInfo>.IDictionary properties ) : System
message string /// An initialization value for the property. ///
frames IEnumerable /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
return System

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( StackFormat stackFormat ) : string
stackFormat StackFormat
return string

ValueEquals() public method

public ValueEquals ( Stack other ) : bool
other Stack
return bool

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int