214 instantiations of SyntaxAnnotation
Microsoft.AspNetCore.App.CodeFixes (2)
Http\HeaderDictionaryAddFixer.cs (1)
72var annotation = new SyntaxAnnotation("SymbolId", DocumentationCommentId.CreateReferenceId(wellKnownTypes.Get(WellKnownType.Microsoft_AspNetCore_Http_HeaderDictionaryExtensions)));
RouteParameterUnusedParameterFixer.cs (1)
88var type = resolvedType.WithAdditionalAnnotations(new SyntaxAnnotation("CodeAction_Navigation"));
Microsoft.CodeAnalysis (2)
Syntax\SyntaxAnnotation.cs (1)
22public static SyntaxAnnotation ElasticAnnotation { get; } = new SyntaxAnnotation();
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
50s_nodeToIdMap.GetValue(node, n => new SyntaxAnnotation(IdAnnotationKind));
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AliasAnnotation.cs (1)
19=> new(Kind, aliasName);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (1)
18=> new(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (1)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
58private static readonly SyntaxAnnotation s_memberAnnotation = new(); 59private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 60private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 61private 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\CodeGeneration\CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
149var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
111var removeIfUnusedAnnotation = new SyntaxAnnotation(); 237var annotation = new SyntaxAnnotation(); 255var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
15public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 16public 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)
192var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
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)
362var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
39private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation));
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
102var openBraceTokenAnnotation = new SyntaxAnnotation(); 103var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (1)
54var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
79var 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)
36private static readonly SyntaxAnnotation s_plusEqualsTokenAnnotation = new();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\FormattingEngineTests.cs (1)
2541var annotation = new SyntaxAnnotation("marker");
Microsoft.CodeAnalysis.CSharp.Features (28)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (2)
27private static readonly SyntaxAnnotation s_closingBraceFormatAnnotation = new(nameof(s_closingBraceFormatAnnotation)); 28private static readonly SyntaxAnnotation s_closingBraceNewlineAnnotation = new(nameof(s_closingBraceNewlineAnnotation));
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_delegateToReplaceAnnotation = new();
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (3)
33private static readonly SyntaxAnnotation DefinitionAnnotation = new(); 34private static readonly SyntaxAnnotation ReferenceAnnotation = new(); 35private static readonly SyntaxAnnotation ExpressionAnnotation = new();
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
110var constructorAnnotation = new SyntaxAnnotation();
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (1)
74var annotation = new SyntaxAnnotation();
EncapsulateField\CSharpEncapsulateFieldService.cs (1)
49var tempAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
163var sourceNodeAnnotation = new SyntaxAnnotation(); 164var enclosingStatementAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpSelectionResult.cs (2)
36var firstTokenAnnotation = new SyntaxAnnotation(); 37var lastTokenAnnotation = new SyntaxAnnotation();
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
17private readonly SyntaxAnnotation _replacementAnnotation = new SyntaxAnnotation();
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)
362var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
39private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation));
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
102var openBraceTokenAnnotation = new SyntaxAnnotation(); 103var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (1)
54var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
79var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
38private static readonly SyntaxAnnotation s_referenceAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (21)
IncrementalParsing\IncrementalParsingTests.cs (1)
3056var 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 (8)
Rename\CSharpRenameRewriterLanguageService.cs (1)
289var annotation = new SyntaxAnnotation();
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
45var annotation = new SyntaxAnnotation();
Simplification\Simplifiers\ExpressionSimplifier.cs (1)
186.WithAdditionalAnnotations<TypeSyntax>(new SyntaxAnnotation(
Simplification\Simplifiers\NameSimplifier.cs (1)
478replacementNode = replacementNode.WithAdditionalAnnotations(new SyntaxAnnotation(codeStyleOptionName));
Simplification\Simplifiers\QualifiedCrefSimplifier.cs (1)
54.WithAdditionalAnnotations(new SyntaxAnnotation(nameof(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess)));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
192var 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 (34)
AddImport\References\Reference.cs (1)
91var annotation = new SyntaxAnnotation();
ChangeSignature\AbstractChangeSignatureService.cs (1)
36protected SyntaxAnnotation changeSignatureFormattingAnnotation = new("ChangeSignatureFormatting");
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
43var annotation = new SyntaxAnnotation();
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (1)
30public static SyntaxAnnotation NamespaceScopeMovedAnnotation = new(nameof(MoveTypeOperationKind.MoveTypeNamespaceScope));
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
71protected static SyntaxAnnotation ContainerAnnotation { get; } = new SyntaxAnnotation();
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (2)
24private readonly SyntaxAnnotation _annotation = new(); 25private readonly SyntaxAnnotation _otherAnnotation = new();
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
177var declarationAnnotation = new SyntaxAnnotation(); 215new SyntaxAnnotation(),
ExtractMethod\AbstractSyntaxTriviaService.cs (1)
42.ToDictionary(location => location, _ => new SyntaxAnnotation());
ExtractMethod\MethodExtractor.CodeGenerator.cs (3)
57MethodNameAnnotation = new SyntaxAnnotation(); 58CallSiteAnnotation = new SyntaxAnnotation(); 59MethodDefinitionAnnotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.cs (2)
164var annotation = new SyntaxAnnotation(); 198var insertionPointAnnotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
193private readonly SyntaxAnnotation _annotation = new();
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
22private static readonly SyntaxAnnotation s_specializedFormattingAnnotation = new();
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_annotation = new();
PullMemberUp\MembersPuller.cs (2)
34private static readonly SyntaxAnnotation s_removableImportAnnotation = new("PullMemberRemovableImport"); 35private static readonly SyntaxAnnotation s_destinationNodeAnnotation = new("DestinationNode");
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\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
58private static readonly SyntaxAnnotation s_memberAnnotation = new(); 59private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 60private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 61private static readonly SyntaxAnnotation s_existingLocalDeclarationWithoutInitializerAnnotation = new();
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
36protected static SyntaxAnnotation SpecializedFormattingAnnotation = new();
Wrapping\AbstractCodeActionComputer.cs (1)
45private static readonly SyntaxAnnotation s_toFormatAnnotation = new();
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
18Private 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)
151Dim tokenAnnotation As New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Features (12)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (4)
116Private Shared ReadOnly s_definitionAnnotation As New SyntaxAnnotation 117Private Shared ReadOnly s_referenceAnnotation As New SyntaxAnnotation 118Private Shared ReadOnly s_initializerAnnotation As New SyntaxAnnotation 119Private Shared ReadOnly s_expressionToInlineAnnotation As New SyntaxAnnotation
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
42Dim annotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
20Private Shared ReadOnly s_removeAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (2)
116Dim sourceNodeAnnotation = New SyntaxAnnotation() 117Dim enclosingStatementAnnotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicSelectionResult.vb (2)
32Dim firstAnnotation = New SyntaxAnnotation() 33Dim lastAnnotation = New SyntaxAnnotation()
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (1)
14Private ReadOnly _replacementAnnotation As New SyntaxAnnotation
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceLocal.vb (1)
125Dim localAnnotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (20)
IncrementalParser\IncrementalParser.vb (1)
1713Dim oldRoot2 = tempRoot2.ReplaceToken(tempToken2, tempToken2.WithAdditionalAnnotations(New SyntaxAnnotation()))
Syntax\SyntaxAnnotationTests.vb (19)
30Dim annotation = New SyntaxAnnotation() 38Dim annotation = New SyntaxAnnotation() 120Dim annotation As New SyntaxAnnotation() 129Dim annotation As New SyntaxAnnotation() 143Dim annotation1 As New SyntaxAnnotation() 144Dim annotation2 As New SyntaxAnnotation() 174Dim annotation1 As New SyntaxAnnotation() 175Dim annotation2 As New SyntaxAnnotation() 205Dim annotation1 As New SyntaxAnnotation() 206Dim annotation2 As New SyntaxAnnotation() 239Return New SyntaxAnnotation() 263Dim annotation1 As New SyntaxAnnotation() 357Dim annotations = New List(Of SyntaxAnnotation)(Enumerable.Range(0, 10).Select(Function(s) New SyntaxAnnotation())) 442Dim rootAnnotation = New SyntaxAnnotation() 449Dim annotation = New SyntaxAnnotation() 464Dim firstAnnotation = New SyntaxAnnotation() 465Dim secondAnnotation = New SyntaxAnnotation() 517Dim annotation = New SyntaxAnnotation() 529Dim annotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
187Dim annotation = New SyntaxAnnotation() 210Dim annotationForSpeculativeNode = New SyntaxAnnotation()
Simplification\Simplifiers\NameSimplifier.vb (1)
186replacementNode = replacementNode.WithAdditionalAnnotations(New SyntaxAnnotation(codeStyleOptionName))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
18Private 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)
3775Dim goo As New SyntaxAnnotation()
Microsoft.CodeAnalysis.Workspaces (27)
CaseCorrection\CaseCorrector.cs (1)
21public static readonly SyntaxAnnotation Annotation = new();
CodeActions\Annotations\ConflictAnnotation.cs (1)
15=> new(Kind, description);
CodeActions\Annotations\NavigationAnnotation.cs (1)
25=> new(Kind);
CodeActions\Annotations\RenameAnnotation.cs (1)
15=> new(Kind);
CodeActions\Annotations\SuppressDiagnosticsAnnotation.cs (1)
12=> new(Kind);
CodeActions\Annotations\WarningAnnotation.cs (1)
15=> new(Kind, description);
CodeCleanup\AbstractCodeCleanerService.cs (1)
660: this(type, oppositeMarkerType, new SyntaxAnnotation(AnnotationId, string.Format("{0} {1}", type, oppositeMarkerType)))
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\Simplification\AliasAnnotation.cs (1)
19=> new(Kind, aliasName);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (1)
18=> new(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (1)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
149var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (3)
111var removeIfUnusedAnnotation = new SyntaxAnnotation(); 237var annotation = new SyntaxAnnotation(); 255var marker = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
15public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
CodeCleanup\CodeCleanupTests.cs (2)
134var annotation = new SyntaxAnnotation(); 147var annotation = new SyntaxAnnotation();
SolutionTests\SolutionTests.cs (3)
3190var annotation = new SyntaxAnnotation(); 3433tree = tree.WithAdditionalAnnotations(new SyntaxAnnotation("test")); 5437var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
WorkspaceTests\AdhocWorkspaceTests.cs (1)
345var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguageCodeSupport.cs (1)
203var annotation = new SyntaxAnnotation();
1421 references to SyntaxAnnotation
Microsoft.AspNetCore.App.CodeFixes (1)
Http\HeaderDictionaryAddFixer.cs (1)
72var annotation = new SyntaxAnnotation("SymbolId", DocumentationCommentId.CreateReferenceId(wellKnownTypes.Get(WellKnownType.Microsoft_AspNetCore_Http_HeaderDictionaryExtensions)));
Microsoft.CodeAnalysis (109)
Syntax\AnnotationExtensions.cs (4)
17public static TNode WithAdditionalAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) 28public static TNode WithAdditionalAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) 39public static TNode WithoutAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) 50public static TNode WithoutAnnotations<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations)
Syntax\GreenNode.cs (24)
45private static readonly ConditionalWeakTable<GreenNode, SyntaxAnnotation[]> s_annotationsTable = 46new ConditionalWeakTable<GreenNode, SyntaxAnnotation[]>(); 49private static readonly SyntaxAnnotation[] s_noAnnotations = Array.Empty<SyntaxAnnotation>(); 50private static readonly IEnumerable<SyntaxAnnotation> s_noAnnotationsEnumerable = SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 84protected GreenNode(ushort kind, DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations) : 89foreach (var annotation in annotations) 99protected GreenNode(ushort kind, DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, int fullWidth) : 104foreach (var annotation in annotations) 468foreach (var a in annotations) 487foreach (var a in annotations) 498public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 506foreach (var a in annotations) 517public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 534private static IEnumerable<SyntaxAnnotation> GetAnnotationsSlow(SyntaxAnnotation[] annotations, string annotationKind) 536foreach (var annotation in annotations) 545public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 562private static IEnumerable<SyntaxAnnotation> GetAnnotationsSlow(SyntaxAnnotation[] annotations, IEnumerable<string> annotationKinds) 564foreach (var annotation in annotations) 573public SyntaxAnnotation[] GetAnnotations() 586internal abstract GreenNode SetAnnotations(SyntaxAnnotation[]? annotations);
Syntax\GreenNodeExtensions.cs (10)
14public static TNode WithAnnotationsGreen<TNode>(this TNode node, IEnumerable<SyntaxAnnotation> annotations) where TNode : GreenNode 16var newAnnotations = ArrayBuilder<SyntaxAnnotation>.GetInstance(); 17foreach (var candidate in annotations) 44public static TNode WithAdditionalAnnotationsGreen<TNode>(this TNode node, IEnumerable<SyntaxAnnotation>? annotations) where TNode : GreenNode 53var newAnnotations = ArrayBuilder<SyntaxAnnotation>.GetInstance(); 56foreach (var candidate in annotations) 75public static TNode WithoutAnnotationsGreen<TNode>(this TNode node, IEnumerable<SyntaxAnnotation>? annotations) where TNode : GreenNode 84var removalAnnotations = ArrayBuilder<SyntaxAnnotation>.GetInstance(); 93var newAnnotations = ArrayBuilder<SyntaxAnnotation>.GetInstance(); 94foreach (var candidate in existingAnnotations)
Syntax\InternalSyntax\SyntaxList.cs (1)
17internal SyntaxList(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (2)
22internal WithLotsOfChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children, int[] childOffsets) 66internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (3)
22internal WithManyChildrenBase(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children) 100internal WithManyChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children) 110internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (2)
28internal WithThreeChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, GreenNode child0, GreenNode child1, GreenNode child2) 72internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (2)
25internal WithTwoChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, GreenNode child0, GreenNode child1) 64internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\SyntaxAnnotation.cs (8)
17public sealed class SyntaxAnnotation : IEquatable<SyntaxAnnotation?> 22public static SyntaxAnnotation ElasticAnnotation { get; } = new SyntaxAnnotation(); 54public bool Equals(SyntaxAnnotation? other) 59public static bool operator ==(SyntaxAnnotation? left, SyntaxAnnotation? right) 69public static bool operator !=(SyntaxAnnotation? left, SyntaxAnnotation? right) => 74return this.Equals(obj as SyntaxAnnotation);
Syntax\SyntaxNode.cs (10)
1225public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 1233public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 1241public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 1246internal SyntaxAnnotation[] GetAnnotations() 1272public IEnumerable<SyntaxNodeOrToken> GetAnnotatedNodesAndTokens(SyntaxAnnotation annotation) 1281public IEnumerable<SyntaxNode> GetAnnotatedNodes(SyntaxAnnotation syntaxAnnotation) 1299public IEnumerable<SyntaxToken> GetAnnotatedTokens(SyntaxAnnotation syntaxAnnotation) 1333public IEnumerable<SyntaxTrivia> GetAnnotatedTrivia(SyntaxAnnotation annotation) 1339internal SyntaxNode WithAdditionalAnnotationsInternal(IEnumerable<SyntaxAnnotation> annotations) 1344internal SyntaxNode GetNodeWithoutAnnotations(IEnumerable<SyntaxAnnotation> annotations)
Syntax\SyntaxNodeExtensions_Tracking.cs (9)
18private static readonly ConditionalWeakTable<SyntaxNode, SyntaxAnnotation> s_nodeToIdMap 19= new ConditionalWeakTable<SyntaxNode, SyntaxAnnotation>(); 126var id = GetId(node); 138private static SyntaxAnnotation? GetId(SyntaxNode original) 140SyntaxAnnotation? id; 196private readonly ImmutableSegmentedDictionary<SyntaxAnnotation, IReadOnlyList<SyntaxNode>> _idToNodeMap; 202var map = new SegmentedDictionary<SyntaxAnnotation, List<SyntaxNode>>(); 207foreach (var id in node.GetAnnotations(IdAnnotationKind)) 223public IReadOnlyList<SyntaxNode> GetNodes(SyntaxAnnotation id)
Syntax\SyntaxNodeOrToken.cs (11)
562public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 580public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 592return SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 598public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 610return SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 616public SyntaxNodeOrToken WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 618return WithAdditionalAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 624public SyntaxNodeOrToken WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation> annotations) 647public SyntaxNodeOrToken WithoutAnnotations(params SyntaxAnnotation[] annotations) 649return WithoutAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 655public SyntaxNodeOrToken WithoutAnnotations(IEnumerable<SyntaxAnnotation> annotations)
Syntax\SyntaxToken.cs (12)
260public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 268public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 270return Node?.GetAnnotations(annotationKind) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 276public IEnumerable<SyntaxAnnotation> GetAnnotations(params string[] annotationKinds) 284public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 286return Node?.GetAnnotations(annotationKinds) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 293public SyntaxToken WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 295return WithAdditionalAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 302public SyntaxToken WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation> annotations) 324public SyntaxToken WithoutAnnotations(params SyntaxAnnotation[] annotations) 326return WithoutAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 332public SyntaxToken WithoutAnnotations(IEnumerable<SyntaxAnnotation> annotations)
Syntax\SyntaxTrivia.cs (11)
169public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 177public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 181: SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 187public IEnumerable<SyntaxAnnotation> GetAnnotations(params string[] annotationKinds) 191: SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 294public SyntaxTrivia WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 296return WithAdditionalAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 302public SyntaxTrivia WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation> annotations) 323public SyntaxTrivia WithoutAnnotations(params SyntaxAnnotation[] annotations) 325return WithoutAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 331public SyntaxTrivia WithoutAnnotations(IEnumerable<SyntaxAnnotation> annotations)
Microsoft.CodeAnalysis.CodeStyle (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
327public static IEnumerable<T> GetAnnotatedNodes<T>(this SyntaxNode node, SyntaxAnnotation syntaxAnnotation) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTriviaExtensions.cs (2)
16=> trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation); 19=> trivia.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (4)
268internal static IEnumerable<TextSpan> GetAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation) 270if (annotation == SyntaxAnnotation.ElasticAnnotation) 272var tokens = node.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Select(tr => tr.Token).Distinct(); 278static IEnumerable<TextSpan> EnumerateAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AliasAnnotation.cs (2)
15public static string GetAliasName(SyntaxAnnotation annotation) 18public static SyntaxAnnotation Create(string aliasName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (2)
17public static SyntaxAnnotation Create(SpecialType specialType) 20public static SpecialType GetSpecialType(SyntaxAnnotation annotation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (3)
17public static SyntaxAnnotation Create(ISymbol symbol) 20public static ISymbol? GetSymbol(SyntaxAnnotation annotation, Compilation compilation) 23public static ImmutableArray<ISymbol> GetSymbols(SyntaxAnnotation annotation, Compilation compilation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (8)
31private readonly Dictionary<TAnnotation, SyntaxAnnotation> _realAnnotationMap = []; 34private IEnumerable<SyntaxAnnotation> GetOrCreateRealAnnotations(TAnnotation[] annotations) 42private SyntaxAnnotation GetOrCreateRealAnnotation(TAnnotation annotation) 57private IEnumerable<SyntaxAnnotation> GetRealAnnotations(TAnnotation[] annotations) 61var realAnnotation = this.GetRealAnnotation(annotation); 69private SyntaxAnnotation? GetRealAnnotation(TAnnotation annotation) 99private IEnumerable<TAnnotation> GetAnnotations(IEnumerable<SyntaxAnnotation> realAnnotations) 101foreach (var ra in realAnnotations)
Microsoft.CodeAnalysis.CodeStyle.Fixes (38)
src\Analyzers\Core\CodeFixes\AddAnonymousTypeMemberName\AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
89var annotation = diagnostics.Length == 1 ? RenameAnnotation.Create() : null; 102SyntaxEditor editor, SyntaxAnnotation? annotation, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (2)
102var annotation = new SyntaxAnnotation(); 120Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
58private static readonly SyntaxAnnotation s_memberAnnotation = new(); 59private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 60private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 61private 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\CodeGeneration\CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (4)
24protected static ConditionalWeakTable<CodeGenerationSymbol, SyntaxAnnotation[]> annotationsTable = new(); 54internal SyntaxAnnotation[] GetAnnotations() 60internal CodeGenerationSymbol WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 68CodeGenerationSymbol originalDefinition, CodeGenerationSymbol newDefinition, SyntaxAnnotation[] annotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\SyntaxAnnotationExtensions.cs (4)
14this SyntaxAnnotation annotation, 23internal static SyntaxAnnotation[] CombineAnnotations( 24SyntaxAnnotation[] originalAnnotations, 25SyntaxAnnotation[] newAnnotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
149var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
40SyntaxAnnotation statementAnnotation) 71SyntaxAnnotation statementAnnotation)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (3)
86var warningAnnotation = crossesMeaningfulBlock 117Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation, CancellationToken cancellationToken) 158Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (6)
50public abstract SyntaxNode Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation? annotationForReplacedAliasIdentifier, Func<SyntaxNode, bool>? expandInsideNode, bool expandParameter, CancellationToken cancellationToken); 111var removeIfUnusedAnnotation = new SyntaxAnnotation(); 237var annotation = new SyntaxAnnotation(); 255var marker = new SyntaxAnnotation(); 296SyntaxAnnotation removeIfUnusedAnnotation, 310SyntaxAnnotation removeIfUnusedAnnotation,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\ISimplificationService.cs (1)
19SyntaxAnnotation? annotationForReplacedAliasIdentifier,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (4)
15public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new(); 67var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault(); 75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
Microsoft.CodeAnalysis.CSharp (27)
Syntax\InternalSyntax\CSharpSyntaxNode.cs (2)
44internal CSharpSyntaxNode(SyntaxKind kind, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 50internal CSharpSyntaxNode(SyntaxKind kind, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations, int fullWidth)
Syntax\InternalSyntax\StructuredTriviaSyntax.cs (1)
13internal StructuredTriviaSyntax(SyntaxKind kind, DiagnosticInfo[] diagnostics = null, SyntaxAnnotation[] annotations = null)
Syntax\InternalSyntax\SyntaxFactory.cs (2)
77return trivia.WithAnnotationsGreen(new[] { SyntaxAnnotation.ElasticAnnotation }); 88return trivia.WithAnnotationsGreen(new[] { SyntaxAnnotation.ElasticAnnotation });
Syntax\InternalSyntax\SyntaxToken.cs (3)
36internal SyntaxToken(SyntaxKind kind, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 55internal SyntaxToken(SyntaxKind kind, int fullWidth, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 368internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.MissingTokenWithTrivia.cs (2)
22internal MissingTokenWithTrivia(SyntaxKind kind, GreenNode leading, GreenNode trailing, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 62internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (2)
23internal SyntaxIdentifier(string text, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 59internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierExtended.cs (2)
25internal SyntaxIdentifierExtended(SyntaxKind contextualKind, string text, string valueText, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 62internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrailingTrivia.cs (2)
25internal SyntaxIdentifierWithTrailingTrivia(string text, GreenNode trailing, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 55internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrivia.cs (2)
43SyntaxAnnotation[] annotations) 83internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (2)
26internal SyntaxTokenWithValue(SyntaxKind kind, string text, T value, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 72internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteralWithTrivia.cs (2)
38SyntaxAnnotation[] annotations) 78internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxTokenWithTrivia.cs (2)
31internal SyntaxTokenWithTrivia(SyntaxKind kind, GreenNode leading, GreenNode trailing, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 71internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxTrivia.cs (2)
14internal SyntaxTrivia(SyntaxKind kind, string text, DiagnosticInfo[]? diagnostics = null, SyntaxAnnotation[]? annotations = null) 70internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\SyntaxNodeExtensions.cs (1)
13public static TNode WithAnnotations<TNode>(this TNode node, params SyntaxAnnotation[] annotations) where TNode : CSharpSyntaxNode
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
29private static readonly SyntaxAnnotation s_annotation = new();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
45basePropertyDeclaration.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Any())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (29)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (7)
42var annotation = new SyntaxAnnotation(); 65var annotation = new SyntaxAnnotation(); 82ParsedDocument document, NamespaceDeclarationSyntax namespaceDeclaration, SyntaxAnnotation annotation) 109ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken) 195ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken) 244var annotation = new SyntaxAnnotation(); 260ParsedDocument document, FileScopedNamespaceDeclarationSyntax namespaceDeclaration, string lineEnding, NewLinePlacement newLinePlacement, SyntaxAnnotation annotation)
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
362var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
192var annotation = WarningAnnotation.Create(CSharpCodeFixesResources.Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code);
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (2)
39private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation)); 44private static readonly SyntaxAnnotation s_warningAnnotation = WarningAnnotation.Create(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
102var openBraceTokenAnnotation = new SyntaxAnnotation(); 103var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (2)
54var dummyObjectAnnotation = new SyntaxAnnotation(); 108SyntaxAnnotation annotation,
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
79var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseImplicitOrExplicitType\UseExplicitTypeCodeFixProvider.cs (1)
96.Concat(variableDesignation.GetAllPrecedingTriviaToPreviousToken().Where(t => !t.IsWhitespace()).Select(t => t.WithoutAnnotations(SyntaxAnnotation.ElasticAnnotation)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseNamespaceDeclarationSyntaxExtensions.cs (1)
17params SyntaxAnnotation[] annotations) where TNamespaceDeclarationSyntax : BaseNamespaceDeclarationSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (3)
84params SyntaxAnnotation[] annotations) 94params SyntaxAnnotation[] annotations) 117params SyntaxAnnotation[] annotations)
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();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Lightup\NullableSyntaxAnnotationEx.cs (4)
16public static SyntaxAnnotation? Oblivious { get; } 17public static SyntaxAnnotation? AnnotatedOrNotAnnotated { get; } 24Oblivious = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(Oblivious), BindingFlags.Static | BindingFlags.Public)?.GetValue(null); 25AnnotatedOrNotAnnotated = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(AnnotatedOrNotAnnotated), BindingFlags.Static | BindingFlags.Public)?.GetValue(null);
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)
36private static readonly SyntaxAnnotation s_plusEqualsTokenAnnotation = new();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
175IEnumerable<SyntaxAnnotation> annotations;
Formatting\FormattingEngineTests.cs (1)
2541var annotation = new SyntaxAnnotation("marker");
Microsoft.CodeAnalysis.CSharp.Features (58)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (2)
27private static readonly SyntaxAnnotation s_closingBraceFormatAnnotation = new(nameof(s_closingBraceFormatAnnotation)); 28private static readonly SyntaxAnnotation s_closingBraceNewlineAnnotation = new(nameof(s_closingBraceNewlineAnnotation));
ChangeSignature\UnifiedArgumentSyntax.cs (1)
58public IUnifiedArgumentSyntax WithAdditionalAnnotations(SyntaxAnnotation annotation)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_delegateToReplaceAnnotation = new();
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (5)
33private static readonly SyntaxAnnotation DefinitionAnnotation = new(); 34private static readonly SyntaxAnnotation ReferenceAnnotation = new(); 35private static readonly SyntaxAnnotation ExpressionAnnotation = new(); 130private static SyntaxAnnotation CreateConflictAnnotation() 250private static async Task<T> FindNodeWithAnnotationAsync<T>(Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
110var constructorAnnotation = new SyntaxAnnotation();
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (2)
74var annotation = new SyntaxAnnotation(); 89private static void AddUsingDirectives(NameSyntax name, SyntaxAnnotation annotation, ArrayBuilder<UsingDirectiveSyntax> directives)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
36private static SyntaxAnnotation WarningAnnotation { get; }
EncapsulateField\CSharpEncapsulateFieldService.cs (2)
36protected override async Task<SyntaxNode> RewriteFieldNameAndAccessibilityAsync(string originalFieldName, bool makePrivate, Document document, SyntaxAnnotation declarationAnnotation, CancellationToken cancellationToken) 49var tempAnnotation = new SyntaxAnnotation();
ExtractInterface\CSharpExtractInterfaceService.cs (1)
69IEnumerable<ISymbol> includedMembers, ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationMap,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (2)
25private readonly HashSet<SyntaxAnnotation> _variableToRemoveMap; 32HashSet<SyntaxAnnotation> variableToRemoveMap,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
423HashSet<SyntaxAnnotation> variablesToRemove) 475var annotation = ConflictAnnotation.Create(CSharpFeaturesResources.Conflict_s_detected);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
163var sourceNodeAnnotation = new SyntaxAnnotation(); 164var enclosingStatementAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpMethodExtractor.TriviaResult.cs (1)
62SyntaxAnnotation annotation,
ExtractMethod\CSharpSelectionResult.cs (4)
36var firstTokenAnnotation = new SyntaxAnnotation(); 37var lastTokenAnnotation = new SyntaxAnnotation(); 66SyntaxAnnotation firstTokenAnnotation, 67SyntaxAnnotation lastTokenAnnotation,
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (2)
23SyntaxAnnotation firstTokenAnnotation, 24SyntaxAnnotation lastTokenAnnotation,
ExtractMethod\CSharpSelectionResult.StatementResult.cs (2)
23SyntaxAnnotation firstTokenAnnotation, 24SyntaxAnnotation lastTokenAnnotation,
ExtractMethod\Extensions.cs (1)
233public static bool HasSyntaxAnnotation(this HashSet<SyntaxAnnotation> set, SyntaxNode node)
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
17private readonly SyntaxAnnotation _replacementAnnotation = new SyntaxAnnotation();
MetadataAsSource\CSharpMetadataAsSourceService.cs (1)
130private static bool HasAnnotation(SyntaxNode node, SyntaxAnnotation annotation)
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
324var annotation = ConflictAnnotation.Create(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property); 383var annotation = ConflictAnnotation.Create(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
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 (7)
42var annotation = new SyntaxAnnotation(); 65var annotation = new SyntaxAnnotation(); 82ParsedDocument document, NamespaceDeclarationSyntax namespaceDeclaration, SyntaxAnnotation annotation) 109ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken) 195ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken) 244var annotation = new SyntaxAnnotation(); 260ParsedDocument document, FileScopedNamespaceDeclarationSyntax namespaceDeclaration, string lineEnding, NewLinePlacement newLinePlacement, SyntaxAnnotation annotation)
src\Analyzers\CSharp\CodeFixes\InlineDeclaration\CSharpInlineDeclarationCodeFixProvider.cs (1)
362var annotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
192var annotation = WarningAnnotation.Create(CSharpCodeFixesResources.Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code);
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (2)
39private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation)); 44private static readonly SyntaxAnnotation s_warningAnnotation = WarningAnnotation.Create(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (2)
102var openBraceTokenAnnotation = new SyntaxAnnotation(); 103var nullTokenAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderCodeFixProvider.cs (2)
54var dummyObjectAnnotation = new SyntaxAnnotation(); 108SyntaxAnnotation annotation,
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
79var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
57var dummyObjectAnnotation = new SyntaxAnnotation();
src\Analyzers\CSharp\CodeFixes\UseImplicitOrExplicitType\UseExplicitTypeCodeFixProvider.cs (1)
96.Concat(variableDesignation.GetAllPrecedingTriviaToPreviousToken().Where(t => !t.IsWhitespace()).Select(t => t.WithoutAnnotations(SyntaxAnnotation.ElasticAnnotation)));
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
38private static readonly SyntaxAnnotation s_referenceAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (39)
Syntax\SyntaxAnnotationTests.cs (38)
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())); 258foreach (var annotation in annotations) 281SyntaxAnnotation annotation1 = new SyntaxAnnotation(); 346private void TestMultipleAnnotationsInTree(SyntaxNode oldRoot, SyntaxNode newRoot, List<SyntaxAnnotation> annotations) 348foreach (var annotation in annotations) 385var annotations = new List<SyntaxAnnotation>(Enumerable.Range(0, 10).Select(_ => new SyntaxAnnotation())); 395foreach (var annotation in annotations) 471var annotations = new List<Tuple<SyntaxAnnotation, SyntaxNodeOrToken>>(); 480var rootAnnotation = new SyntaxAnnotation(); 488var annotation = new SyntaxAnnotation(); 504var firstAnnotation = new SyntaxAnnotation(); 505var secondAnnotation = new SyntaxAnnotation(); 545public SyntaxNodeOrToken AddAnnotationTo(SyntaxAnnotation annotation, SyntaxNodeOrToken nodeOrToken) 550private void TestAnnotations(List<Tuple<SyntaxAnnotation, SyntaxNodeOrToken>> annotations, SyntaxNode currentRoot) 555var annotation = pair.Item1; 564var annotation = new SyntaxAnnotation(); 578var annotation = new SyntaxAnnotation(); 602private void TestAnnotation(SyntaxAnnotation annotation, SyntaxNode root, SyntaxNodeOrToken oldNodeOrToken) 614private void TestAnnotation(SyntaxAnnotation annotation, SyntaxNode root, SyntaxNode oldNode) 628private void TestAnnotation(SyntaxAnnotation annotation, SyntaxNode root, SyntaxToken oldToken) 642private void TestAnnotation(SyntaxAnnotation annotation, SyntaxNode root, SyntaxTrivia oldTrivia) 714private readonly SyntaxAnnotation _annotation; 716public InjectAnnotationRewriter(SyntaxAnnotation annotation) : 760private readonly List<SyntaxAnnotation> _annotations; 763public InjectRandomAnnotationsRewriter(List<SyntaxAnnotation> annotations) : 777var annotation = _annotations[_random.Next(0, _annotations.Count - 1)]; 788var annotation = _annotations[_random.Next(0, _annotations.Count - 1)]; 805var annotation = _annotations[_random.Next(0, _annotations.Count - 1)];
Syntax\SyntaxNodeTests.cs (1)
514var myAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
Rename\CSharpRenameRewriterLanguageService.cs (1)
289var annotation = new SyntaxAnnotation();
Simplification\CSharpSimplificationService.cs (1)
53public override SyntaxNode Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation? annotationForReplacedAliasIdentifier, Func<SyntaxNode, bool>? expandInsideNode, bool expandParameter, CancellationToken cancellationToken)
Simplification\CSharpSimplificationService.Expander.cs (3)
49private readonly SyntaxAnnotation _annotationForReplacedAliasIdentifier; 57SyntaxAnnotation annotationForReplacedAliasIdentifier = null) 542var aliasAnnotationInfo = AliasAnnotation.Create(aliasInfo.Name);
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
45var annotation = new SyntaxAnnotation();
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
102SyntaxAnnotation aliasAnnotationInfo = null;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
45basePropertyDeclaration.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Any())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (2)
203foreach (var annotation in codeGenSymbol.GetAnnotations()) 218foreach (var annotation in codeGenSymbol.GetAnnotations())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseNamespaceDeclarationSyntaxExtensions.cs (1)
17params SyntaxAnnotation[] annotations) where TNamespaceDeclarationSyntax : BaseNamespaceDeclarationSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (3)
84params SyntaxAnnotation[] annotations) 94params SyntaxAnnotation[] annotations) 117params SyntaxAnnotation[] annotations)
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();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Lightup\NullableSyntaxAnnotationEx.cs (4)
16public static SyntaxAnnotation? Oblivious { get; } 17public static SyntaxAnnotation? AnnotatedOrNotAnnotated { get; } 24Oblivious = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(Oblivious), BindingFlags.Static | BindingFlags.Public)?.GetValue(null); 25AnnotatedOrNotAnnotated = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(AnnotatedOrNotAnnotated), BindingFlags.Static | BindingFlags.Public)?.GetValue(null);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (7)
CodeGeneration\AddAttributesTests.cs (1)
60var formatted = await Formatter.FormatAsync(changedDoc, SyntaxAnnotation.ElasticAnnotation, CSharpSyntaxFormattingOptions.Default, CancellationToken.None);
CodeGeneration\AddImportsTests.cs (2)
95var formatted = await Formatter.FormatAsync(imported, SyntaxAnnotation.ElasticAnnotation, formattingOptions, CancellationToken.None); 103var formatted = await Formatter.FormatAsync(reduced, SyntaxAnnotation.ElasticAnnotation, formattingOptions, CancellationToken.None);
CodeGeneration\SymbolEditorTests.cs (1)
58document = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, CSharpSyntaxFormattingOptions.Default, CancellationToken.None);
CodeGeneration\SyntaxGeneratorTests.cs (1)
4585var elasticOnlyFormatted = Formatter.Format(newRoot, SyntaxAnnotation.ElasticAnnotation, _workspace.Services.SolutionServices, CSharpSyntaxFormattingOptions.Default, CancellationToken.None).ToFullString();
Formatting\FormattingElasticTriviaTests.cs (1)
132var elasticOnlyFormatted = Formatter.Format(newRoot, SyntaxAnnotation.ElasticAnnotation, workspace.Services.SolutionServices, options, CancellationToken.None).ToFullString();
Formatting\FormattingTriviaTests.cs (1)
1789.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation));
Microsoft.CodeAnalysis.Features (89)
AddImport\References\Reference.cs (1)
91var annotation = new SyntaxAnnotation();
ChangeSignature\AbstractChangeSignatureService.cs (2)
36protected SyntaxAnnotation changeSignatureFormattingAnnotation = new("ChangeSignatureFormatting"); 426var formattedDoc = await Formatter.FormatAsync(reducedDoc, SyntaxAnnotation.ElasticAnnotation, cleanupOptions.FormattingOptions, cancellationToken).ConfigureAwait(false);
ChangeSignature\IUnifiedArgumentSyntax.cs (1)
15IUnifiedArgumentSyntax WithAdditionalAnnotations(SyntaxAnnotation annotation);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
43var annotation = new SyntaxAnnotation();
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (1)
30public static SyntaxAnnotation NamespaceScopeMovedAnnotation = new(nameof(MoveTypeOperationKind.MoveTypeNamespaceScope));
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
71protected static SyntaxAnnotation ContainerAnnotation { get; } = new SyntaxAnnotation(); 73protected static SyntaxAnnotation WarningAnnotation { get; }
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (2)
24private readonly SyntaxAnnotation _annotation = new(); 25private readonly SyntaxAnnotation _otherAnnotation = new();
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
56protected static SyntaxAnnotation CreateWarningAnnotation()
EncapsulateField\AbstractEncapsulateFieldService.cs (3)
40protected abstract Task<SyntaxNode> RewriteFieldNameAndAccessibilityAsync(string originalFieldName, bool makePrivate, Document document, SyntaxAnnotation declarationAnnotation, CancellationToken cancellationToken); 177var declarationAnnotation = new SyntaxAnnotation(); 341SyntaxAnnotation annotation,
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
209private static async Task<INamedTypeSymbol> GetNewTypeSymbolAsync(Document document, SyntaxAnnotation typeAnnotation, CancellationToken cancellationToken)
ExtractInterface\AbstractExtractInterfaceService.cs (3)
44ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap, 316SyntaxAnnotation typeNodeAnnotation, 320ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap,
ExtractMethod\AbstractSyntaxTriviaService.cs (2)
64Dictionary<TriviaLocation, SyntaxAnnotation> annotations, 72Dictionary<TriviaLocation, SyntaxAnnotation> annotations)
ExtractMethod\AbstractSyntaxTriviaService.Result.cs (3)
22private readonly Dictionary<TriviaLocation, SyntaxAnnotation> _annotations; 28Dictionary<TriviaLocation, SyntaxAnnotation> annotations, 262SyntaxAnnotation annotation)
ExtractMethod\Extensions.cs (1)
33public static SyntaxToken GetTokenWithAnnotation(this SemanticDocument document, SyntaxAnnotation annotation)
ExtractMethod\InsertionPoint.cs (2)
13private readonly SyntaxAnnotation _annotation; 16public InsertionPoint(SemanticDocument document, SyntaxAnnotation annotation)
ExtractMethod\ISyntaxTriviaService.cs (1)
33internal delegate SyntaxToken AnnotationResolver(SyntaxNode root, TriviaLocation location, SyntaxAnnotation annotation);
ExtractMethod\MethodExtractor.CodeGenerator.cs (6)
39protected readonly SyntaxAnnotation MethodNameAnnotation; 40protected readonly SyntaxAnnotation MethodDefinitionAnnotation; 41protected readonly SyntaxAnnotation CallSiteAnnotation; 308protected static HashSet<SyntaxAnnotation> CreateVariableDeclarationToRemoveMap( 311var annotations = new List<(SyntaxToken, SyntaxAnnotation)>(); 322return new HashSet<SyntaxAnnotation>(annotations.Select(t => t.Item2));
ExtractMethod\MethodExtractor.cs (3)
164var annotation = new SyntaxAnnotation(); 192var annotations = new List<(SyntaxToken, SyntaxAnnotation)>(analyzeResult.Variables.Length); 198var insertionPointAnnotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.GeneratedCode.cs (6)
15SyntaxAnnotation methodNameAnnotation, 16SyntaxAnnotation callSiteAnnotation, 17SyntaxAnnotation methodDefinitionAnnotation) 32public SyntaxAnnotation MethodNameAnnotation { get; } 33public SyntaxAnnotation CallSiteAnnotation { get; } 34public SyntaxAnnotation MethodDefinitionAnnotation { get; }
ExtractMethod\MethodExtractor.TriviaResult.cs (2)
35var callsiteAnnotation = generatedCode.CallSiteAnnotation; 36var methodDefinitionAnnotation = generatedCode.MethodDefinitionAnnotation;
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
99List<(SyntaxToken, SyntaxAnnotation)> annotations, CancellationToken cancellationToken)
ExtractMethod\MethodExtractor.VariableSymbol.cs (7)
35public abstract SyntaxAnnotation IdentifierTokenAnnotation { get; } 39List<(SyntaxToken, SyntaxAnnotation)> annotations, CancellationToken cancellationToken); 105public override SyntaxAnnotation IdentifierTokenAnnotation => throw ExceptionUtilities.Unreachable(); 108List<(SyntaxToken, SyntaxAnnotation)> annotations, CancellationToken cancellationToken) 193private readonly SyntaxAnnotation _annotation = new(); 256public override SyntaxAnnotation IdentifierTokenAnnotation => _annotation; 261List<(SyntaxToken, SyntaxAnnotation)> annotations, CancellationToken cancellationToken)
ExtractMethod\SelectionResult.cs (6)
29SyntaxAnnotation firstTokenAnnotation, 30SyntaxAnnotation lastTokenAnnotation, 70public SyntaxAnnotation FirstTokenAnnotation { get; } 71public SyntaxAnnotation LastTokenAnnotation { get; } 213protected static SyntaxNode AddAnnotations(SyntaxNode root, IEnumerable<(SyntaxToken, SyntaxAnnotation)> pairs) 226protected static SyntaxNode AddAnnotations(SyntaxNode root, IEnumerable<(SyntaxNode, SyntaxAnnotation)> pairs)
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
22private static readonly SyntaxAnnotation s_specializedFormattingAnnotation = new();
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_annotation = new();
MoveToNamespace\AbstractMoveToNamespaceService.cs (1)
279var formattedDocument = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, formattingOptions, cancellationToken).ConfigureAwait(false);
PullMemberUp\MembersPuller.cs (2)
34private static readonly SyntaxAnnotation s_removableImportAnnotation = new("PullMemberRemovableImport"); 35private static readonly SyntaxAnnotation s_destinationNodeAnnotation = new("DestinationNode");
Shared\Utilities\AnnotatedSymbolMapping.cs (7)
16ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap, 19SyntaxAnnotation typeNodeAnnotation) 25public ImmutableDictionary<ISymbol, SyntaxAnnotation> SymbolToDeclarationAnnotationMap { get; } = symbolToDeclarationAnnotationMap; 40public SyntaxAnnotation TypeNodeAnnotation { get; } = typeNodeAnnotation; 53using var _ = PooledDictionary<ISymbol, SyntaxAnnotation>.GetInstance(out var symbolToDeclarationAnnotationMap); 58var typeNodeAnnotation = new SyntaxAnnotation(); 82var annotation = new SyntaxAnnotation();
Shared\Utilities\ExtractTypeHelpers.cs (4)
29public static async Task<(Document containingDocument, SyntaxAnnotation typeAnnotation)> AddTypeToExistingFileAsync(Document document, INamedTypeSymbol newType, AnnotatedSymbolMapping symbolMapping, CancellationToken cancellationToken) 41var typeAnnotation = new SyntaxAnnotation(); 50public static async Task<(Document containingDocument, SyntaxAnnotation typeAnnotation)> AddTypeToNewFileAsync( 101var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetFunctionService.cs (1)
143var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetProviders\AbstractSnippetProvider.cs (3)
30protected static readonly SyntaxAnnotation FindSnippetAnnotation = new(); 132(oldToken, _) => oldToken.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation) 157document = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, syntaxFormattingOptions, cancellationToken: cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\AddAnonymousTypeMemberName\AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
89var annotation = diagnostics.Length == 1 ? RenameAnnotation.Create() : null; 102SyntaxEditor editor, SyntaxAnnotation? annotation, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (2)
102var annotation = new SyntaxAnnotation(); 120Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
58private static readonly SyntaxAnnotation s_memberAnnotation = new(); 59private static readonly SyntaxAnnotation s_newLocalDeclarationStatementAnnotation = new(); 60private static readonly SyntaxAnnotation s_unusedLocalDeclarationAnnotation = new(); 61private static readonly SyntaxAnnotation s_existingLocalDeclarationWithoutInitializerAnnotation = new();
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
36protected static SyntaxAnnotation SpecializedFormattingAnnotation = new();
Wrapping\AbstractCodeActionComputer.cs (1)
45private static readonly SyntaxAnnotation s_toFormatAnnotation = new();
Microsoft.CodeAnalysis.UnitTests (1)
CommonSyntaxTests.cs (1)
234var annotation = trackedExpr.GetAnnotatedNodes(SyntaxNodeExtensions.IdAnnotationKind).First()
Microsoft.CodeAnalysis.VisualBasic (811)
Generated\Syntax.xml.Internal.Generated.vb (542)
44Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 66Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 89Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 123Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 159Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 201Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 254Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 327Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), options As GreenNode, [imports] As GreenNode, attributes As GreenNode, members As GreenNode, endOfFileToken As InternalSyntax.PunctuationSyntax) 440Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 491Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax) 561Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 607Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As GreenNode) 663Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 689Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 732Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [alias] As ImportAliasClauseSyntax, name As NameSyntax) 787Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 829Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 879Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 926Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 983Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1034Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceStatement As NamespaceStatementSyntax, members As GreenNode, endNamespaceStatement As EndBlockStatementSyntax) 1102Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1145Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1195Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode) 1342Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), moduleStatement As ModuleStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endModuleStatement As EndBlockStatementSyntax) 1398Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1441Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), structureStatement As StructureStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endStructureStatement As EndBlockStatementSyntax) 1497Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1540Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), interfaceStatement As InterfaceStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endInterfaceStatement As EndBlockStatementSyntax) 1596Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1639Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), classStatement As ClassStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endClassStatement As EndBlockStatementSyntax) 1695Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1747Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As EnumStatementSyntax, members As GreenNode, endEnumStatement As EndBlockStatementSyntax) 1815Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1842Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 1884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), inheritsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 1936Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1982Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 2034Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2099Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2197Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2242Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2280Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2325Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2363Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2408Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2446Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2491Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2561Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax) 2668Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2724Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 2803Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2858Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax) 2933Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2960Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 2999Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 3051Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3108Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 3187Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3214Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 3249Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), constraintKeyword As InternalSyntax.KeywordSyntax) 3286Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3323Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 3359Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3414Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 3481Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3523Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode) 3580Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As MethodStatementSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 3632Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subNewStatement As SubNewStatementSyntax, statements As GreenNode, endSubStatement As EndBlockStatementSyntax) 3727Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3770Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorStatement As OperatorStatementSyntax, statements As GreenNode, endOperatorStatement As EndBlockStatementSyntax) 3822Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3866Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), accessorStatement As AccessorStatementSyntax, statements As GreenNode, endAccessorStatement As EndBlockStatementSyntax) 3920Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3972Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), propertyStatement As PropertyStatementSyntax, accessors As GreenNode, endPropertyStatement As EndBlockStatementSyntax) 4038Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4090Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventStatement As EventStatementSyntax, accessors As GreenNode, endEventStatement As EndBlockStatementSyntax) 4156Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4216Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, parameterList As ParameterListSyntax) 4318Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 4388Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4469Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) 4600Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4644Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 4700Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4793Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 4962Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5027Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5134Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5205Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) 5317Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5371Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5446Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5518Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) 5631Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5671Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 5715Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5762Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As GreenNode) 5814Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5861Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), handlesKeyword As InternalSyntax.KeywordSyntax, events As GreenNode) 5913Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5939Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 5973Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 6010Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6047Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 6084Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6131Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 6195Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6242Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 6307Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6368Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 6449Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6511Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, declarators As GreenNode) 6589Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6649Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), names As GreenNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 6727Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6765Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax) 6822Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax) 6880Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6920Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 6959Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 7038Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 7116Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7159Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 7209Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7249Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax) 7301Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 7340Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7393Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 7471Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7514Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 7564Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7637Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) 7750Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7815Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As GreenNode) 7907Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7959Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 8027Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8078Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 8146Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8203Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 8278Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8320Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 8372Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8414Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode) 8455Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8494Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax) 8530Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8572Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 8622Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8674Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileStatement As WhileStatementSyntax, statements As GreenNode, endWhileStatement As EndBlockStatementSyntax) 8742Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8794Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As UsingStatementSyntax, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax) 8863Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8915Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockStatement As SyncLockStatementSyntax, statements As GreenNode, endSyncLockStatement As EndBlockStatementSyntax) 8984Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9036Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As WithStatementSyntax, statements As GreenNode, endWithStatement As EndBlockStatementSyntax) 9105Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9155Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifiers As GreenNode, declarators As GreenNode) 9211Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 9304Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9346Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 9397Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9435Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken) 9472Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9510Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stopOrEndKeyword As InternalSyntax.KeywordSyntax) 9546Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9589Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9639Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9682Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9733Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9779Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 9834Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9899Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode, elseClause As SingleLineElseClauseSyntax) 9999Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10045Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode) 10101Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10171Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifStatement As IfStatementSyntax, statements As GreenNode, elseIfBlocks As GreenNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) 10278Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10397Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10443Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfStatement As ElseIfStatementSyntax, statements As GreenNode) 10499Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10550Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10618Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10664Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseStatement As ElseStatementSyntax, statements As GreenNode) 10719Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10756Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 10792Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10861Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryStatement As TryStatementSyntax, statements As GreenNode, catchBlocks As GreenNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) 10966Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryKeyword As InternalSyntax.KeywordSyntax) 11039Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11085Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchStatement As CatchStatementSyntax, statements As GreenNode) 11141Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11205Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) 11297Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11339Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 11389Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11435Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyStatement As FinallyStatementSyntax, statements As GreenNode) 11490Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11527Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyKeyword As InternalSyntax.KeywordSyntax) 11563Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11605Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 11655Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11716Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax) 11811Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11863Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax) 11939Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 12043Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12095Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As GreenNode, endSelectStatement As EndBlockStatementSyntax) 12163Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12215Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12283Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseStatement As CaseStatementSyntax, statements As GreenNode) 12384Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12432Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseKeyword As InternalSyntax.KeywordSyntax, cases As GreenNode) 12485Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12512Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 12545Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 12581Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12618Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), value As ExpressionSyntax) 12654Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12701Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 12764Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12815Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 12884Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12927Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12977Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13029Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doStatement As DoStatementSyntax, statements As GreenNode, loopStatement As LoopStatementSyntax) 13097Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13199Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13245Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13301Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13345Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13395Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13438Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13488Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode, nextStatement As NextStatementSyntax) 13607Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As ForStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13648Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13687Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As ForEachStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13728Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13768Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode) 13857Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 13955Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13997Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 14047Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14100Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14167Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14216Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As GreenNode) 14271Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14328Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As GreenNode) 14403Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14449Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14504Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14552Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 14616Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14658Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 14708Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14750Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 14801Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14854Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax) 14930Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14981Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 15049Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15093Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 15143Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15198Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As GreenNode) 15269Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15311Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 15361Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15407Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eraseKeyword As InternalSyntax.KeywordSyntax, expressions As GreenNode) 15459Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15485Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 15522Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), token As InternalSyntax.SyntaxToken) 15566Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15613Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 15676Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15727Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15792Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15843Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, elements As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15908Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15934Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 15967Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 16003Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16050Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 16105Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16141Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16178Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16201Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16229Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16252Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16280Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16303Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16355Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16431Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16483Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax) 16559Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16615Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16696Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16748Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 16816Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16887Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax) 16991Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17043Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 17103Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17147Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode) 17229Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) 17307Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17344Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, initializer As ObjectMemberInitializerSyntax) 17385Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17445Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As GreenNode, initializer As CollectionInitializerSyntax) 17536Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17588Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 17656Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17717Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17806Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17840Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17865Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17899Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17924Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17958Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18011Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18087Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18136Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 18196Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18238Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 18288Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18351Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18453Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18526Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18654Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18689Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax) 18736Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 18776Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18822Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 18882Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18928Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 18990Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19041Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 19110Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19137Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 19171Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 19207Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19254Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 19309Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19351Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 19401Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19449Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 19512Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19555Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), clauses As GreenNode) 19594Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 19673Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19754Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19801Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 19857Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19905Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 19963Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20014Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 20082Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20109Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 20170Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 20261Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20300Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax) 20336Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20384Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20436Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20482Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), letKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20534Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20603Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), aggregateKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, additionalQueryOperators As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 20701Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20738Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), distinctKeyword As InternalSyntax.KeywordSyntax) 20774Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20816Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20866Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20914Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20977Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21019Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 21069Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, items As GreenNode, byKeyword As InternalSyntax.KeywordSyntax, keys As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21252Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21319Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21429Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 21492Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21520Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21552Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21603Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21678Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21729Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As GreenNode) 21794Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21841Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 21897Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21943Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 21996Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22023Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 22079Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), declaration As XmlDeclarationSyntax, precedingMisc As GreenNode, root As XmlNodeSyntax, followingMisc As GreenNode) 22153Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22223Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 22317Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22365Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax) 22419Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22470Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startTag As XmlElementStartTagSyntax, content As GreenNode, endTag As XmlElementEndTagSyntax) 22529Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22570Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textTokens As GreenNode) 22609Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22665Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 22734Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22785Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 22844Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax) 22969Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23016Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 23070Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23096Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 23144Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax) 23203Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23240Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax) 23273Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23321Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 23370Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23419Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 23473Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23515Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 23559Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23611Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax) 23667Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23724Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 23790Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23841Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax) 23897Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23945Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax) 23999Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24027Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24070Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, rankSpecifiers As GreenNode) 24122Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24164Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 24215Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 24289Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24316Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24347Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 24385Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 24408Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24446Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 24485Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24532Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 24597Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24634Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), globalKeyword As InternalSyntax.KeywordSyntax) 24670Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24726Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 24804Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24860Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 24924Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24976Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 25032Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25079Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 25133Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25172Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 25216Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25260Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 25314Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25356Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25406Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25448Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25498Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25552Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25575Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25591Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25616Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, possibleKeywordKind As SyntaxKind) 25639Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25666Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25692Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25717Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25743Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25771Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As System.Decimal) 25808Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25833Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As DateTime) 25859Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25911Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25936Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As Char) 25962Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26009Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tokens As GreenNode) 26050Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26092Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), content As GreenNode) 26130Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26189Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26263Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26322Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26396Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26447Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 26516Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26568Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 26644Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26695Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As GreenNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax) 26760Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26786Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 26819Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 26855Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26921Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax) 27021Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27064Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27114Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27157Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 27207Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27245Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 27278Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27326Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27405Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27466Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 27542Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27579Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 27615Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27657Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax) 27703Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27745Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax) 27797Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27839Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax) 27891Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27954Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 28040Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28082Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax) 28128Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28200Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 28306Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28357Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28415Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28466Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28524Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28566Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax) 28612Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28643Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 28666Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode
Generated\Syntax.xml.Syntax.Generated.vb (244)
182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 286Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 402Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), options As SyntaxNode, [imports] As SyntaxNode, attributes As SyntaxNode, members As SyntaxNode, endOfFileToken As InternalSyntax.PunctuationSyntax) 623Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax) 760Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As SyntaxNode) 900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [alias] As ImportAliasClauseSyntax, name As NameSyntax) 1016Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 1123Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 1251Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceStatement As NamespaceStatementSyntax, members As SyntaxNode, endNamespaceStatement As EndBlockStatementSyntax) 1400Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1624Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endModuleStatement As EndBlockStatementSyntax) 1876Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), structureStatement As StructureStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endStructureStatement As EndBlockStatementSyntax) 2128Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endInterfaceStatement As EndBlockStatementSyntax) 2380Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), classStatement As ClassStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endClassStatement As EndBlockStatementSyntax) 2633Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As EnumStatementSyntax, members As SyntaxNode, endEnumStatement As EndBlockStatementSyntax) 2797Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), inheritsKeyword As InternalSyntax.KeywordSyntax, types As SyntaxNode) 2915Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, types As SyntaxNode) 3175Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3427Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3679Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3931Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 4185Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax) 4388Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 4550Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax) 4711Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 4825Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 5006Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), constraintKeyword As InternalSyntax.KeywordSyntax) 5094Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 5182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 5376Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 5541Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subNewStatement As SubNewStatementSyntax, statements As SyntaxNode, endSubStatement As EndBlockStatementSyntax) 5703Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorStatement As OperatorStatementSyntax, statements As SyntaxNode, endOperatorStatement As EndBlockStatementSyntax) 5870Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), accessorStatement As AccessorStatementSyntax, statements As SyntaxNode, endAccessorStatement As EndBlockStatementSyntax) 6038Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), propertyStatement As PropertyStatementSyntax, accessors As SyntaxNode, endPropertyStatement As EndBlockStatementSyntax) 6187Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventStatement As EventStatementSyntax, accessors As SyntaxNode, endEventStatement As EndBlockStatementSyntax) 6454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, parameters As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 6606Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) 6986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 7235Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 7667Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 8003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) 8343Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 8623Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) 8967Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 9197Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As SyntaxNode) 9317Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), handlesKeyword As InternalSyntax.KeywordSyntax, events As SyntaxNode) 9450Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 9534Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 9620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 9758Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 9898Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 10063Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, declarators As SyntaxNode) 10232Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), names As SyntaxNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 10432Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax) 10587Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 10722Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 10884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 11047Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 11175Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 11368Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 11481Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) 11698Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As SyntaxNode) 11879Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 12018Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, attributes As SyntaxNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 12163Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 12312Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 12422Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode) 12520Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax) 12608Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 12722Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileStatement As WhileStatementSyntax, statements As SyntaxNode, endWhileStatement As EndBlockStatementSyntax) 12873Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As UsingStatementSyntax, statements As SyntaxNode, endUsingStatement As EndBlockStatementSyntax) 13025Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockStatement As SyncLockStatementSyntax, statements As SyntaxNode, endSyncLockStatement As EndBlockStatementSyntax) 13177Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As WithStatementSyntax, statements As SyntaxNode, endWithStatement As EndBlockStatementSyntax) 13326Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifiers As GreenNode, declarators As SyntaxNode) 13454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 13562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 13675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken) 13764Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stopOrEndKeyword As InternalSyntax.KeywordSyntax) 13859Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 13971Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 14082Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14198Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As SyntaxNode, elseClause As SingleLineElseClauseSyntax) 14397Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax, statements As SyntaxNode) 14522Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifStatement As IfStatementSyntax, statements As SyntaxNode, elseIfBlocks As SyntaxNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) 14739Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 14879Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfStatement As ElseIfStatementSyntax, statements As SyntaxNode) 15003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 15143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseStatement As ElseStatementSyntax, statements As SyntaxNode) 15265Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 15353Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryStatement As TryStatementSyntax, statements As SyntaxNode, catchBlocks As SyntaxNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) 15567Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryKeyword As InternalSyntax.KeywordSyntax) 15652Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchStatement As CatchStatementSyntax, statements As SyntaxNode) 15778Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) 15949Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 16060Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyStatement As FinallyStatementSyntax, statements As SyntaxNode) 16182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyKeyword As InternalSyntax.KeywordSyntax) 16266Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 16379Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax) 16561Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax) 16713Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 16834Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As SyntaxNode, endSelectStatement As EndBlockStatementSyntax) 16983Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 17124Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseStatement As CaseStatementSyntax, statements As SyntaxNode) 17258Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseKeyword As InternalSyntax.KeywordSyntax, cases As SyntaxNode) 17395Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 17479Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), value As ExpressionSyntax) 17567Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 17708Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 17851Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 17969Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doStatement As DoStatementSyntax, statements As SyntaxNode, loopStatement As LoopStatementSyntax) 18122Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 18242Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 18363Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 18478Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 18672Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As ForStatementSyntax, statements As SyntaxNode, nextStatement As NextStatementSyntax) 18856Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As ForEachStatementSyntax, statements As SyntaxNode, nextStatement As NextStatementSyntax) 19110Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 19360Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 19477Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19677Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As SyntaxNode) 19802Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As SyntaxNode) 19954Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 20080Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 20218Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 20333Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 20448Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax) 20609Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 20754Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 20866Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As SyntaxNode) 21018Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 21138Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eraseKeyword As InternalSyntax.KeywordSyntax, expressions As SyntaxNode) 21281Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), token As InternalSyntax.SyntaxToken) 21375Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 21507Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 21647Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, elements As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 21802Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 21890Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 22042Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22133Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22224Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22316Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 22470Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax) 22629Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 22787Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 22933Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax) 23129Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 23329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) 23555Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, initializer As ObjectMemberInitializerSyntax) 23728Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As SyntaxNode, initializer As CollectionInitializerSyntax) 23990Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, initializers As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 24284Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 24526Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 24768Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25015Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25194Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 25331Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 25447Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25649Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25935Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 26064Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 26228Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 26485Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 26645Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 26730Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 26848Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 26960Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 27098Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), clauses As SyntaxNode) 27210Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 27376Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 27498Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 27620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 27776Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 27947Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax) 28033Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 28152Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), letKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 28273Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), aggregateKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode, additionalQueryOperators As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 28478Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), distinctKeyword As InternalSyntax.KeywordSyntax) 28562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 28675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 28811Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 28926Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, items As SyntaxNode, byKeyword As InternalSyntax.KeywordSyntax, keys As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 29303Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 29436Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As SyntaxNode, additionalJoins As SyntaxNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As SyntaxNode) 29687Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As SyntaxNode, additionalJoins As SyntaxNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 30013Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As SyntaxNode) 30155Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 30277Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 30416Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), declaration As XmlDeclarationSyntax, precedingMisc As SyntaxNode, root As XmlNodeSyntax, followingMisc As SyntaxNode) 30586Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 30778Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax) 30900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startTag As XmlElementStartTagSyntax, content As SyntaxNode, endTag As XmlElementEndTagSyntax) 31037Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textTokens As GreenNode) 31131Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As SyntaxNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 31283Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 31409Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As SyntaxNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax) 31562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 31702Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax) 31831Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax) 31913Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 32022Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 32143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 32243Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax) 32370Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 32513Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax) 32641Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax) 32783Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, rankSpecifiers As SyntaxNode) 32903Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 33015Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 33153Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 33246Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 33371Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 33506Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), globalKeyword As InternalSyntax.KeywordSyntax) 33590Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 33754Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 33896Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 34024Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 34134Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 34233Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 34358Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 34469Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 34589Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tokens As GreenNode) 34684Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), content As SyntaxNode) 34780Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 34945Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 35108Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 35248Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 35401Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As SyntaxNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax) 35552Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 35639Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax) 35829Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 35939Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 36085Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 36268Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 36454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 36565Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax) 36694Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax) 36828Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax) 36964Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 37165Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax) 37294Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 37531Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As SyntaxNode) 37691Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As SyntaxNode) 37850Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax) 37981Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax)
Syntax\InternalSyntax\BadTokenSyntax.vb (2)
19Friend Sub New(kind As SyntaxKind, subKind As SyntaxSubKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 43Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode
Syntax\InternalSyntax\ComplexIdentifierSyntax.vb (2)
22Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode, possibleKeywordKind As SyntaxKind, isBracketed As Boolean, identifierText As String, typeCharacter As TypeCharacter) 88Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode
Syntax\InternalSyntax\IdentifierTokenSyntax.vb (1)
21Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode)
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (2)
10Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 64Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode
Syntax\InternalSyntax\StructuredTriviaSyntax.vb (1)
29Friend Sub New(ByVal kind As SyntaxKind, ByVal errors As DiagnosticInfo(), ByVal annotations As SyntaxAnnotation())
Syntax\InternalSyntax\SyntaxFactory.vb (2)
50Return trivia.WithAnnotations(SyntaxAnnotation.ElasticAnnotation) 59Return trivia.WithAnnotations(SyntaxAnnotation.ElasticAnnotation)
Syntax\InternalSyntax\SyntaxLiterals.vb (6)
57Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter, value As T) 95Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode 115Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter) 155Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As T) 193Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode 211Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter)
Syntax\InternalSyntax\SyntaxNode.vb (2)
142Friend Sub New(kind As SyntaxKind, diagnostics As DiagnosticInfo(), annotations As SyntaxAnnotation()) 147Friend Sub New(kind As SyntaxKind, diagnostics As DiagnosticInfo(), annotations As SyntaxAnnotation(), fullWidth As Integer)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (4)
20Public Function WithAnnotations(Of TNode As VisualBasicSyntaxNode)(node As TNode, ParamArray annotations() As SyntaxAnnotation) As TNode 26Public Function WithAdditionalAnnotations(Of TNode As VisualBasicSyntaxNode)(node As TNode, ParamArray annotations() As SyntaxAnnotation) As TNode 32Public Function WithoutAnnotations(Of TNode As VisualBasicSyntaxNode)(node As TNode, ParamArray removalAnnotations() As SyntaxAnnotation) As TNode 33Dim newAnnotations = ArrayBuilder(Of SyntaxAnnotation).GetInstance()
Syntax\InternalSyntax\SyntaxToken.vb (1)
124Protected Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode)
Syntax\InternalSyntax\SyntaxTrivia.vb (1)
19Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String)
Syntax\SyntaxNodeExtensions.vb (1)
16Public Function WithAnnotations(Of TNode As VisualBasicSyntaxNode)(node As TNode, ParamArray annotations As SyntaxAnnotation()) As TNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (5)
581ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 611ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 640ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 668annotations As SyntaxAnnotation(), 716ParamArray annotations As SyntaxAnnotation()) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\CompilationUnitSyntaxExtensions.vb (2)
48ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax 56ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (1)
113Array.Empty(Of SyntaxAnnotation))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
22Private Shared ReadOnly GeneratedSymbolAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Features (11)
ChangeSignature\UnifiedArgumentSyntax.vb (1)
51Public Function WithAdditionalAnnotations(annotation As SyntaxAnnotation) As IUnifiedArgumentSyntax Implements IUnifiedArgumentSyntax.WithAdditionalAnnotations
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
28declarationAnnotation As SyntaxAnnotation,
ExtractInterface\VisualBasicExtractInterfaceService.vb (1)
103symbolToDeclarationAnnotationMap As ImmutableDictionary(Of ISymbol, SyntaxAnnotation), cancellationToken As CancellationToken) As Task(Of Solution)
ExtractMethod\Extensions.vb (2)
358Public Function HasSyntaxAnnotation([set] As HashSet(Of SyntaxAnnotation), node As SyntaxNode) As Boolean 392Public Function ProcessLocalDeclarationStatement(variableToRemoveMap As HashSet(Of SyntaxAnnotation),
ExtractMethod\VisualBasicMethodExtractor.TriviaResult.vb (1)
50annotation As SyntaxAnnotation,
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (3)
16Private ReadOnly _variableToRemoveMap As HashSet(Of SyntaxAnnotation) 20Private Shared ReadOnly s_removeAnnotation As SyntaxAnnotation = New SyntaxAnnotation() 23variableToRemoveMap As HashSet(Of SyntaxAnnotation),
ExtractMethod\VisualBasicSelectionResult.vb (2)
54firstTokenAnnotation As SyntaxAnnotation, 55lastTokenAnnotation As SyntaxAnnotation,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (14)
Syntax\SyntaxAnnotationTests.vb (14)
238Dim annotations = New List(Of SyntaxAnnotation)(Enumerable.Range(0, 3).Select(Function(x) 323Private Sub TestMultipleAnnotationsInTree(oldRoot As SyntaxNode, newRoot As SyntaxNode, annotations As List(Of SyntaxAnnotation)) 357Dim annotations = New List(Of SyntaxAnnotation)(Enumerable.Range(0, 10).Select(Function(s) New SyntaxAnnotation())) 433Dim annotations = New List(Of Tuple(Of SyntaxAnnotation, SyntaxNodeOrToken))() 502Public Function AddAnnotationTo(annotation As SyntaxAnnotation, nodeOrToken As SyntaxNodeOrToken) As SyntaxNodeOrToken 506Private Sub TestAnnotations(annotations As List(Of Tuple(Of SyntaxAnnotation, SyntaxNodeOrToken)), currentRoot As SyntaxNode) 547Private Sub TestAnnotation(annotation As SyntaxAnnotation, root As SyntaxNode, oldNodeOrToken As SyntaxNodeOrToken) 557Private Sub TestAnnotation(annotation As SyntaxAnnotation, root As SyntaxNode, oldNode As SyntaxNode) 570Private Sub TestAnnotation(annotation As SyntaxAnnotation, root As SyntaxNode, oldToken As SyntaxToken) 583Private Sub TestAnnotation(annotation As SyntaxAnnotation, root As SyntaxNode, oldTrivia As SyntaxTrivia) 665Private ReadOnly _annotation As SyntaxAnnotation 667Public Sub New(annotation As SyntaxAnnotation) 703Private ReadOnly _annotations As List(Of SyntaxAnnotation) 706Public Sub New(annotations As List(Of SyntaxAnnotation))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (11)
Simplification\VisualBasicSimplificationService.Expander.vb (2)
21Private ReadOnly _annotationForReplacedAliasIdentifier As SyntaxAnnotation 28Optional aliasReplacementAnnotation As SyntaxAnnotation = Nothing)
Simplification\VisualBasicSimplificationService.vb (1)
51Public Overrides Function Expand(node As SyntaxNode, semanticModel As SemanticModel, aliasReplacementAnnotation As SyntaxAnnotation, expandInsideNode As Func(Of SyntaxNode, Boolean), expandParameter As Boolean, cancellationToken As CancellationToken) As SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (5)
581ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 611ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 640ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 668annotations As SyntaxAnnotation(), 716ParamArray annotations As SyntaxAnnotation()) As SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\CompilationUnitSyntaxExtensions.vb (2)
48ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax 56ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (1)
113Array.Empty(Of SyntaxAnnotation))
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\AddImportsTests.vb (2)
101Dim formatted = Await Formatter.FormatAsync(imported, SyntaxAnnotation.ElasticAnnotation, formattingOptions, CancellationToken.None) 108Dim formatted = Await Formatter.FormatAsync(reduced, SyntaxAnnotation.ElasticAnnotation, formattingOptions, CancellationToken.None)
Microsoft.CodeAnalysis.Workspaces (106)
CaseCorrection\CaseCorrector.cs (2)
21public static readonly SyntaxAnnotation Annotation = new(); 41public static async Task<Document> CaseCorrectAsync(Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken = default)
CodeActions\Annotations\ConflictAnnotation.cs (2)
14public static SyntaxAnnotation Create(string description) 17public static string? GetDescription(SyntaxAnnotation annotation)
CodeActions\Annotations\NavigationAnnotation.cs (2)
13/// By using a <see cref="SyntaxAnnotation"/> this navigation location will be resilient 24public static SyntaxAnnotation Create()
CodeActions\Annotations\RenameAnnotation.cs (1)
14public static SyntaxAnnotation Create()
CodeActions\Annotations\SuppressDiagnosticsAnnotation.cs (1)
11public static SyntaxAnnotation Create()
CodeActions\Annotations\WarningAnnotation.cs (2)
14public static SyntaxAnnotation Create(string description) 17public static string? GetDescription(SyntaxAnnotation annotation)
CodeActions\CodeAction_Cleanup.cs (1)
55var document2 = await Formatter.FormatAsync(document1, SyntaxAnnotation.ElasticAnnotation, options.FormattingOptions, cancellationToken).ConfigureAwait(false);
CodeCleanup\AbstractCodeCleanerService.cs (15)
116List<(SyntaxAnnotation previousAnnotation, SyntaxAnnotation nextAnnotation)> annotations, 126var previousMarkerAnnotation = previousAnnotation; 127var nextMarkerAnnotation = nextAnnotation; 269private static (SyntaxNode newNode, List<(SyntaxAnnotation previous, SyntaxAnnotation next)> annotations) AnnotateNodeForTextSpans( 276var tokenAnnotationMap = new Dictionary<SyntaxToken, List<SyntaxAnnotation>>(); 277var annotations = new List<(SyntaxAnnotation previous, SyntaxAnnotation next)>(); 431private static bool CleanupWholeNode(List<(SyntaxAnnotation previous, SyntaxAnnotation next)> annotations) 593private static SyntaxNode InjectAnnotations(SyntaxNode node, Dictionary<SyntaxToken, List<SyntaxAnnotation>> map) 648public SyntaxAnnotation Annotation { get; } 652private SpanMarker(SpanMarkerType type, SpanMarkerType oppositeMarkerType, SyntaxAnnotation annotation) 666public static SpanMarker FromAnnotation(SyntaxAnnotation annotation)
CodeCleanup\CodeCleaner.cs (1)
60public static async Task<Document> CleanupAsync(Document document, SyntaxAnnotation annotation, CodeCleanupOptions options, ImmutableArray<ICodeCleanupProvider> providers = default, CancellationToken cancellationToken = default)
Editing\ImportAdder.cs (7)
25private static async ValueTask<IEnumerable<TextSpan>> GetSpansAsync(Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken) 44/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 46public static async Task<Document> AddImportsAsync(Document document, SyntaxAnnotation annotation, OptionSet? options = null, CancellationToken cancellationToken = default) 75/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 77internal static async Task<Document> AddImportsFromSyntaxesAsync(Document document, SyntaxAnnotation annotation, AddImportPlacementOptions options, CancellationToken cancellationToken) 93/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 95internal static async Task<Document> AddImportsFromSymbolAnnotationAsync(Document document, SyntaxAnnotation annotation, AddImportPlacementOptions options, CancellationToken cancellationToken)
Editing\SyntaxEditor.cs (1)
24/// Each change has its given <see cref="SyntaxNode"/> tracked, using a <see cref="SyntaxAnnotation"/>, producing a
Formatting\Formatter.cs (9)
29public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation(); 107public static Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, OptionSet? options = null, CancellationToken cancellationToken = default) 110internal static Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, SyntaxFormattingOptions options, CancellationToken cancellationToken) 113internal static async Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, SyntaxFormattingOptions options, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken) 120internal static async Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, OptionSet? optionSet, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken) 151public static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, Workspace workspace, OptionSet? options = null, CancellationToken cancellationToken = default) 154internal static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, SolutionServices services, SyntaxFormattingOptions options, CancellationToken cancellationToken) 157private static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, Workspace workspace, OptionSet? options, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken) 177internal static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, SolutionServices services, SyntaxFormattingOptions options, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken)
Rename\RenameUtilities.cs (2)
31var originalAliasAnnotation = token.GetAnnotations(AliasAnnotation.Kind).Single(); 37var replacementAliasAnnotation = AliasAnnotation.Create(replacementText);
Simplification\Simplifier.cs (5)
45public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation(); 51public static SyntaxAnnotation SpecialTypeAnnotation { get; } = new SyntaxAnnotation(); 57public static SyntaxAnnotation AddImportsAnnotation { get; } = new SyntaxAnnotation(); 175public static async Task<Document> ReduceAsync(Document document, SyntaxAnnotation annotation, OptionSet? optionSet = null, CancellationToken cancellationToken = default) 193internal static async Task<Document> ReduceAsync(Document document, SyntaxAnnotation annotation, SimplifierOptions options, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
327public static IEnumerable<T> GetAnnotatedNodes<T>(this SyntaxNode node, SyntaxAnnotation syntaxAnnotation) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTriviaExtensions.cs (2)
16=> trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation); 19=> trivia.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (4)
268internal static IEnumerable<TextSpan> GetAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation) 270if (annotation == SyntaxAnnotation.ElasticAnnotation) 272var tokens = node.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Select(tr => tr.Token).Distinct(); 278static IEnumerable<TextSpan> EnumerateAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AliasAnnotation.cs (2)
15public static string GetAliasName(SyntaxAnnotation annotation) 18public static SyntaxAnnotation Create(string aliasName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (2)
17public static SyntaxAnnotation Create(SpecialType specialType) 20public static SpecialType GetSpecialType(SyntaxAnnotation annotation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (3)
17public static SyntaxAnnotation Create(ISymbol symbol) 20public static ISymbol? GetSymbol(SyntaxAnnotation annotation, Compilation compilation) 23public static ImmutableArray<ISymbol> GetSymbols(SyntaxAnnotation annotation, Compilation compilation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
211var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (8)
31private readonly Dictionary<TAnnotation, SyntaxAnnotation> _realAnnotationMap = []; 34private IEnumerable<SyntaxAnnotation> GetOrCreateRealAnnotations(TAnnotation[] annotations) 42private SyntaxAnnotation GetOrCreateRealAnnotation(TAnnotation annotation) 57private IEnumerable<SyntaxAnnotation> GetRealAnnotations(TAnnotation[] annotations) 61var realAnnotation = this.GetRealAnnotation(annotation); 69private SyntaxAnnotation? GetRealAnnotation(TAnnotation annotation) 99private IEnumerable<TAnnotation> GetAnnotations(IEnumerable<SyntaxAnnotation> realAnnotations) 101foreach (var ra in realAnnotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (4)
24protected static ConditionalWeakTable<CodeGenerationSymbol, SyntaxAnnotation[]> annotationsTable = new(); 54internal SyntaxAnnotation[] GetAnnotations() 60internal CodeGenerationSymbol WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 68CodeGenerationSymbol originalDefinition, CodeGenerationSymbol newDefinition, SyntaxAnnotation[] annotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\SyntaxAnnotationExtensions.cs (4)
14this SyntaxAnnotation annotation, 23internal static SyntaxAnnotation[] CombineAnnotations( 24SyntaxAnnotation[] originalAnnotations, 25SyntaxAnnotation[] newAnnotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (2)
149var annotation = new SyntaxAnnotation(); 195foreach (var annotation in annotations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
40SyntaxAnnotation statementAnnotation) 71SyntaxAnnotation statementAnnotation)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (3)
86var warningAnnotation = crossesMeaningfulBlock 117Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation, CancellationToken cancellationToken) 158Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (6)
50public abstract SyntaxNode Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation? annotationForReplacedAliasIdentifier, Func<SyntaxNode, bool>? expandInsideNode, bool expandParameter, CancellationToken cancellationToken); 111var removeIfUnusedAnnotation = new SyntaxAnnotation(); 237var annotation = new SyntaxAnnotation(); 255var marker = new SyntaxAnnotation(); 296SyntaxAnnotation removeIfUnusedAnnotation, 310SyntaxAnnotation removeIfUnusedAnnotation,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\ISimplificationService.cs (1)
19SyntaxAnnotation? annotationForReplacedAliasIdentifier,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (4)
15public static readonly SyntaxAnnotation DoNotSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new(); 67var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault(); 75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
CodeCleanup\CodeCleanupTests.cs (2)
134var annotation = new SyntaxAnnotation(); 147var annotation = new SyntaxAnnotation();
SolutionTests\SolutionTests.cs (2)
3190var annotation = new SyntaxAnnotation(); 3693var newRoot = doc.GetSyntaxRootAsync().Result.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguageCodeSupport.cs (1)
203var annotation = new SyntaxAnnotation();