5 overrides of WithLocation
Microsoft.CodeAnalysis (5)
CommandLine\CommonCompiler.SuppressionDiagnostic.cs (1)
94internal override Diagnostic WithLocation(Location location)
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (1)
108internal override Diagnostic WithLocation(Location location)
Diagnostic\Diagnostic_SimpleDiagnostic.cs (1)
180internal override Diagnostic WithLocation(Location location)
Diagnostic\DiagnosticWithInfo.cs (1)
195internal override Diagnostic WithLocation(Location location)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
122internal override Diagnostic WithLocation(Location location)
6 references to WithLocation
Microsoft.CodeAnalysis (2)
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (1)
117return new DiagnosticWithProgrammaticSuppression(_originalUnsuppressedDiagnostic.WithLocation(location), _programmaticSuppressionInfo);
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
124return new CompilerDiagnostic(_original.WithLocation(location), _properties);
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachLoopBinder.cs (1)
525diagnostics.Add(d.WithLocation(location));
Compilation\CSharpCompilation.cs (1)
3083builder.Add(error.WithLocation(location));
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
642_diagnostics.Add(diagnostic.WithLocation(sourceLocation)); 659_diagnostics.Add(diagnostic.WithLocation(sourceLocation));