2 overrides of GetLineVisibility
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
669public override LineVisibility GetLineVisibility(int position, CancellationToken cancellationToken = default)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
453Public Overrides Function GetLineVisibility(position As Integer, Optional cancellationToken As CancellationToken = Nothing) As LineVisibility
10 references to GetLineVisibility
Microsoft.CodeAnalysis (2)
Syntax\SyntaxTree.cs (1)
270isHiddenPosition = GetLineVisibility(span.Start) == LineVisibility.Hidden;
Syntax\SyntaxTreeExtensions.cs (1)
113var lineVisibility = tree.GetLineVisibility(position, cancellationToken);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
113var lineVisibility = tree.GetLineVisibility(position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
30var lineVisibility = tree.GetLineVisibility(position, cancellationToken2);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LineSpanDirectiveTests.cs (1)
246var actualVisibility = textB.Lines.Select(line => treeB.GetLineVisibility(line.Start)).ToImmutableArray();
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
268if (syntaxTree.GetLineVisibility(span.Start, cancellationToken) == LineVisibility.Hidden)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\ManualTests.vb (2)
143Assert.Equal(LineVisibility.Visible, tree.GetLineVisibility(0)) 144Assert.Equal(LineVisibility.Visible, tree.GetLineVisibility(source.Length - 2))
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\Syntax\SyntaxTreeExtensions.cs (1)
113var lineVisibility = tree.GetLineVisibility(position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
30var lineVisibility = tree.GetLineVisibility(position, cancellationToken2);