23 references to WithoutAnnotations
Microsoft.CodeAnalysis (1)
Syntax\AnnotationExtensions.cs (1)
66return node.WithoutAnnotations<TNode>(node.GetAnnotations(annotationKind).ToArray());
Microsoft.CodeAnalysis.CodeStyle (1)
AnnotationTable.cs (1)
93=> node.WithoutAnnotations(GetRealAnnotations(annotations).ToArray());
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpInlineDeclarationCodeFixProvider.cs (1)
217(t, g) => t.WithTrailingTrivia(SyntaxFactory.ElasticSpace).WithoutAnnotations(Formatter.Annotation));
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (2)
256.WithoutAnnotations(ContainerAnnotation)); // Make sure to remove the annotation we added 320.WithoutAnnotations(ContainerAnnotation); // Make sure to remove the annotation we added
CSharpInlineDeclarationCodeFixProvider.cs (1)
217(t, g) => t.WithTrailingTrivia(SyntaxFactory.ElasticSpace).WithoutAnnotations(Formatter.Annotation));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SerializationTests.cs (3)
146var removedRoot = root.WithoutAnnotations(annotation1); 166var removedDoubleAnnoRoot = doubleAnnoRoot.WithoutAnnotations(annotation1, annotation2); 192var removedRoot = root.WithoutAnnotations(annotation1);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Rename\CSharpRenameRewriterLanguageService.cs (1)
317newNode = newNode.WithoutAnnotations(annotation);
Simplification\Reducers\CSharpMiscellaneousReducer.cs (2)
78newParameterSyntax = SimplificationHelpers.CopyAnnotations(node, newParameterSyntax).WithoutAnnotations(Simplifier.Annotation); 106return SimplificationHelpers.CopyAnnotations(parenthesizedLambda, newSimpleLambda).WithoutAnnotations(Simplifier.Annotation);
Simplification\Reducers\CSharpNameReducer.cs (1)
64return node.WithoutAnnotations(Simplifier.Annotation);
Microsoft.CodeAnalysis.Features (1)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
119var expression = foreachCollectionExpression.WithoutAnnotations(SimplificationHelpers.DontSimplifyAnnotation);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Syntax\SerializationTests.vb (3)
127Dim removedRoot = root.WithoutAnnotations(annotation1) 147Dim removedDoubleAnnoRoot = doubleAnnoRoot.WithoutAnnotations(annotation1, annotation2) 175Dim removedRoot = root.WithoutAnnotations(annotation1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
228renamedNode = renamedNode.WithoutAnnotations(annotation) 234probableRenameNode = probableRenameNode.WithoutAnnotations(annotation)
Simplification\Reducers\VisualBasicMiscellaneousReducer.vb (1)
36newParameter = SimplificationHelpers.CopyAnnotations(parameter, newParameter).WithoutAnnotations(Simplifier.Annotation)
Simplification\Reducers\VisualBasicNameReducer.vb (1)
49Return node.WithoutAnnotations(Simplifier.Annotation)
Simplification\Reducers\VisualBasicVariableDeclaratorReducer.vb (1)
46Return replacementNode.WithoutAnnotations(Simplifier.Annotation)
Microsoft.CodeAnalysis.Workspaces (1)
AnnotationTable.cs (1)
93=> node.WithoutAnnotations(GetRealAnnotations(annotations).ToArray());