Share via


CodeGeneratorContext.GenerateLinePragma Method

Definition

Overloads

GenerateLinePragma(Span)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the specified source.

GenerateLinePragma(Span, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

GenerateLinePragma(Span, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

GenerateLinePragma(SourceLocation, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

GenerateLinePragma(Span)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the specified source.

public System.CodeDom.CodeLinePragma GenerateLinePragma (System.Web.Razor.Parser.SyntaxTree.Span target);
member this.GenerateLinePragma : System.Web.Razor.Parser.SyntaxTree.Span -> System.CodeDom.CodeLinePragma
Public Function GenerateLinePragma (target As Span) As CodeLinePragma

Parameters

target
Span

The source span.

Returns

The line pragma for the specified source.

Applies to

GenerateLinePragma(Span, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

public System.CodeDom.CodeLinePragma GenerateLinePragma (System.Web.Razor.Parser.SyntaxTree.Span target, int generatedCodeStart);
member this.GenerateLinePragma : System.Web.Razor.Parser.SyntaxTree.Span * int -> System.CodeDom.CodeLinePragma
Public Function GenerateLinePragma (target As Span, generatedCodeStart As Integer) As CodeLinePragma

Parameters

target
Span

The source span.

generatedCodeStart
Int32

The start index of code.

Returns

The line pragma for the specified source.

Applies to

GenerateLinePragma(Span, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

public System.CodeDom.CodeLinePragma GenerateLinePragma (System.Web.Razor.Parser.SyntaxTree.Span target, int generatedCodeStart, int codeLength);
member this.GenerateLinePragma : System.Web.Razor.Parser.SyntaxTree.Span * int * int -> System.CodeDom.CodeLinePragma
Public Function GenerateLinePragma (target As Span, generatedCodeStart As Integer, codeLength As Integer) As CodeLinePragma

Parameters

target
Span

The source span.

generatedCodeStart
Int32

The start index of code.

codeLength
Int32

The length of code.

Returns

The line pragma for the specified source.

Applies to

GenerateLinePragma(SourceLocation, Int32, Int32)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source.

public System.CodeDom.CodeLinePragma GenerateLinePragma (System.Web.Razor.Text.SourceLocation start, int generatedCodeStart, int codeLength);
member this.GenerateLinePragma : System.Web.Razor.Text.SourceLocation * int * int -> System.CodeDom.CodeLinePragma
Public Function GenerateLinePragma (start As SourceLocation, generatedCodeStart As Integer, codeLength As Integer) As CodeLinePragma

Parameters

start
SourceLocation

The source location.

generatedCodeStart
Int32

The start index of code.

codeLength
Int32

The length of code.

Returns

The line pragma for the specified source.

Applies to