C# Class Microsoft.CodeAnalysis.Sarif.Replacement

Inheritance: ISarifNode
Show file Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
DeepClone ( ) : Replacement

Creates a deep copy of this instance.

Replacement ( ) : System

Initializes a new instance of the Replacement class.

Replacement ( Replacement other ) : System

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

Replacement ( int offset, int deletedLength, string insertedBytes ) : System

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

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( int offset, int deletedLength, string insertedBytes ) : void

Method Details

DeepClone() public method

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

Replacement() public method

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

Replacement() public method

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

Replacement() public method

Initializes a new instance of the Replacement class from the supplied values.
public Replacement ( int offset, int deletedLength, string insertedBytes ) : System
offset int /// An initialization value for the property. ///
deletedLength int /// An initialization value for the property. ///
insertedBytes string /// An initialization value for the property. ///
return System

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int