Skip to content

SourcePosition.Combine Method ​

Definition ​

Combines two SourcePositions to give a new SourcePosition that includes both this position and the other along any source in-between the two.

c#
public abstract SourcePosition Combine(SourcePosition other);

Parameters ​

NameTypeDescription
otherSourcePosition

Returns ​

SourcePosition

The combined position.