9 references to HasAnnotation
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (1)
163=> token.HasAnnotation(this.GetRealAnnotation(annotation));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (1)
52var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (1)
104_simplifyAllDescendants = _simplifyAllDescendants || token.HasAnnotation(Simplifier.Annotation);
Simplification\Reducers\AbstractCSharpReducer.AbstractReductionRewriter.cs (1)
165return token.HasAnnotation(Simplifier.Annotation)
Simplification\Simplifiers\NameSimplifier.cs (1)
501if (identifierToken.ValueText != AttributeName && identifierToken.ValueText.EndsWith(AttributeName, StringComparison.Ordinal) && !identifierToken.HasAnnotation(SimplificationHelpers.DoNotSimplifyAnnotation))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Simplification\Reducers\AbstractVisualBasicReducer.AbstractReductionRewriter.vb (1)
134If Not _alwaysSimplify AndAlso Not token.HasAnnotation(Simplifier.Annotation) Then
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (1)
95Me._simplifyAllDescendants = Me._simplifyAllDescendants OrElse token.HasAnnotation(Simplifier.Annotation)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (1)
163=> token.HasAnnotation(this.GetRealAnnotation(annotation));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (1)
52var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);