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