14 references to SarifVersion
Microsoft.CodeAnalysis (12)
CommandLine\CommandLineParser.cs (2)
231SarifVersion sarifVersion = SarifVersion.Default;
CommandLine\CommonCompiler.cs (1)
741if (Arguments.ErrorLogOptions.SarifVersion == SarifVersion.Sarif1)
CommandLine\ErrorLogOptions.cs (2)
22public SarifVersion SarifVersion { get; } 29public ErrorLogOptions(string path, SarifVersion sarifVersion)
CommandLine\SarifVersion.cs (7)
39public static bool TryParse(string version, out SarifVersion result) 43result = SarifVersion.Default; 50result = SarifVersion.Default; 54result = SarifVersion.Latest; 59result = SarifVersion.Sarif1; 64result = SarifVersion.Sarif2; 68result = SarifVersion.Default;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
4261Assert.Equal(SarifVersion.Sarif2, parsedArgs.ErrorLogOptions.SarifVersion);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
4618Assert.Equal(SarifVersion.Sarif2, parsedArgs.ErrorLogOptions.SarifVersion)