236 references to SyntaxAnnotation
GenerateDocumentationAndConfigFiles (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis (2)
Syntax\SyntaxAnnotation.cs (2)
22public static SyntaxAnnotation ElasticAnnotation { get; } = new SyntaxAnnotation(); 38: this()
Microsoft.CodeAnalysis.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CodeStyle.Fixes (14)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
25private static readonly SyntaxAnnotation s_annotation = new();
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
57private static readonly SyntaxAnnotation s_memberAnnotation = new(); 58private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 59private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 60private static readonly SyntaxAnnotation s_existingLocalDeclarationWithoutInitializerAnnotation = new();
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
186var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (12)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (3)
42var annotation = new SyntaxAnnotation(); 65var annotation = new SyntaxAnnotation(); 244var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
349var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
98var openBraceTokenAnnotation = new SyntaxAnnotation(); 99var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (1)
54var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
78var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
51private static readonly SyntaxAnnotation s_openBracePositionAnnotation = new(); 56private static readonly SyntaxAnnotation s_replacementNodeAnnotation = new();
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
35private static readonly SyntaxAnnotation s_plusEqualsTokenAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Features (23)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_delegateToReplaceAnnotation = new();
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (3)
36private static readonly SyntaxAnnotation DefinitionAnnotation = new(); 37private static readonly SyntaxAnnotation ReferenceAnnotation = new(); 38private static readonly SyntaxAnnotation ExpressionAnnotation = new();
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
116var constructorAnnotation = new SyntaxAnnotation();
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (1)
75var annotation = new SyntaxAnnotation();
EncapsulateField\CSharpEncapsulateFieldService.cs (1)
49var tempAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
150var sourceNodeAnnotation = new SyntaxAnnotation(); 151var enclosingStatementAnnotation = new SyntaxAnnotation();
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
18private static readonly SyntaxAnnotation s_replacementAnnotation = new();
SplitStringLiteral\StringSplitter.cs (1)
20protected readonly SyntaxAnnotation RightNodeAnnotation = new();
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (3)
42var annotation = new SyntaxAnnotation(); 65var annotation = new SyntaxAnnotation(); 244var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
349var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
98var openBraceTokenAnnotation = new SyntaxAnnotation(); 99var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (1)
54var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
78var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
45private static readonly SyntaxAnnotation s_referenceAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (21)
IncrementalParsing\IncrementalParsingTests.cs (1)
3486var oldRoot = tempRoot.ReplaceToken(tempToken, tempToken.WithAdditionalAnnotations(new SyntaxAnnotation()));
Syntax\SyntaxAnnotationTests.cs (19)
33SyntaxAnnotation annotation = new SyntaxAnnotation(); 43SyntaxAnnotation annotation = new SyntaxAnnotation(); 132SyntaxAnnotation annotation = new SyntaxAnnotation(); 142SyntaxAnnotation annotation = new SyntaxAnnotation(); 157SyntaxAnnotation annotation1 = new SyntaxAnnotation(); 158SyntaxAnnotation annotation2 = new SyntaxAnnotation(); 189SyntaxAnnotation annotation1 = new SyntaxAnnotation(); 190SyntaxAnnotation annotation2 = new SyntaxAnnotation(); 221SyntaxAnnotation annotation1 = new SyntaxAnnotation(); 222SyntaxAnnotation annotation2 = new SyntaxAnnotation(); 255var annotations = new List<SyntaxAnnotation>(Enumerable.Range(0, 3).Select(_ => new SyntaxAnnotation())); 281SyntaxAnnotation annotation1 = new SyntaxAnnotation(); 385var annotations = new List<SyntaxAnnotation>(Enumerable.Range(0, 10).Select(_ => new SyntaxAnnotation())); 480var rootAnnotation = new SyntaxAnnotation(); 488var annotation = new SyntaxAnnotation(); 504var firstAnnotation = new SyntaxAnnotation(); 505var secondAnnotation = new SyntaxAnnotation(); 564var annotation = new SyntaxAnnotation(); 578var annotation = new SyntaxAnnotation();
Syntax\SyntaxNodeTests.cs (1)
514var myAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Rename\CSharpRenameRewriterLanguageService.cs (1)
286var annotation = new SyntaxAnnotation();
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
45var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
186var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
Microsoft.CodeAnalysis.Features (35)
AddImport\References\Reference.cs (1)
88var annotation = new SyntaxAnnotation();
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
43var annotation = new SyntaxAnnotation();
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
83protected static SyntaxAnnotation ContainerAnnotation { get; } = new SyntaxAnnotation();
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (3)
33private readonly SyntaxAnnotation _annotation = new(); 34private readonly SyntaxAnnotation _replaceStartAnnotation = new(); 35private readonly SyntaxAnnotation _replaceEndAnnotation = new();
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
178var declarationAnnotation = new SyntaxAnnotation(); 216new SyntaxAnnotation(),
ExtractMethod\AbstractSyntaxTriviaService.cs (1)
41.ToDictionary(location => location, _ => new SyntaxAnnotation());
ExtractMethod\MethodExtractor.CodeGenerator.cs (5)
29public static readonly SyntaxAnnotation MethodNameAnnotation = new(); 30public static readonly SyntaxAnnotation MethodDefinitionAnnotation = new(); 31public static readonly SyntaxAnnotation CallSiteAnnotation = new(); 32public static readonly SyntaxAnnotation InsertionPointAnnotation = new(); 43public static readonly SyntaxAnnotation ExitPointAnnotation = new();
ExtractMethod\MethodExtractor.cs (1)
143var annotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
159private readonly SyntaxAnnotation _annotation = new();
ExtractMethod\SelectionResult.cs (2)
29protected static readonly SyntaxAnnotation s_firstTokenAnnotation = new(); 30protected static readonly SyntaxAnnotation s_lastTokenAnnotation = new();
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
22private static readonly SyntaxAnnotation s_specializedFormattingAnnotation = new();
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_annotation = new();
Shared\Utilities\AnnotatedSymbolMapping.cs (2)
58var typeNodeAnnotation = new SyntaxAnnotation(); 82var annotation = new SyntaxAnnotation();
Shared\Utilities\ExtractTypeHelpers.cs (2)
41var typeAnnotation = new SyntaxAnnotation(); 101var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetFunctionService.cs (1)
143var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetProviders\AbstractSnippetProvider.cs (1)
30protected static readonly SyntaxAnnotation FindSnippetAnnotation = new();
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
25private static readonly SyntaxAnnotation s_annotation = new();
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
57private static readonly SyntaxAnnotation s_memberAnnotation = new(); 58private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 59private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 60private static readonly SyntaxAnnotation s_existingLocalDeclarationWithoutInitializerAnnotation = new();
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
40protected static SyntaxAnnotation SpecializedFormattingAnnotation = new();
Wrapping\AbstractCodeActionComputer.cs (1)
46private static readonly SyntaxAnnotation s_toFormatAnnotation = new();
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
17Private ReadOnly _annotation As New SyntaxAnnotation()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
87Dim originalExprAnnotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
18Dim annotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
22Private Shared ReadOnly GeneratedSymbolAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (1)
165Dim tokenAnnotation As New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Features (10)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (4)
115Private Shared ReadOnly s_definitionAnnotation As New SyntaxAnnotation 116Private Shared ReadOnly s_referenceAnnotation As New SyntaxAnnotation 117Private Shared ReadOnly s_initializerAnnotation As New SyntaxAnnotation 118Private Shared ReadOnly s_expressionToInlineAnnotation As New SyntaxAnnotation
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
43Dim annotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
21Private Shared ReadOnly s_removeAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (2)
111Dim sourceNodeAnnotation = New SyntaxAnnotation() 112Dim enclosingStatementAnnotation = New SyntaxAnnotation()
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (1)
14Private Shared ReadOnly s_replacementAnnotation As New SyntaxAnnotation
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceLocal.vb (1)
127Dim localAnnotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (20)
IncrementalParser\IncrementalParser.vb (1)
1710Dim oldRoot2 = tempRoot2.ReplaceToken(tempToken2, tempToken2.WithAdditionalAnnotations(New SyntaxAnnotation()))
Syntax\SyntaxAnnotationTests.vb (19)
22Dim annotation = New SyntaxAnnotation() 30Dim annotation = New SyntaxAnnotation() 112Dim annotation As New SyntaxAnnotation() 121Dim annotation As New SyntaxAnnotation() 135Dim annotation1 As New SyntaxAnnotation() 136Dim annotation2 As New SyntaxAnnotation() 166Dim annotation1 As New SyntaxAnnotation() 167Dim annotation2 As New SyntaxAnnotation() 197Dim annotation1 As New SyntaxAnnotation() 198Dim annotation2 As New SyntaxAnnotation() 231Return New SyntaxAnnotation() 255Dim annotation1 As New SyntaxAnnotation() 349Dim annotations = New List(Of SyntaxAnnotation)(Enumerable.Range(0, 10).Select(Function(s) New SyntaxAnnotation())) 434Dim rootAnnotation = New SyntaxAnnotation() 441Dim annotation = New SyntaxAnnotation() 456Dim firstAnnotation = New SyntaxAnnotation() 457Dim secondAnnotation = New SyntaxAnnotation() 509Dim annotation = New SyntaxAnnotation() 521Dim annotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
187Dim annotation = New SyntaxAnnotation() 210Dim annotationForSpeculativeNode = New SyntaxAnnotation()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
17Private ReadOnly _annotation As New SyntaxAnnotation()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
87Dim originalExprAnnotation = New SyntaxAnnotation()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
18Dim annotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Formatting\FormattingTests.vb (1)
3774Dim goo As New SyntaxAnnotation()
Microsoft.CodeAnalysis.Workspaces (13)
CaseCorrection\CaseCorrector.cs (1)
21public static readonly SyntaxAnnotation Annotation = new();
Formatting\Formatter.cs (1)
29public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation();
Simplification\Simplifier.cs (3)
45public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation(); 51public static SyntaxAnnotation SpecialTypeAnnotation { get; } = new SyntaxAnnotation(); 57public static SyntaxAnnotation AddImportsAnnotation { get; } = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
CodeCleanup\CodeCleanupTests.cs (2)
134var annotation = new SyntaxAnnotation(); 147var annotation = new SyntaxAnnotation();
SolutionTests\SolutionTests.cs (2)
3216var annotation = new SyntaxAnnotation(); 5495var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
WorkspaceTests\AdhocWorkspaceTests.cs (1)
345var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguageCodeSupport.cs (1)
202var annotation = new SyntaxAnnotation();
Roslyn.Diagnostics.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
186var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
17Private ReadOnly _annotation As New SyntaxAnnotation()
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Text.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
153var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
46var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
99var removeIfUnusedAnnotation = new SyntaxAnnotation(); 215var annotation = new SyntaxAnnotation(); 233var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
14public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 15public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();