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

Converts FxCop report files to sarif format
FxCop project files are not supported due to loss of source location information
Inheritance: ToolFileConverterBase
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Méthode Description
Convert ( Stream input, IResultLogWriter output ) : void

Convert FxCop log to SARIF format stream

Private Methods

Méthode Description
ConvertFxCopLevelToResultLevel ( string fxcopLevel, bool &mapsDirectlyToSarifName ) : ResultLevel
CreateLogicalLocation ( FxCopLogReader context ) : string
CreateResult ( FxCopLogReader context ) : System.Result
CreateSignature ( FxCopLogReader context ) : string
GetFilePath ( FxCopLogReader context ) : string
TryAddLogicalLocation ( string parentKey, string value, string kind, string delimiter = "." ) : string
TryAddProperty ( System.Result result, string value, string key ) : void

Method Details

Convert() public méthode

Convert FxCop log to SARIF format stream
public Convert ( Stream input, IResultLogWriter output ) : void
input Stream FxCop log stream
output IResultLogWriter output stream
Résultat void