22 references to Literal
System.ServiceModel (22)
System\UriTemplate.cs (5)
123case UriTemplatePartType.Literal: 187if (UriTemplateHelpers.IdentifyPartType(key) != UriTemplatePartType.Literal) 674while (this.segments[segmentIndex].Nature == UriTemplatePartType.Literal) 1230Fx.Assert(sourceNature != UriTemplatePartType.Literal, "Literal path segments can't be the source for path variables"); 1495(this.owner.segments[this.owner.segments.Count - 1].Nature != UriTemplatePartType.Literal))
System\UriTemplateEquivalenceComparer.cs (1)
48if (obj.segments[i].Nature == UriTemplatePartType.Literal)
System\UriTemplateHelpers.cs (7)
35if (kvp.Value.Nature == UriTemplatePartType.Literal) 143if (utqv.Nature == UriTemplatePartType.Literal) 174return UriTemplatePartType.Literal; 214case UriTemplatePartType.Literal: 266if (kvp.Value.Nature == UriTemplatePartType.Literal) 282if (!array[i].queries.ContainsKey(s) || (array[i].queries[s].Nature != UriTemplatePartType.Literal)) 338Fx.Assert(utqv.Nature == UriTemplatePartType.Literal, "query for name is not literal");
System\UriTemplateLiteralPathSegment.cs (2)
22: base(segment, UriTemplatePartType.Literal, segment.EndsWith("/", StringComparison.Ordinal)) 117if (other.Nature != UriTemplatePartType.Literal)
System\UriTemplateLiteralQueryValue.cs (2)
19: base(UriTemplatePartType.Literal) 72if (other.Nature != UriTemplatePartType.Literal)
System\UriTemplatePathSegment.cs (1)
54case UriTemplatePartType.Literal:
System\UriTemplateQueryValue.cs (2)
50case UriTemplatePartType.Literal: 86: base(UriTemplatePartType.Literal)
System\UriTemplateTrieNode.cs (2)
78case UriTemplatePartType.Literal: 100case UriTemplatePartType.Literal: