Dela via


SourceLocation.Addition(SourceLocation, SourceLocation) Operator

Definition

Adds two SourceLocations.

public:
 static Microsoft::AspNetCore::Razor::SourceLocation operator +(Microsoft::AspNetCore::Razor::SourceLocation left, Microsoft::AspNetCore::Razor::SourceLocation right);
public static Microsoft.AspNetCore.Razor.SourceLocation operator + (Microsoft.AspNetCore.Razor.SourceLocation left, Microsoft.AspNetCore.Razor.SourceLocation right);
static member ( + ) : Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.SourceLocation -> Microsoft.AspNetCore.Razor.SourceLocation
Public Shared Operator + (left As SourceLocation, right As SourceLocation) As SourceLocation

Parameters

left
SourceLocation

The left operand.

right
SourceLocation

The right operand.

Returns

A SourceLocation that is the sum of the left and right operands.

Exceptions

if the FilePath of the left and right operands are different, and neither is null.

Applies to