2 writes to firstOptionalSegment
System.ServiceModel (2)
System\UriTemplate.cs (2)
254this.variables.ValidateDefaults(out this.firstOptionalSegment); 258this.firstOptionalSegment = this.segments.Count;
4 references to firstOptionalSegment
System.ServiceModel (4)
System\UriTemplate.cs (3)
583Fx.Assert(segmentsCount >= this.firstOptionalSegment - 1, "How can that be? The Trie is constructed that way!"); 585Fx.Assert(segmentsCount >= other.firstOptionalSegment - 1, "How can that be? The Trie is constructed that way!"); 822else if (numMatchedSegments < this.firstOptionalSegment)
System\UriTemplateTrieNode.cs (1)
67if (i >= ut.firstOptionalSegment)