14 references to SourceFile
Microsoft.CodeAnalysis (4)
Diagnostic\DiagnosticFormatter.cs (1)
34case LocationKind.SourceFile:
Diagnostic\SourceLocation.cs (1)
60return LocationKind.SourceFile;
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
56return location != null && location.Kind == LocationKind.SourceFile;
DiagnosticAnalyzer\DiagnosticQueue.cs (1)
111Debug.Assert(diagnostic.Location.Kind == LocationKind.SourceFile || diagnostic.Location.Kind == LocationKind.ExternalFile);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
658else if (kind == LocationKind.SourceFile)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
251LocationKind.SourceFile or
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
341case LocationKind.SourceFile:
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
548loc.Kind = LocationKind.SourceFile AndAlso DirectCast(loc, SourceLocation).SourceTree Is Me._onlyDiagnosticsFromTree AndAlso
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
ExtensionMethods\SemanticModelTests.vb (1)
1478Assert.Equal(LocationKind.SourceFile, alias2.Locations.Single().Kind)
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\DiagnosticAnalysisResultBuilder.cs (2)
85case LocationKind.SourceFile: 158case LocationKind.SourceFile:
Shared\Extensions\ISolutionExtensions.cs (1)
46case LocationKind.SourceFile:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
658else if (kind == LocationKind.SourceFile)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
251LocationKind.SourceFile or