Example #1
0
 private string GetPathThroughLastSlash(SourceText text, int position, Group quotedPathGroup)
 {
     return(PathCompletionUtilities.GetPathThroughLastSlash(
                quotedPath: quotedPathGroup.Value,
                quotedPathStart: GetQuotedPathStart(text, position, quotedPathGroup),
                position: position));
 }
 private string GetPathThroughLastSlash(SyntaxToken stringLiteral, int position)
 {
     return(PathCompletionUtilities.GetPathThroughLastSlash(
                quotedPath: stringLiteral.ToString(),
                quotedPathStart: stringLiteral.SpanStart,
                position: position));
 }