SourceText.GetLinesCore Method

Definition

Called from Lines to initialize the TextLineCollection. Thereafter, the collection is cached.

protected:
 virtual Microsoft::CodeAnalysis::Text::TextLineCollection ^ GetLinesCore();
protected virtual Microsoft.CodeAnalysis.Text.TextLineCollection GetLinesCore ();
abstract member GetLinesCore : unit -> Microsoft.CodeAnalysis.Text.TextLineCollection
override this.GetLinesCore : unit -> Microsoft.CodeAnalysis.Text.TextLineCollection
Protected Overridable Function GetLinesCore () As TextLineCollection

Returns

A new TextLineCollection representing the individual text lines.

Applies to