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