198 references to SyntaxAnnotation
GenerateDocumentationAndConfigFiles (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var 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)
212var annotation = new SyntaxAnnotation();
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var 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)
212var 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)
212var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var 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)
212var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
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\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
53protected static SyntaxAnnotation SpecializedFormattingAnnotation = 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)
182var 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)
58var 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)
58var 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)
182var 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 (36)
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();
QuickInfo\CommonSemanticQuickInfoProvider.cs (1)
23private 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)
144var 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\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
53protected static SyntaxAnnotation SpecializedFormattingAnnotation = new();
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
13public static readonly 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)
212var 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)
212var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var annotation = 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)
212var 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)
144var annotation = new SyntaxAnnotation(); 159var annotation = new SyntaxAnnotation();
SolutionTests\SolutionTests.cs (2)
3219var annotation = new SyntaxAnnotation(); 5483var 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();
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\AbstractCodeModelService.cs (2)
1068var annotation = new SyntaxAnnotation(); 1121var annotation = new SyntaxAnnotation();
Roslyn.Diagnostics.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var 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)
182var 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();
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var annotation = new SyntaxAnnotation();
Text.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
212var 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();