C# Class Microsoft.CodeAnalysis.Sarif.Converters.FortifyPathElement

A Fortify path element structure, which serves as a location identifier. This type is typically used to represent result locations, datapath sources, and datapath sinks.
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Свойство Type Description
FilePath string
LineStart int
TargetFunction string

Méthodes publiques

Méthode Description
FortifyPathElement ( string filePath, int lineStart, string targetFunction ) : System

Initializes a new instance of the FortifyPathElement class.

Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyPathElement

Parses an element as a Fortify PathElement node, consuming the node.

Method Details

FortifyPathElement() public méthode

Initializes a new instance of the FortifyPathElement class.
Thrown when null. Thrown when one or more arguments are outside the /// required range.
public FortifyPathElement ( string filePath, int lineStart, string targetFunction ) : System
filePath string Full pathname of the file.
lineStart int The line start index.
targetFunction string Target function name; may be null.
Résultat System

Parse() public static méthode

Parses an element as a Fortify PathElement node, consuming the node.
public static Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyPathElement
xmlReader System.Xml.XmlReader The from which a node shall be parsed. When /// this function returns, this reader is placed directly after the element on which it is /// currently placed.
strings FortifyStrings Strings used in processing Fortify logs.
Résultat FortifyPathElement

Property Details

FilePath public_oe property

Full pathname of the file.
public string FilePath
Résultat string

LineStart public_oe property

The line start index.
public int LineStart
Résultat int

TargetFunction public_oe property

Target function name; may be null.
public string TargetFunction
Résultat string