C# Class Microsoft.CodeAnalysis.Sarif.Region

Inheritance: ISarifNode
Datei anzeigen Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
DeepClone ( ) : Region

Creates a deep copy of this instance.

Region ( ) : System

Initializes a new instance of the Region class.

Region ( Region other ) : System

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

Region ( int startLine, int startColumn, int endLine, int endColumn, int offset, int length ) : System

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

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( int startLine, int startColumn, int endLine, int endColumn, int offset, int length ) : void

Method Details

DeepClone() public method

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

Region() public method

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

Region() public method

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

Region() public method

Initializes a new instance of the Region class from the supplied values.
public Region ( int startLine, int startColumn, int endLine, int endColumn, int offset, int length ) : System
startLine int /// An initialization value for the property. ///
startColumn int /// An initialization value for the property. ///
endLine int /// An initialization value for the property. ///
endColumn int /// An initialization value for the property. ///
offset int /// An initialization value for the property. ///
length int /// An initialization value for the property. ///
return System

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int