8 writes to Segment
System.Data.Services.Client (8)
System\Data\Services\Client\ProjectionPlanCompiler.cs (8)
359this.annotations[lambda.Parameters[0]] = new ExpressionAnnotation() { Segment = parameterSegment }; 436this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 451this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 468this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 579this.annotations.Add(entryToInitValue, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] }); 580this.annotations.Add(entryParameterForMembers, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] }); 637this.annotations.Add(nestedEntryParameter, new ExpressionAnnotation() { Segment = nestedSegment }); 777this.annotations[expression] = new ExpressionAnnotation() { Segment = parameterSegment };
15 references to Segment
System.Data.Services.Client (15)
System\Data\Services\Client\ProjectionPlanCompiler.cs (15)
497ProjectionPathSegment testToNullSegment = testToNullAnnotation.Segment; 617entryPath.AddRange(entryAnnotation.Segment.StartPath); 764annotation.Segment.StartPath.RootEntry, 765annotation.Segment.StartPath.ExpectedRootType, 766annotation.Segment.StartPath, 772annotation.Segment.StartPath.Root, 773annotation.Segment.StartPath.ExpectedRootType, 774annotation.Segment.StartPath.RootEntry); 815memberSegment = new ProjectionPathSegment(baseAnnotation.Segment.StartPath, m.Member.Name, m.Type); 816baseAnnotation.Segment.StartPath.Add(memberSegment); 818baseAnnotation.Segment.StartPath.RootEntry, 819baseAnnotation.Segment.StartPath.ExpectedRootType, 820baseAnnotation.Segment.StartPath, 983Expression.Constant(annotation.Segment.StartPath, typeof(object)), 1072Expression.Constant(annotation.Segment.StartPath, typeof(object)),