1 write to _state
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
39_state = state
9 references to _state
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (9)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
196Return New ReplaceSpanResult(New SnapshotSpan(_subjectBuffer.CurrentSnapshot, _state.CaretPosition, 0),
EndConstructGeneration\EndConstructStatementVisitor_IfStatement.vb (4)
26Dim endOfLine = SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter) 47Dim position = If(ifBlock.Statements.Any(), ifBlock.Statements(0).SpanStart, ifBlock.IfStatement.Span.End + _state.NewLineCharacter.Length) 61Return SyntaxFactory.List({DirectCast(SyntaxFactory.EmptyStatement(SyntaxFactory.Token(SyntaxKind.EmptyToken, SyntaxFactory.TriviaList(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter)))), StatementSyntax)}) 104trailingTrivia.Add(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter))
EndConstructGeneration\EndConstructStatementVisitor_LambdaHeader.vb (4)
52newHeader = newHeader.WithTrailingTrivia(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter)) 55Dim newBody = DirectCast(node.Body, StatementSyntax).WithAppendedTrailingTrivia(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter)) 83Dim newHeader = node.SubOrFunctionHeader.WithTrailingTrivia(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter)) 88.WithAppendedTrailingTrivia(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter))