1 write to annotations
System.Data.Services.Client (1)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
62this.annotations = new Dictionary<Expression, ExpressionAnnotation>(ReferenceEqualityComparer<Expression>.Instance);
32 references to annotations
System.Data.Services.Client (32)
System\Data\Services\Client\ProjectionPlanCompiler.cs (32)
172if (this.annotations.TryGetValue(unaryResult.Operand, out annotation)) 174this.annotations[result] = annotation; 207if (this.annotations.TryGetValue(baseTargetExpression, out annotation)) 235if (this.annotations.TryGetValue(p, out annotation)) 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] }); 492if (!this.annotations.TryGetValue(testToNullForProjection, out testToNullAnnotation)) 579this.annotations.Add(entryToInitValue, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] }); 580this.annotations.Add(entryParameterForMembers, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] }); 611if (this.annotations.TryGetValue(this.pathBuilder.ParameterEntryInScope, out entryAnnotation)) 637this.annotations.Add(nestedEntryParameter, new ExpressionAnnotation() { Segment = nestedSegment }); 641this.annotations.Remove(nestedEntryParameter); 694this.annotations.Remove(entryToInitValue); 695this.annotations.Remove(entryParameterForMembers); 777this.annotations[expression] = new ExpressionAnnotation() { Segment = parameterSegment }; 851this.annotations.TryGetValue(result.Arguments[0], out annotation)) 868this.annotations.TryGetValue(result.Arguments[0], out annotation)) 886this.annotations.TryGetValue(result.Arguments[0], out annotation)) 909this.annotations.TryGetValue(result.Arguments[1], out annotation)) 937this.annotations.Add(result, annotation); 960this.annotations.TryGetValue(parameterSource, out annotation); 985this.annotations.Add(result, annotation); 990this.annotations.Add(result, annotation); 1021if (this.annotations.TryGetValue(result, out annotation)) 1024this.annotations.Add(result, annotation); 1053this.annotations.TryGetValue(parameterSource, out annotation); 1074this.annotations.Add(result, annotation); 1079this.annotations.Add(result, annotation); 1089if (this.annotations.TryGetValue(source, out annotation)) 1092this.annotations.Add(result, annotation);