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
ファイルを表示 Open project: Microsoft/sarif-sdk Class Usage Examples

Public Methods

Method Description
Convert ( Stream input, IResultLogWriter output ) : void

Convert FxCop log to SARIF format stream

Private Methods

Method 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 method

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