13 references to SyntaxTree
Microsoft.CodeAnalysis (4)
Diagnostic\SourceLocation.cs (2)
43: this(trivia.SyntaxTree!, trivia.Span) 45Debug.Assert(trivia.SyntaxTree is object);
Syntax\SyntaxTrivia.cs (2)
412return this.SyntaxTree!.GetLocation(this.Span); 423return this.SyntaxTree!.GetDiagnostics(this);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
79Location.Create(badTrivia.SyntaxTree!, new TextSpan(badTrivia.SpanStart, 0)),
Microsoft.CodeAnalysis.CSharp (2)
Compiler\UnprocessedDocumentationCommentFinder.cs (1)
104_diagnostics.Add(ErrorCode.WRN_UnprocessedXMLComment, new SourceLocation(trivia.SyntaxTree, new TextSpan(start, length)));
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
76var tree = trivia.SyntaxTree;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
109while ((previous = previous.GetPreviousTrivia(previous.SyntaxTree, cancellationToken)) != default)
Microsoft.CodeAnalysis.CSharp.Features (2)
Structure\Providers\DisabledTextTriviaStructureProvider.cs (2)
21Contract.ThrowIfNull(trivia.SyntaxTree); 22CollectBlockSpans(trivia.SyntaxTree, trivia, spans, cancellationToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
109while ((previous = previous.GetPreviousTrivia(previous.SyntaxTree, cancellationToken)) != default)
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
79Location.Create(badTrivia.SyntaxTree!, new TextSpan(badTrivia.SpanStart, 0)),
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
685If DirectCast(trivia.SyntaxTree, VisualBasicSyntaxTree).ReportDocumentationCommentDiagnostics() Then