C# Class Microsoft.CodeAnalysis.Sarif.AnnotatedCodeLocation

Inheritance: PropertyBagHolder, ISarifNode
Mostra file Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
AnnotatedCodeLocation ( ) : System

Initializes a new instance of the AnnotatedCodeLocation class.

AnnotatedCodeLocation ( AnnotatedCodeLocation other ) : System

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

AnnotatedCodeLocation ( int id, int step, PhysicalLocation physicalLocation, string fullyQualifiedLogicalName, string logicalLocationKey, string module, int threadId, string message, AnnotatedCodeLocationKind kind, TaintKind taintKind, string target, IEnumerable values, object state, string targetKey, bool essential, AnnotatedCodeLocationImportance importance, string snippet, IEnumerable annotations, SerializedPropertyInfo>.IDictionary properties ) : System

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

DeepClone ( ) : AnnotatedCodeLocation

Creates a deep copy of this instance.

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( int id, int step, PhysicalLocation physicalLocation, string fullyQualifiedLogicalName, string logicalLocationKey, string module, int threadId, string message, AnnotatedCodeLocationKind kind, TaintKind taintKind, string target, IEnumerable values, object state, string targetKey, bool essential, AnnotatedCodeLocationImportance importance, string snippet, IEnumerable annotations, SerializedPropertyInfo>.IDictionary properties ) : void

Method Details

AnnotatedCodeLocation() public method

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

AnnotatedCodeLocation() public method

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

AnnotatedCodeLocation() public method

Initializes a new instance of the AnnotatedCodeLocation class from the supplied values.
public AnnotatedCodeLocation ( int id, int step, PhysicalLocation physicalLocation, string fullyQualifiedLogicalName, string logicalLocationKey, string module, int threadId, string message, AnnotatedCodeLocationKind kind, TaintKind taintKind, string target, IEnumerable values, object state, string targetKey, bool essential, AnnotatedCodeLocationImportance importance, string snippet, IEnumerable annotations, SerializedPropertyInfo>.IDictionary properties ) : System
id int /// An initialization value for the property. ///
step int /// An initialization value for the property. ///
physicalLocation PhysicalLocation /// An initialization value for the property. ///
fullyQualifiedLogicalName string /// An initialization value for the property. ///
logicalLocationKey string /// An initialization value for the property. ///
module string /// An initialization value for the property. ///
threadId int /// An initialization value for the property. ///
message string /// An initialization value for the property. ///
kind AnnotatedCodeLocationKind /// An initialization value for the property. ///
taintKind TaintKind /// An initialization value for the property. ///
target string /// An initialization value for the property. ///
values IEnumerable /// An initialization value for the property. ///
state object /// An initialization value for the property. ///
targetKey string /// An initialization value for the property. ///
essential bool /// An initialization value for the property. ///
importance AnnotatedCodeLocationImportance /// An initialization value for the property. ///
snippet string /// An initialization value for the property. ///
annotations IEnumerable /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
return System

DeepClone() public method

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

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int