7 references to CopyAnnotations
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Simplification\CSharpSimplificationService.Expander.cs (2)
197return SimplificationHelpers.CopyAnnotations(from: parenthesizedLambda, to: newParenthesizedLambda); 237return SimplificationHelpers.CopyAnnotations(from: simpleLambda, to: parenthesizedLambda);
Simplification\Reducers\CSharpMiscellaneousReducer.cs (2)
76newParameterSyntax = SimplificationHelpers.CopyAnnotations(node, newParameterSyntax).WithoutAnnotations(Simplifier.Annotation); 104return SimplificationHelpers.CopyAnnotations(parenthesizedLambda, newSimpleLambda).WithoutAnnotations(Simplifier.Annotation);
Simplification\Reducers\CSharpParenthesizedExpressionReducer.cs (1)
44return SimplificationHelpers.CopyAnnotations(from: node, to: resultNode);
Simplification\Reducers\CSharpParenthesizedPatternReducer.cs (1)
41return SimplificationHelpers.CopyAnnotations(from: node, to: resultNode);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CastExpressionSyntaxExtensions.cs (1)
33resultNode = SimplificationHelpers.CopyAnnotations(from: node, to: resultNode);