13 references to Literal
System.ServiceModel (13)
System\UriTemplateCompoundPathSegment.cs (13)
100
if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].
Literal
))
111
if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].
Literal
))
131
path.Append(this.varLitPairs[pairIndex].
Literal
);
165
if (StringComparer.OrdinalIgnoreCase.Compare(this.varLitPairs[pairIndex].
Literal
,
166
otherAsCompound.varLitPairs[pairIndex].
Literal
) != 0)
208
int nextLiteralPosition = segment.IndexOf(this.varLitPairs[pairIndex].
Literal
, segmentPosition, StringComparison.Ordinal);
218
segmentPosition = nextLiteralPosition + this.varLitPairs[pairIndex].
Literal
.Length;
222
if (string.IsNullOrEmpty(this.varLitPairs[varLitPairs.Count - 1].
Literal
))
231
else if ((segmentPosition + this.varLitPairs[varLitPairs.Count - 1].
Literal
.Length < segment.Length) &&
232
segment.EndsWith(this.varLitPairs[varLitPairs.Count - 1].
Literal
, StringComparison.Ordinal))
237
segment.Substring(segmentPosition, segment.Length - segmentPosition - this.varLitPairs[varLitPairs.Count - 1].
Literal
.Length));
437
string reversedSuffix = ReverseString(this.varLitPairs[this.varLitPairs.Count - 1].
Literal
);
438
string reversedOtherSuffix = ReverseString(other.varLitPairs[other.varLitPairs.Count - 1].
Literal
);