26 references to IsNewLine
Microsoft.CodeAnalysis.VisualBasic (22)
Scanner\Scanner.vb (19)
308
ElseIf
IsNewLine
(c) Then
333
If
IsNewLine
(c) Then
496
Debug.Assert(
IsNewLine
(StartCharacter))
566
Dim atNewLine As Boolean =
IsNewLine
(ch)
586
atNewLine =
IsNewLine
(ch)
604
Not
IsNewLine
(Peek(here)) Then
695
ElseIf
IsNewLine
(ch) Then
790
While CanGet() AndAlso SyntaxFacts.
IsNewLine
(Peek())
805
If SyntaxFacts.
IsNewLine
(ch) Then
837
Return _lineBufferOffset = 0 OrElse
IsNewLine
(Peek(-1))
981
If
IsNewLine
(ch) Then
1083
If Not CanGet(i + 3) OrElse
IsNewLine
(Peek(i + 3)) Then
1105
Not
IsNewLine
(Peek(length))
1302
If Not CanGet(len) OrElse
IsNewLine
(Peek(len)) OrElse PeekStartComment(len) > 0 Then
1329
Debug.Assert(Not
IsNewLine
(ch))
1669
ElseIf
IsNewLine
([Next]) Then
2498
If IsHash(ch) OrElse
IsNewLine
(ch) Then
2504
If Not CanGet(here) OrElse
IsNewLine
(Peek(here)) Then
2590
ElseIf
IsNewLine
(ch) Then
Scanner\ScannerInterpolatedString.vb (1)
197
ElseIf
IsNewLine
(c) AndAlso scanTrailingWhitespaceAsTrivia
Scanner\ScannerXml.vb (1)
270
(
IsNewLine
(c) AndAlso (c <> CARRIAGE_RETURN) AndAlso (c <> LINE_FEED)) OrElse
Scanner\XmlDocComments.vb (1)
186
ElseIf
IsNewLine
(c) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Engine\Trivia\VisualBasicTriviaFormatter.vb (1)
48
Return SyntaxFacts.
IsNewLine
(ch)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
MetadataAsSource\VisualBasicMetadataAsSourceService.vb (1)
123
Return c = vbCr OrElse c = vbLf OrElse SyntaxFacts.
IsNewLine
(c)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Engine\Trivia\VisualBasicTriviaFormatter.vb (1)
48
Return SyntaxFacts.
IsNewLine
(ch)
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\Engine\Trivia\VisualBasicTriviaFormatter.vb (1)
48
Return SyntaxFacts.
IsNewLine
(ch)