2 overrides of Code
Microsoft.CodeAnalysis (2)
Diagnostic\DiagnosticWithInfo.cs (1)
69
internal sealed override int
Code
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
91
internal override int
Code
=> _original.Code;
4 references to Code
Microsoft.CodeAnalysis (4)
CommandLine\CommonCompiler.cs (1)
1648
errors = diagnostics.ToReadOnlyAndFree().SelectAsArray(diag => new DiagnosticInfo(messageProvider, diag.IsWarningAsError, diag.
Code
, (object[])diag.Arguments));
Compilation\Compilation.cs (2)
1880
if (exclude?.Contains(d.
Code
) == true)
3766
if (!IsUnreferencedAssemblyIdentityDiagnosticCode(diagnostic.
Code
))
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
91
internal override int Code => _original.
Code
;