C# Class Microsoft.CodeAnalysis.Sarif.Annotation

Inheritance: ISarifNode
ファイルを表示 Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
Annotation ( ) : System

Initializes a new instance of the Annotation class.

Annotation ( Annotation other ) : System

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

Annotation ( string message, IEnumerable locations ) : System

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

DeepClone ( ) : Annotation

Creates a deep copy of this instance.

ValueEquals ( Annotation other ) : bool
ValueGetHashCode ( ) : int

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string message, IEnumerable locations ) : void

Method Details

Annotation() public method

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

Annotation() public method

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

Annotation() public method

Initializes a new instance of the Annotation class from the supplied values.
public Annotation ( string message, IEnumerable locations ) : System
message string /// An initialization value for the property. ///
locations IEnumerable /// An initialization value for the property. ///
return System

DeepClone() public method

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

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int