System\UriTemplateCompoundPathSegment.cs (33)
23CompoundSegmentClass csClass;
102result.csClass = CompoundSegmentClass.HasNoPrefixNorSuffix;
106result.csClass = CompoundSegmentClass.HasOnlySuffix;
113result.csClass = CompoundSegmentClass.HasOnlyPrefix;
117result.csClass = CompoundSegmentClass.HasPrefixAndSuffix;
291case CompoundSegmentClass.HasPrefixAndSuffix:
294case CompoundSegmentClass.HasPrefixAndSuffix:
297case CompoundSegmentClass.HasOnlyPrefix:
298case CompoundSegmentClass.HasOnlySuffix:
299case CompoundSegmentClass.HasNoPrefixNorSuffix:
307case CompoundSegmentClass.HasOnlyPrefix:
310case CompoundSegmentClass.HasPrefixAndSuffix:
313case CompoundSegmentClass.HasOnlyPrefix:
316case CompoundSegmentClass.HasOnlySuffix:
317case CompoundSegmentClass.HasNoPrefixNorSuffix:
325case CompoundSegmentClass.HasOnlySuffix:
328case CompoundSegmentClass.HasPrefixAndSuffix:
329case CompoundSegmentClass.HasOnlyPrefix:
332case CompoundSegmentClass.HasOnlySuffix:
335case CompoundSegmentClass.HasNoPrefixNorSuffix:
343case CompoundSegmentClass.HasNoPrefixNorSuffix:
346case CompoundSegmentClass.HasPrefixAndSuffix:
347case CompoundSegmentClass.HasOnlyPrefix:
348case CompoundSegmentClass.HasOnlySuffix:
351case CompoundSegmentClass.HasNoPrefixNorSuffix:
366Fx.Assert(this.csClass == CompoundSegmentClass.HasPrefixAndSuffix, "Otherwise, how did we got here?");
367Fx.Assert(other.csClass == CompoundSegmentClass.HasPrefixAndSuffix, "Otherwise, how did we got here?");
391Fx.Assert(this.csClass == CompoundSegmentClass.HasOnlyPrefix, "Otherwise, how did we got here?");
392Fx.Assert(other.csClass == CompoundSegmentClass.HasOnlyPrefix, "Otherwise, how did we got here?");
408Fx.Assert(this.csClass == CompoundSegmentClass.HasOnlySuffix, "Otherwise, how did we got here?");
409Fx.Assert(other.csClass == CompoundSegmentClass.HasOnlySuffix, "Otherwise, how did we got here?");
425Fx.Assert(this.csClass == CompoundSegmentClass.HasNoPrefixNorSuffix, "Otherwise, how did we got here?");
426Fx.Assert(other.csClass == CompoundSegmentClass.HasNoPrefixNorSuffix, "Otherwise, how did we got here?");