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)
52
var 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)
165
return token.
HasAnnotation
(Simplifier.Annotation)
Simplification\Simplifiers\NameSimplifier.cs (1)
501
if (identifierToken.ValueText != AttributeName && identifierToken.ValueText.EndsWith(AttributeName, StringComparison.Ordinal) && !identifierToken.
HasAnnotation
(SimplificationHelpers.DoNotSimplifyAnnotation))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Simplification\Reducers\AbstractVisualBasicReducer.AbstractReductionRewriter.vb (1)
134
If Not _alwaysSimplify AndAlso Not token.
HasAnnotation
(Simplifier.Annotation) Then
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (1)
95
Me._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)
52
var dontSimplifyResult = !to.
HasAnnotation
(Simplifier.Annotation);