public static GetAllReplacementAnnotations ( AstNode node ) : IEnumerable |
||
node | AstNode | |
return | IEnumerable |
void AddOldAnnotationsToInitializer(AccessPath targetPath, IAnnotatable initializer) { if (targetPath != null) { if (accessPaths.ContainsKey(targetPath)) { foreach (var astNode in ReplacementNodeHelper.GetAllReplacementAnnotations(accessPaths[targetPath])) { initializer.AddAnnotation(astNode); } } } }
void AddOldAnnotationsToInitializer(InitializerPath targetPath, Expression initializer) { if (targetPath != null) { if (initializers.ContainsKey(targetPath)) { foreach (var astNode in ReplacementNodeHelper.GetAllReplacementAnnotations(initializers[targetPath])) { initializer.AddAnnotation(astNode); } } } }