212 instantiations of SyntaxAnnotation
Microsoft.CodeAnalysis (3)
Syntax\SyntaxAnnotation.cs (2)
22ObjectBinder.RegisterTypeReader(typeof(SyntaxAnnotation), r => new SyntaxAnnotation(r)); 28public static SyntaxAnnotation ElasticAnnotation { get; } = new SyntaxAnnotation();
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
50s_nodeToIdMap.GetValue(node, n => new SyntaxAnnotation(IdAnnotationKind));
Microsoft.CodeAnalysis.CodeStyle (7)
AbstractSpeculationAnalyzer.cs (1)
185var annotation = new SyntaxAnnotation();
AliasAnnotation.cs (1)
19=> new(Kind, aliasName);
AnnotationTable.cs (1)
54realAnnotation = new SyntaxAnnotation(_annotationKind, idString);
DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
SpecialTypeAnnotation.cs (1)
18=> new(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
SymbolAnnotation.cs (1)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol));
Microsoft.CodeAnalysis.CodeStyle.Fixes (12)
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
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();
CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
SimplificationHelpers.cs (2)
15public static readonly SyntaxAnnotation DontSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
AnalyzedPattern.cs (1)
27private static readonly SyntaxAnnotation s_annotation = new();
CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
ConvertNamespaceTransform.cs (2)
53var annotation = new SyntaxAnnotation(); 76var annotation = new SyntaxAnnotation();
CSharpInlineDeclarationCodeFixProvider.cs (1)
361var annotation = new SyntaxAnnotation();
CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
MisplacedUsingDirectivesCodeFixProvider.cs (1)
35private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
48private static readonly SyntaxAnnotation s_openBracePositionAnnotation = new(); 53private static readonly SyntaxAnnotation s_replacementNodeAnnotation = new();
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
162var plusEqualsTokenAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\FormattingEngineTests.cs (1)
2317var annotation = new SyntaxAnnotation("marker");
Microsoft.CodeAnalysis.CSharp.Features (20)
AnalyzedPattern.cs (1)
27private static readonly SyntaxAnnotation s_annotation = new();
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)
31private static readonly SyntaxAnnotation DefinitionAnnotation = new(); 32private static readonly SyntaxAnnotation ReferenceAnnotation = new(); 33private static readonly SyntaxAnnotation ExpressionAnnotation = new();
ConvertNamespaceTransform.cs (2)
53var annotation = new SyntaxAnnotation(); 76var annotation = new SyntaxAnnotation();
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (1)
74var annotation = new SyntaxAnnotation();
CSharpInlineDeclarationCodeFixProvider.cs (1)
361var annotation = new SyntaxAnnotation();
EncapsulateField\CSharpEncapsulateFieldService.cs (1)
50var tempAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
203var sourceNodeAnnotation = new SyntaxAnnotation(); 204var enclosingStatementAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpSelectionResult.cs (2)
38var firstTokenAnnotation = new SyntaxAnnotation(); 39var lastTokenAnnotation = new SyntaxAnnotation();
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
18private readonly SyntaxAnnotation _replacementAnnotation = new SyntaxAnnotation();
MisplacedUsingDirectivesCodeFixProvider.cs (1)
35private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation));
SplitStringLiteral\StringSplitter.cs (1)
17protected readonly SyntaxAnnotation RightNodeAnnotation = new();
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
39private static readonly SyntaxAnnotation s_referenceAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (27)
IncrementalParsing\IncrementalParsingTests.cs (1)
2681var oldRoot = tempRoot.ReplaceToken(tempToken, tempToken.WithAdditionalAnnotations(new SyntaxAnnotation()));
Syntax\SerializationTests.cs (6)
65var annotation = new SyntaxAnnotation(); 89var annotation = new SyntaxAnnotation(); 113var annotation = new SyntaxAnnotation("TestAnnotation", "this is a test"); 142var annotation1 = new SyntaxAnnotation("annotation1"); 160var annotation2 = new SyntaxAnnotation("annotation2"); 188var annotation1 = new SyntaxAnnotation("MyAnnotationId", "SomeData");
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)
491var myAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
Rename\CSharpRenameRewriterLanguageService.cs (1)
292var annotation = new SyntaxAnnotation();
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
47var annotation = new SyntaxAnnotation();
Simplification\Simplifiers\ExpressionSimplifier.cs (1)
189.WithAdditionalAnnotations<TypeSyntax>(new SyntaxAnnotation(
Simplification\Simplifiers\NameSimplifier.cs (1)
468replacementNode = replacementNode.WithAdditionalAnnotations(new SyntaxAnnotation(codeStyleOptionName));
Simplification\Simplifiers\QualifiedCrefSimplifier.cs (1)
56.WithAdditionalAnnotations(new SyntaxAnnotation(nameof(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess)));
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Snippets\CSharpSnippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (1)
79var typeAnnotation = new SyntaxAnnotation();
Snippets\CSharpSnippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (1)
28var typeAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.Features (35)
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
102var annotation = new SyntaxAnnotation();
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();
AddImport\References\Reference.cs (1)
92var annotation = new SyntaxAnnotation();
ChangeSignature\AbstractChangeSignatureService.cs (1)
35protected SyntaxAnnotation changeSignatureFormattingAnnotation = new("ChangeSignatureFormatting");
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
43var annotation = new SyntaxAnnotation();
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (1)
31public static SyntaxAnnotation NamespaceScopeMovedAnnotation = new(nameof(MoveTypeOperationKind.MoveTypeNamespaceScope));
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
68protected static SyntaxAnnotation ContainerAnnotation { get; } = new SyntaxAnnotation();
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (2)
25private readonly SyntaxAnnotation _annotation = new(); 26private readonly SyntaxAnnotation _otherAnnotation = new();
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
176var declarationAnnotation = new SyntaxAnnotation(); 243new SyntaxAnnotation(),
ExtractMethod\AbstractSyntaxTriviaService.cs (1)
43.ToDictionary(location => location, _ => new SyntaxAnnotation());
ExtractMethod\ExtractMethodResult.cs (1)
89var annotation = new SyntaxAnnotation();
ExtractMethod\InsertionPoint.cs (1)
22var annotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.CodeGenerator.cs (3)
55MethodNameAnnotation = new SyntaxAnnotation(); 56CallSiteAnnotation = new SyntaxAnnotation(); 57MethodDefinitionAnnotation = new SyntaxAnnotation();
ExtractMethod\MethodExtractor.VariableSymbol.cs (1)
184private readonly SyntaxAnnotation _annotation = new();
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
24private static readonly SyntaxAnnotation s_specializedFormattingAnnotation = new();
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
32private static readonly SyntaxAnnotation s_annotation = new();
J\s\src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
PullMemberUp\MembersPuller.cs (2)
35private static readonly SyntaxAnnotation s_removableImportAnnotation = new("PullMemberRemovableImport"); 36private static readonly SyntaxAnnotation s_destinationNodeAnnotation = new("DestinationNode");
Shared\Utilities\AnnotatedSymbolMapping.cs (2)
66var typeNodeAnnotation = new SyntaxAnnotation(); 90var annotation = new SyntaxAnnotation();
Shared\Utilities\ExtractTypeHelpers.cs (2)
41var typeAnnotation = new SyntaxAnnotation(); 103var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetFunctionService.cs (1)
143var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetProviders\AbstractSnippetProvider.cs (2)
31protected readonly SyntaxAnnotation _cursorAnnotation = new(); 32protected readonly SyntaxAnnotation _findSnippetAnnotation = new();
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
34protected static SyntaxAnnotation SpecializedFormattingAnnotation = new();
Wrapping\AbstractCodeActionComputer.cs (1)
45private static readonly SyntaxAnnotation s_toFormatAnnotation = new();
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SpeculationAnalyzer.vb (1)
87Dim originalExprAnnotation = New SyntaxAnnotation()
VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
18Private ReadOnly _annotation As New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
ParameterSyntaxExtensions.vb (1)
18Dim annotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
23Private Shared ReadOnly GeneratedSymbolAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (1)
152Dim 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)
44Dim annotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
20Private Shared ReadOnly s_removeAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (2)
132Dim sourceNodeAnnotation = New SyntaxAnnotation() 133Dim enclosingStatementAnnotation = New SyntaxAnnotation()
ExtractMethod\VisualBasicSelectionResult.vb (2)
33Dim firstAnnotation = New SyntaxAnnotation() 34Dim 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 (26)
IncrementalParser\IncrementalParser.vb (1)
1713Dim oldRoot2 = tempRoot2.ReplaceToken(tempToken2, tempToken2.WithAdditionalAnnotations(New SyntaxAnnotation()))
Syntax\SerializationTests.vb (6)
71Dim annotation = New SyntaxAnnotation() 97Dim annotation = New SyntaxAnnotation() 123Dim annotation1 = New SyntaxAnnotation("annotation1") 141Dim annotation2 = New SyntaxAnnotation("annotation2") 171Dim annotation1 = New SyntaxAnnotation("annotation1") 197Dim annotation = New SyntaxAnnotation("TestAnnotation", "this is a test")
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 (7)
ParameterSyntaxExtensions.vb (1)
18Dim annotation = New SyntaxAnnotation()
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
187Dim annotation = New SyntaxAnnotation() 210Dim annotationForSpeculativeNode = New SyntaxAnnotation()
Simplification\Simplifiers\ExpressionSimplifier.vb (1)
141New SyntaxAnnotation(NameOf(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess)))
Simplification\Simplifiers\NameSimplifier.vb (1)
186replacementNode = replacementNode.WithAdditionalAnnotations(New SyntaxAnnotation(codeStyleOptionName))
SpeculationAnalyzer.vb (1)
87Dim originalExprAnnotation = New SyntaxAnnotation()
VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
18Private ReadOnly _annotation As New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Formatting\FormattingTests.vb (1)
3775Dim goo As New SyntaxAnnotation()
Microsoft.CodeAnalysis.Workspaces (28)
AbstractSpeculationAnalyzer.cs (1)
185var annotation = new SyntaxAnnotation();
AliasAnnotation.cs (1)
19=> new(Kind, aliasName);
AnnotationTable.cs (1)
54realAnnotation = new SyntaxAnnotation(_annotationKind, idString);
CaseCorrection\CaseCorrector.cs (1)
22public 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)
661: this(type, oppositeMarkerType, new SyntaxAnnotation(AnnotationId, string.Format("{0} {1}", type, oppositeMarkerType)))
CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
Editing\ImportAdderService.cs (1)
150var annotation = new SyntaxAnnotation();
Formatting\Formatter.cs (1)
31public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation();
IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
Simplification\AbstractSimplificationService.cs (3)
112var removeIfUnusedAnnotation = new SyntaxAnnotation(); 224var annotation = new SyntaxAnnotation(); 242var marker = 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();
SimplificationHelpers.cs (2)
15public static readonly SyntaxAnnotation DontSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
SpecialTypeAnnotation.cs (1)
18=> new(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
SymbolAnnotation.cs (1)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol));
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
CodeCleanup\CodeCleanupTests.cs (2)
137var annotation = new SyntaxAnnotation(); 150var annotation = new SyntaxAnnotation();
SolutionTests\SolutionTests.cs (3)
2542var annotation = new SyntaxAnnotation(); 2795tree = tree.WithAdditionalAnnotations(new SyntaxAnnotation("test")); 4308var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
WorkspaceTests\AdhocWorkspaceTests.cs (1)
369var newRoot = root.WithAdditionalAnnotations(new SyntaxAnnotation());
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguageCodeSupport.cs (1)
204var annotation = new SyntaxAnnotation();
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\AbstractCodeModelService.cs (2)
1070var annotation = new SyntaxAnnotation(); 1123var annotation = new SyntaxAnnotation();
1434 references to SyntaxAnnotation
Microsoft.CodeAnalysis (112)
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 (26)
37private static readonly ConditionalWeakTable<GreenNode, SyntaxAnnotation[]> s_annotationsTable = 38new ConditionalWeakTable<GreenNode, SyntaxAnnotation[]>(); 41private static readonly SyntaxAnnotation[] s_noAnnotations = Array.Empty<SyntaxAnnotation>(); 42private static readonly IEnumerable<SyntaxAnnotation> s_noAnnotationsEnumerable = SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 76protected GreenNode(ushort kind, DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations) : 81foreach (var annotation in annotations) 91protected GreenNode(ushort kind, DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, int fullWidth) : 96foreach (var annotation in annotations) 441var annotations = (SyntaxAnnotation[])reader.ReadValue(); 489foreach (var a in annotations) 508foreach (var a in annotations) 519public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 527foreach (var a in annotations) 538public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 555private static IEnumerable<SyntaxAnnotation> GetAnnotationsSlow(SyntaxAnnotation[] annotations, string annotationKind) 557foreach (var annotation in annotations) 566public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 583private static IEnumerable<SyntaxAnnotation> GetAnnotationsSlow(SyntaxAnnotation[] annotations, IEnumerable<string> annotationKinds) 585foreach (var annotation in annotations) 594public SyntaxAnnotation[] GetAnnotations() 598SyntaxAnnotation[]? annotations; 609internal 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)
28internal WithLotsOfChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children, int[] childOffsets) 84internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (3)
23internal WithManyChildrenBase(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children) 135internal WithManyChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, ArrayElement<GreenNode>[] children) 150internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (2)
34internal WithThreeChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, GreenNode child0, GreenNode child1, GreenNode child2) 98internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (2)
32internal WithTwoChildren(DiagnosticInfo[]? diagnostics, SyntaxAnnotation[]? annotations, GreenNode child0, GreenNode child1) 88internal override GreenNode SetAnnotations(SyntaxAnnotation[]? annotations)
Syntax\SyntaxAnnotation.cs (9)
18public sealed class SyntaxAnnotation : IObjectWritable, IEquatable<SyntaxAnnotation?> 22ObjectBinder.RegisterTypeReader(typeof(SyntaxAnnotation), r => new SyntaxAnnotation(r)); 28public static SyntaxAnnotation ElasticAnnotation { get; } = new SyntaxAnnotation(); 76public bool Equals(SyntaxAnnotation? other) 81public static bool operator ==(SyntaxAnnotation? left, SyntaxAnnotation? right) 91public static bool operator !=(SyntaxAnnotation? left, SyntaxAnnotation? right) => 96return this.Equals(obj as SyntaxAnnotation);
Syntax\SyntaxNode.cs (10)
1222public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 1230public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 1238public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 1243internal SyntaxAnnotation[] GetAnnotations() 1269public IEnumerable<SyntaxNodeOrToken> GetAnnotatedNodesAndTokens(SyntaxAnnotation annotation) 1278public IEnumerable<SyntaxNode> GetAnnotatedNodes(SyntaxAnnotation syntaxAnnotation) 1296public IEnumerable<SyntaxToken> GetAnnotatedTokens(SyntaxAnnotation syntaxAnnotation) 1330public IEnumerable<SyntaxTrivia> GetAnnotatedTrivia(SyntaxAnnotation annotation) 1336internal SyntaxNode WithAdditionalAnnotationsInternal(IEnumerable<SyntaxAnnotation> annotations) 1341internal 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)
263public bool HasAnnotation([NotNullWhen(true)] SyntaxAnnotation? annotation) 271public IEnumerable<SyntaxAnnotation> GetAnnotations(string annotationKind) 273return Node?.GetAnnotations(annotationKind) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 279public IEnumerable<SyntaxAnnotation> GetAnnotations(params string[] annotationKinds) 287public IEnumerable<SyntaxAnnotation> GetAnnotations(IEnumerable<string> annotationKinds) 289return Node?.GetAnnotations(annotationKinds) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 296public SyntaxToken WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 298return WithAdditionalAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 305public SyntaxToken WithAdditionalAnnotations(IEnumerable<SyntaxAnnotation> annotations) 327public SyntaxToken WithoutAnnotations(params SyntaxAnnotation[] annotations) 329return WithoutAnnotations((IEnumerable<SyntaxAnnotation>)annotations); 335public 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 (30)
AbstractSpeculationAnalyzer.cs (1)
185var annotation = new SyntaxAnnotation();
AliasAnnotation.cs (2)
15public static string GetAliasName(SyntaxAnnotation annotation) 18public static SyntaxAnnotation Create(string aliasName)
AnnotationTable.cs (10)
31private readonly Dictionary<TAnnotation, SyntaxAnnotation> _realAnnotationMap = new(); 39private IEnumerable<SyntaxAnnotation> GetOrCreateRealAnnotations(TAnnotation[] annotations) 47private SyntaxAnnotation GetOrCreateRealAnnotation(TAnnotation annotation) 49if (!_realAnnotationMap.TryGetValue(annotation, out var realAnnotation)) 62private IEnumerable<SyntaxAnnotation> GetRealAnnotations(TAnnotation[] annotations) 66var realAnnotation = this.GetRealAnnotation(annotation); 74private SyntaxAnnotation? GetRealAnnotation(TAnnotation annotation) 76_realAnnotationMap.TryGetValue(annotation, out var realAnnotation); 104private IEnumerable<TAnnotation> GetAnnotations(IEnumerable<SyntaxAnnotation> realAnnotations) 106foreach (var ra in realAnnotations)
DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
FormatterHelper.cs (1)
46public static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken)
FormattingExtensions.cs (4)
285internal static IEnumerable<TextSpan> GetAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation) 287if (annotation == SyntaxAnnotation.ElasticAnnotation) 289var tokens = node.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Select(tr => tr.Token).Distinct(); 295static IEnumerable<TextSpan> EnumerateAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation)
SpecialTypeAnnotation.cs (2)
17public static SyntaxAnnotation Create(SpecialType specialType) 20public static SpecialType GetSpecialType(SyntaxAnnotation annotation)
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)
SyntaxNodeExtensions.cs (3)
290public static SyntaxNode AddAnnotations(this SyntaxNode root, IEnumerable<Tuple<SyntaxToken, SyntaxAnnotation>> pairs) 304public static SyntaxNode AddAnnotations(this SyntaxNode root, IEnumerable<Tuple<SyntaxNode, SyntaxAnnotation>> pairs) 344public static IEnumerable<T> GetAnnotatedNodes<T>(this SyntaxNode node, SyntaxAnnotation syntaxAnnotation) where T : SyntaxNode
SyntaxTriviaExtensions.cs (2)
16=> trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation); 19=> trivia.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
Microsoft.CodeAnalysis.CodeStyle.Fixes (29)
AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
89var annotation = diagnostics.Length == 1 ? RenameAnnotation.Create() : null; 102SyntaxEditor editor, SyntaxAnnotation? annotation, CancellationToken cancellationToken)
AbstractMakeMethodSynchronousCodeFixProvider.cs (2)
102var annotation = new SyntaxAnnotation(); 120Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
AbstractMoveDeclarationNearReferenceService.cs (3)
86var warningAnnotation = crossesMeaningfulBlock 117Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation, CancellationToken cancellationToken) 158Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation)
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();
CodeGenerationSymbol.cs (5)
24protected static ConditionalWeakTable<CodeGenerationSymbol, SyntaxAnnotation[]> annotationsTable = new(); 54internal SyntaxAnnotation[] GetAnnotations() 57return annotations ?? Array.Empty<SyntaxAnnotation>(); 60internal CodeGenerationSymbol WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 68CodeGenerationSymbol originalDefinition, CodeGenerationSymbol newDefinition, SyntaxAnnotation[] annotations)
CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
SimplificationHelpers.cs (4)
15public static readonly SyntaxAnnotation DontSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new(); 67var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault(); 75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
SyntaxAnnotationExtensions.cs (4)
14this SyntaxAnnotation annotation, 23internal static SyntaxAnnotation[] CombineAnnotations( 24SyntaxAnnotation[] originalAnnotations, 25SyntaxAnnotation[] newAnnotations)
UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
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)
37internal SyntaxToken(SyntaxKind kind, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 56internal 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) 73internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (2)
29internal SyntaxIdentifier(string text, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 78internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierExtended.cs (2)
26internal SyntaxIdentifierExtended(SyntaxKind contextualKind, string text, string valueText, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 82internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrailingTrivia.cs (2)
28internal SyntaxIdentifierWithTrailingTrivia(string text, GreenNode trailing, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 80internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrivia.cs (2)
46SyntaxAnnotation[] annotations) 115internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (2)
27internal SyntaxTokenWithValue(SyntaxKind kind, string text, T value, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 93internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteralWithTrivia.cs (2)
46SyntaxAnnotation[] annotations) 110internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxToken.SyntaxTokenWithTrivia.cs (2)
39internal SyntaxTokenWithTrivia(SyntaxKind kind, GreenNode leading, GreenNode trailing, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations) 103internal override GreenNode SetAnnotations(SyntaxAnnotation[] annotations)
Syntax\InternalSyntax\SyntaxTrivia.cs (2)
14internal SyntaxTrivia(SyntaxKind kind, string text, DiagnosticInfo[]? diagnostics = null, SyntaxAnnotation[]? annotations = null) 91internal 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)
AnalyzedPattern.cs (1)
27private static readonly SyntaxAnnotation s_annotation = new();
CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
ElasticTriviaFormattingRule.cs (1)
42basePropertyDeclaration.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Any())
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (21)
BaseNamespaceDeclarationSyntaxExtensions.cs (1)
17params SyntaxAnnotation[] annotations) where TNamespaceDeclarationSyntax : BaseNamespaceDeclarationSyntax
CompilationUnitSyntaxExtensions.cs (3)
82params SyntaxAnnotation[] annotations) 92params SyntaxAnnotation[] annotations) 115params SyntaxAnnotation[] annotations)
ConvertNamespaceTransform.cs (4)
53var annotation = new SyntaxAnnotation(); 76var annotation = new SyntaxAnnotation(); 93ParsedDocument document, NamespaceDeclarationSyntax namespaceDeclaration, SyntaxAnnotation annotation) 120ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken)
CSharpCodeGenerationService.cs (2)
205foreach (var annotation in codeGenSymbol.GetAnnotations()) 220foreach (var annotation in codeGenSymbol.GetAnnotations())
CSharpInlineDeclarationCodeFixProvider.cs (1)
361var annotation = new SyntaxAnnotation();
CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
ITypeSymbolExtensions.cs (1)
58var additionalAnnotation = type.NullableAnnotation switch
MakeLocalFunctionStaticCodeFixHelper.cs (1)
199var annotation = WarningAnnotation.Create(CSharpCodeFixesResources.Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code);
MisplacedUsingDirectivesCodeFixProvider.cs (2)
35private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation)); 40private static readonly SyntaxAnnotation s_warningAnnotation = WarningAnnotation.Create(
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);
UseExplicitTypeCodeFixProvider.cs (1)
99.Concat(variableDesignation.GetAllPrecedingTriviaToPreviousToken().Where(t => !t.IsWhitespace()).Select(t => t.WithoutAnnotations(SyntaxAnnotation.ElasticAnnotation)));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (5)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
48private static readonly SyntaxAnnotation s_openBracePositionAnnotation = new(); 53private static readonly SyntaxAnnotation s_replacementNodeAnnotation = new();
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (3)
162var plusEqualsTokenAnnotation = new SyntaxAnnotation(); 191SyntaxAnnotation plusEqualsTokenAnnotation, 230SyntaxAnnotation plusEqualsTokenAnnotation,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
174IEnumerable<SyntaxAnnotation> annotations;
Formatting\FormattingEngineTests.cs (1)
2317var annotation = new SyntaxAnnotation("marker");
Microsoft.CodeAnalysis.CSharp.Features (48)
AnalyzedPattern.cs (1)
27private static readonly SyntaxAnnotation s_annotation = new();
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)
59public IUnifiedArgumentSyntax WithAdditionalAnnotations(SyntaxAnnotation annotation)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
31private static readonly SyntaxAnnotation s_delegateToReplaceAnnotation = new();
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (5)
31private static readonly SyntaxAnnotation DefinitionAnnotation = new(); 32private static readonly SyntaxAnnotation ReferenceAnnotation = new(); 33private static readonly SyntaxAnnotation ExpressionAnnotation = new(); 134private static SyntaxAnnotation CreateConflictAnnotation() 256private static async Task<T> FindNodeWithAnnotationAsync<T>(Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
ConvertNamespaceTransform.cs (4)
53var annotation = new SyntaxAnnotation(); 76var annotation = new SyntaxAnnotation(); 93ParsedDocument document, NamespaceDeclarationSyntax namespaceDeclaration, SyntaxAnnotation annotation) 120ParsedDocument document, string indentation, SyntaxAnnotation annotation, CancellationToken cancellationToken)
ConvertProgram\ConvertProgramTransform_TopLevelStatements.cs (2)
74var annotation = new SyntaxAnnotation(); 89private static void AddUsingDirectives(NameSyntax name, SyntaxAnnotation annotation, ArrayBuilder<UsingDirectiveSyntax> directives)
CSharpInlineDeclarationCodeFixProvider.cs (1)
361var annotation = new SyntaxAnnotation();
EncapsulateField\CSharpEncapsulateFieldService.cs (2)
37protected override async Task<SyntaxNode> RewriteFieldNameAndAccessibilityAsync(string originalFieldName, bool makePrivate, Document document, SyntaxAnnotation declarationAnnotation, CodeAndImportGenerationOptionsProvider fallbackOptions, CancellationToken cancellationToken) 50var tempAnnotation = new SyntaxAnnotation();
ExtractInterface\CSharpExtractInterfaceService.cs (1)
73IEnumerable<ISymbol> includedMembers, ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationMap,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (2)
26private readonly HashSet<SyntaxAnnotation> _variableToRemoveMap; 32HashSet<SyntaxAnnotation> variableToRemoveMap,
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
461HashSet<SyntaxAnnotation> variablesToRemove) 513var annotation = ConflictAnnotation.Create(CSharpFeaturesResources.Conflict_s_detected);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (2)
203var sourceNodeAnnotation = new SyntaxAnnotation(); 204var enclosingStatementAnnotation = new SyntaxAnnotation();
ExtractMethod\CSharpMethodExtractor.TriviaResult.cs (1)
62SyntaxAnnotation annotation,
ExtractMethod\CSharpSelectionResult.cs (6)
38var firstTokenAnnotation = new SyntaxAnnotation(); 39var lastTokenAnnotation = new SyntaxAnnotation(); 45Tuple.Create<SyntaxToken, SyntaxAnnotation>(firstToken, firstTokenAnnotation), 46Tuple.Create<SyntaxToken, SyntaxAnnotation>(lastToken, lastTokenAnnotation) 70SyntaxAnnotation firstTokenAnnotation, 71SyntaxAnnotation lastTokenAnnotation)
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (2)
30SyntaxAnnotation firstTokenAnnotation, 31SyntaxAnnotation lastTokenAnnotation)
ExtractMethod\CSharpSelectionResult.StatementResult.cs (2)
28SyntaxAnnotation firstTokenAnnotation, 29SyntaxAnnotation lastTokenAnnotation)
ExtractMethod\Extensions.cs (1)
239public static bool HasSyntaxAnnotation(this HashSet<SyntaxAnnotation> set, SyntaxNode node)
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
18private readonly SyntaxAnnotation _replacementAnnotation = new SyntaxAnnotation();
MakeLocalFunctionStaticCodeFixHelper.cs (1)
199var annotation = WarningAnnotation.Create(CSharpCodeFixesResources.Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code);
MetadataAsSource\CSharpMetadataAsSourceService.cs (1)
129private static bool HasAnnotation(SyntaxNode node, SyntaxAnnotation annotation)
MisplacedUsingDirectivesCodeFixProvider.cs (2)
35private static readonly SyntaxAnnotation s_usingPlacementCodeFixAnnotation = new(nameof(s_usingPlacementCodeFixAnnotation)); 40private static readonly SyntaxAnnotation s_warningAnnotation = WarningAnnotation.Create(
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
326var annotation = ConflictAnnotation.Create(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property); 385var annotation = ConflictAnnotation.Create(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
SplitStringLiteral\StringSplitter.cs (1)
17protected readonly SyntaxAnnotation RightNodeAnnotation = new();
UseExplicitTypeCodeFixProvider.cs (1)
99.Concat(variableDesignation.GetAllPrecedingTriviaToPreviousToken().Where(t => !t.IsWhitespace()).Select(t => t.WithoutAnnotations(SyntaxAnnotation.ElasticAnnotation)));
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
39private static readonly SyntaxAnnotation s_referenceAnnotation = new();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (46)
Syntax\SerializationTests.cs (7)
65var annotation = new SyntaxAnnotation(); 89var annotation = new SyntaxAnnotation(); 113var annotation = new SyntaxAnnotation("TestAnnotation", "this is a test"); 131var dannotation = droot.GetAnnotations("TestAnnotation").SingleOrDefault(); 142var annotation1 = new SyntaxAnnotation("annotation1"); 160var annotation2 = new SyntaxAnnotation("annotation2"); 188var annotation1 = new SyntaxAnnotation("MyAnnotationId", "SomeData");
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)
491var myAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
BaseNamespaceDeclarationSyntaxExtensions.cs (1)
17params SyntaxAnnotation[] annotations) where TNamespaceDeclarationSyntax : BaseNamespaceDeclarationSyntax
CSharpCodeGenerationService.cs (2)
205foreach (var annotation in codeGenSymbol.GetAnnotations()) 220foreach (var annotation in codeGenSymbol.GetAnnotations())
CSharpSyntaxFactsService.cs (1)
38private static readonly SyntaxAnnotation s_annotation = new();
CSharpUseImplicitTypeHelper.cs (1)
192var annotation = new SyntaxAnnotation();
ElasticTriviaFormattingRule.cs (1)
42basePropertyDeclaration.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Any())
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs\CompilationUnitSyntaxExtensions.cs (3)
82params SyntaxAnnotation[] annotations) 92params SyntaxAnnotation[] annotations) 115params SyntaxAnnotation[] annotations)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.cs\ITypeSymbolExtensions.cs (1)
58var additionalAnnotation = type.NullableAnnotation switch
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);
Rename\CSharpRenameRewriterLanguageService.cs (1)
292var annotation = new SyntaxAnnotation();
Simplification\CSharpSimplificationService.cs (1)
54public override SyntaxNode Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation? annotationForReplacedAliasIdentifier, Func<SyntaxNode, bool>? expandInsideNode, bool expandParameter, CancellationToken cancellationToken)
Simplification\CSharpSimplificationService.Expander.cs (3)
47private readonly SyntaxAnnotation _annotationForReplacedAliasIdentifier; 55SyntaxAnnotation annotationForReplacedAliasIdentifier = null) 540var aliasAnnotationInfo = AliasAnnotation.Create(aliasInfo.Name);
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
47var annotation = new SyntaxAnnotation();
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
104SyntaxAnnotation aliasAnnotationInfo = null;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (7)
CodeGeneration\AddAttributesTests.cs (1)
58var 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)
4481var elasticOnlyFormatted = Formatter.Format(newRoot, SyntaxAnnotation.ElasticAnnotation, _workspace.Services.SolutionServices, CSharpSyntaxFormattingOptions.Default, CancellationToken.None).ToFullString();
Formatting\FormattingElasticTriviaTests.cs (1)
137var elasticOnlyFormatted = Formatter.Format(newRoot, SyntaxAnnotation.ElasticAnnotation, workspace.Services.SolutionServices, options, CancellationToken.None).ToFullString();
Formatting\FormattingTriviaTests.cs (1)
1789.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation));
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Snippets\CSharpSnippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (1)
79var typeAnnotation = new SyntaxAnnotation();
Snippets\CSharpSnippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (1)
28var typeAnnotation = new SyntaxAnnotation();
Microsoft.CodeAnalysis.Features (96)
AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
89var annotation = diagnostics.Length == 1 ? RenameAnnotation.Create() : null; 102SyntaxEditor editor, SyntaxAnnotation? annotation, CancellationToken cancellationToken)
AbstractMakeMethodSynchronousCodeFixProvider.cs (2)
102var annotation = new SyntaxAnnotation(); 120Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken)
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();
AddImport\References\Reference.cs (1)
92var annotation = new SyntaxAnnotation();
ChangeSignature\AbstractChangeSignatureService.cs (2)
35protected SyntaxAnnotation changeSignatureFormattingAnnotation = new("ChangeSignatureFormatting"); 425var 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)
31public static SyntaxAnnotation NamespaceScopeMovedAnnotation = new(nameof(MoveTypeOperationKind.MoveTypeNamespaceScope));
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
68protected static SyntaxAnnotation ContainerAnnotation { get; } = new SyntaxAnnotation(); 70protected static SyntaxAnnotation WarningAnnotation { get; }
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (2)
25private readonly SyntaxAnnotation _annotation = new(); 26private readonly SyntaxAnnotation _otherAnnotation = new();
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
56protected static SyntaxAnnotation CreateWarningAnnotation()
EncapsulateField\AbstractEncapsulateFieldService.cs (3)
34protected abstract Task<SyntaxNode> RewriteFieldNameAndAccessibilityAsync(string originalFieldName, bool makePrivate, Document document, SyntaxAnnotation declarationAnnotation, CodeAndImportGenerationOptionsProvider fallbackOptions, CancellationToken cancellationToken); 176var declarationAnnotation = new SyntaxAnnotation(); 372SyntaxAnnotation annotation,
ExtractClass\ExtractClassWithDialogCodeAction.cs (2)
186var annotation = symbolMapping.SymbolToDeclarationAnnotationMap[memberAnalysis.Member]; 224private static async Task<INamedTypeSymbol> GetNewTypeSymbolAsync(Document document, SyntaxAnnotation typeAnnotation, CancellationToken cancellationToken)
ExtractInterface\AbstractExtractInterfaceService.cs (3)
44ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap, 326SyntaxAnnotation typeNodeAnnotation, 330ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap,
ExtractMethod\AbstractSyntaxTriviaService.cs (2)
65Dictionary<TriviaLocation, SyntaxAnnotation> annotations, 73Dictionary<TriviaLocation, SyntaxAnnotation> annotations)
ExtractMethod\AbstractSyntaxTriviaService.Result.cs (3)
25private readonly Dictionary<TriviaLocation, SyntaxAnnotation> _annotations; 31Dictionary<TriviaLocation, SyntaxAnnotation> annotations, 266SyntaxAnnotation annotation)
ExtractMethod\Extensions.cs (1)
65public static SyntaxToken GetTokenWithAnnotation(this SemanticDocument document, SyntaxAnnotation annotation)
ExtractMethod\ExtractMethodResult.cs (1)
89var annotation = new SyntaxAnnotation();
ExtractMethod\InsertionPoint.cs (3)
16private readonly SyntaxAnnotation _annotation; 22var annotation = new SyntaxAnnotation(); 27private InsertionPoint(SemanticDocument document, SyntaxAnnotation annotation)
ExtractMethod\ISyntaxTriviaService.cs (1)
33internal delegate SyntaxToken AnnotationResolver(SyntaxNode root, TriviaLocation location, SyntaxAnnotation annotation);
ExtractMethod\MethodExtractor.Analyzer.cs (1)
338var annotations = new List<Tuple<SyntaxToken, SyntaxAnnotation>>(variables.Count);
ExtractMethod\MethodExtractor.CodeGenerator.cs (6)
30protected readonly SyntaxAnnotation MethodNameAnnotation; 31protected readonly SyntaxAnnotation MethodDefinitionAnnotation; 32protected readonly SyntaxAnnotation CallSiteAnnotation; 302protected static HashSet<SyntaxAnnotation> CreateVariableDeclarationToRemoveMap( 305var annotations = new List<Tuple<SyntaxToken, SyntaxAnnotation>>(); 316return new HashSet<SyntaxAnnotation>(annotations.Select(t => t.Item2));
ExtractMethod\MethodExtractor.cs (2)
108SyntaxAnnotation invocationAnnotation, SyntaxAnnotation methodAnnotation,
ExtractMethod\MethodExtractor.GeneratedCode.cs (6)
18SyntaxAnnotation methodNameAnnotation, 19SyntaxAnnotation callsiteAnnotation, 20SyntaxAnnotation methodDefinitionAnnotation) 37public SyntaxAnnotation MethodNameAnnotation { get; } 38public SyntaxAnnotation CallSiteAnnotation { get; } 39public SyntaxAnnotation MethodDefinitionAnnotation { get; }
ExtractMethod\MethodExtractor.TriviaResult.cs (2)
44var callsiteAnnotation = generatedCode.CallSiteAnnotation; 45var methodDefinitionAnnotation = generatedCode.MethodDefinitionAnnotation;
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
106List<Tuple<SyntaxToken, SyntaxAnnotation>> annotations, CancellationToken cancellationToken)
ExtractMethod\MethodExtractor.VariableSymbol.cs (7)
35public abstract SyntaxAnnotation IdentifierTokenAnnotation { get; } 39List<Tuple<SyntaxToken, SyntaxAnnotation>> annotations, CancellationToken cancellationToken); 96public override SyntaxAnnotation IdentifierTokenAnnotation => throw ExceptionUtilities.Unreachable(); 99List<Tuple<SyntaxToken, SyntaxAnnotation>> annotations, CancellationToken cancellationToken) 184private readonly SyntaxAnnotation _annotation = new(); 247public override SyntaxAnnotation IdentifierTokenAnnotation => _annotation; 252List<Tuple<SyntaxToken, SyntaxAnnotation>> annotations, CancellationToken cancellationToken)
ExtractMethod\SelectionResult.cs (4)
35SyntaxAnnotation firstTokenAnnotation, 36SyntaxAnnotation lastTokenAnnotation) 65public SyntaxAnnotation FirstTokenAnnotation { get; } 66public SyntaxAnnotation LastTokenAnnotation { get; }
FormatterHelper.cs (1)
46public static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, ISyntaxFormatting syntaxFormattingService, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken)
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
24private static readonly SyntaxAnnotation s_specializedFormattingAnnotation = new();
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
32private static readonly SyntaxAnnotation s_annotation = new();
J\s\src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs\UseConditionalExpressionHelpers.cs (1)
13public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
MoveToNamespace\AbstractMoveToNamespaceService.cs (1)
287var formattedDocument = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, formattingOptions, cancellationToken).ConfigureAwait(false);
PullMemberUp\MembersPuller.cs (2)
35private static readonly SyntaxAnnotation s_removableImportAnnotation = new("PullMemberRemovableImport"); 36private static readonly SyntaxAnnotation s_destinationNodeAnnotation = new("DestinationNode");
Shared\Utilities\AnnotatedSymbolMapping.cs (7)
21public ImmutableDictionary<ISymbol, SyntaxAnnotation> SymbolToDeclarationAnnotationMap { get; } 36public SyntaxAnnotation TypeNodeAnnotation { get; } 39ImmutableDictionary<ISymbol, SyntaxAnnotation> symbolToDeclarationAnnotationMap, 42SyntaxAnnotation typeNodeAnnotation) 61using var _ = PooledDictionary<ISymbol, SyntaxAnnotation>.GetInstance(out var symbolToDeclarationAnnotationMap); 66var typeNodeAnnotation = new SyntaxAnnotation(); 90var annotation = new SyntaxAnnotation();
Shared\Utilities\ExtractTypeHelpers.cs (4)
29public static async Task<(Document containingDocument, SyntaxAnnotation typeAnnotation)> AddTypeToExistingFileAsync(Document document, INamedTypeSymbol newType, AnnotatedSymbolMapping symbolMapping, CodeGenerationOptionsProvider fallbackOptions, CancellationToken cancellationToken) 41var typeAnnotation = new SyntaxAnnotation(); 50public static async Task<(Document containingDocument, SyntaxAnnotation typeAnnotation)> AddTypeToNewFileAsync( 103var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetFunctionService.cs (1)
143var typeAnnotation = new SyntaxAnnotation();
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (2)
103SyntaxAnnotation findSnippetAnnotation, SyntaxAnnotation cursorAnnotation, int position, CancellationToken cancellationToken)
Snippets\SnippetProviders\AbstractSnippetProvider.cs (6)
31protected readonly SyntaxAnnotation _cursorAnnotation = new(); 32protected readonly SyntaxAnnotation _findSnippetAnnotation = new(); 152(oldtoken, _) => oldtoken.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation) 177document = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, syntaxFormattingOptions, cancellationToken: cancellationToken).ConfigureAwait(false); 229SyntaxAnnotation findSnippetAnnotation, SyntaxAnnotation cursorAnnotation, int position, CancellationToken cancellationToken)
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
34protected 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()) 70Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 97Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 135Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 192Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 234Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 314Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 387Friend 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) 545Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 596Friend 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) 699Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 745Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As GreenNode) 828Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 854Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 901Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [alias] As ImportAliasClauseSyntax, name As NameSyntax) 983Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1025Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 1102Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1149Friend 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) 1239Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1290Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceStatement As NamespaceStatementSyntax, members As GreenNode, endNamespaceStatement As EndBlockStatementSyntax) 1391Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1434Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1511Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1569Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode) 1684Friend 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) 1767Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1810Friend 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) 1893Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 1936Friend 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) 2019Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2062Friend 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) 2145Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2197Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As EnumStatementSyntax, members As GreenNode, endEnumStatement As EndBlockStatementSyntax) 2298Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2325Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 2371Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), inheritsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 2450Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2496Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 2575Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2640Friend 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) 2770Friend 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) 2836Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2874Friend 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) 2940Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 2978Friend 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) 3044Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3082Friend 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) 3148Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3218Friend 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) 3370Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3426Friend 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) 3544Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3599Friend 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) 3707Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3734Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 3777Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 3856Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 3913Friend 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) 4031Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4058Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 4097Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), constraintKeyword As InternalSyntax.KeywordSyntax) 4155Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4192Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 4249Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4304Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 4404Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4446Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode) 4517Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As MethodStatementSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 4596Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4639Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subNewStatement As SubNewStatementSyntax, statements As GreenNode, endSubStatement As EndBlockStatementSyntax) 4718Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4761Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorStatement As OperatorStatementSyntax, statements As GreenNode, endOperatorStatement As EndBlockStatementSyntax) 4840Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 4884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), accessorStatement As AccessorStatementSyntax, statements As GreenNode, endAccessorStatement As EndBlockStatementSyntax) 4965Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5017Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), propertyStatement As PropertyStatementSyntax, accessors As GreenNode, endPropertyStatement As EndBlockStatementSyntax) 5116Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5168Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventStatement As EventStatementSyntax, accessors As GreenNode, endEventStatement As EndBlockStatementSyntax) 5267Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5327Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, parameterList As ParameterListSyntax) 5455Friend 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) 5558Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5639Friend 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) 5821Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 5865Friend 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) 5948Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6041Friend 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) 6279Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6344Friend 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) 6496Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6567Friend 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) 6724Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6778Friend 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) 6886Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 6958Friend 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) 7116Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7156Friend 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) 7221Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7268Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As GreenNode) 7347Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7394Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), handlesKeyword As InternalSyntax.KeywordSyntax, events As GreenNode) 7473Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7499Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 7537Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 7595Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7632Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 7690Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7737Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 7834Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 7881Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 7979Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8040Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 8154Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8216Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, declarators As GreenNode) 8327Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8387Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), names As GreenNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 8498Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax) 8607Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax) 8692Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8732Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 8792Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 8819Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 8875Friend 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) 8992Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9035Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 9112Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9152Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax) 9218Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 9278Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9331Friend 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) 9448Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9491Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 9568Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9641Friend 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) 9799Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 9864Friend 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) 9995Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10047Friend 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) 10148Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10199Friend 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) 10300Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10355Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 10462Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10504Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 10583Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10625Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode) 10687Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10726Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax) 10783Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10825Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 10902Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 10954Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileStatement As WhileStatementSyntax, statements As GreenNode, endWhileStatement As EndBlockStatementSyntax) 11055Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11107Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As UsingStatementSyntax, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax) 11209Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11261Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockStatement As SyncLockStatementSyntax, statements As GreenNode, endSyncLockStatement As EndBlockStatementSyntax) 11363Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11415Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As WithStatementSyntax, statements As GreenNode, endWithStatement As EndBlockStatementSyntax) 11517Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11567Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifiers As GreenNode, declarators As GreenNode) 11650Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11692Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 11770Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11812Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 11890Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 11928Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken) 11986Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12024Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stopOrEndKeyword As InternalSyntax.KeywordSyntax) 12081Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12124Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 12201Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12244Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 12322Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12368Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12450Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12515Friend 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) 12660Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12706Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode) 12789Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 12859Friend 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) 13011Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13062Friend 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) 13163Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13209Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfStatement As ElseIfStatementSyntax, statements As GreenNode) 13292Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13343Friend 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) 13444Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13490Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseStatement As ElseStatementSyntax, statements As GreenNode) 13572Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13609Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 13666Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13735Friend 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) 13885Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 13922Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryKeyword As InternalSyntax.KeywordSyntax) 13979Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14025Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchStatement As CatchStatementSyntax, statements As GreenNode) 14108Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14172Friend 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) 14303Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14345Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 14422Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14468Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyStatement As FinallyStatementSyntax, statements As GreenNode) 14550Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14587Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyKeyword As InternalSyntax.KeywordSyntax) 14644Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14686Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 14763Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 14824Friend 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) 14964Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15016Friend 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) 15131Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15178Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 15262Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15314Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As GreenNode, endSelectStatement As EndBlockStatementSyntax) 15415Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15467Friend 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) 15568Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15614Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseStatement As CaseStatementSyntax, statements As GreenNode) 15696Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15744Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseKeyword As InternalSyntax.KeywordSyntax, cases As GreenNode) 15824Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15851Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 15888Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 15945Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 15982Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), value As ExpressionSyntax) 16039Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16086Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 16182Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16233Friend 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) 16335Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16378Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 16455Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16507Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doStatement As DoStatementSyntax, statements As GreenNode, loopStatement As LoopStatementSyntax) 16608Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16654Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 16737Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16783Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 16866Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 16910Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 16987Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17030Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 17107Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17155Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode, nextStatement As NextStatementSyntax) 17246Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As ForStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 17308Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17347Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As ForEachStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 17409Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17449Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode) 17558Friend 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) 17701Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17743Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 17820Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 17873Friend 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) 17973Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18022Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As GreenNode) 18104Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18161Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As GreenNode) 18269Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18315Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 18397Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18445Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 18542Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18584Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 18661Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18703Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 18781Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 18834Friend 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) 18949Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19000Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 19101Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19145Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19222Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19277Friend 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) 19381Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19423Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 19500Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19546Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eraseKeyword As InternalSyntax.KeywordSyntax, expressions As GreenNode) 19625Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19651Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 19692Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), token As InternalSyntax.SyntaxToken) 19757Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19804Friend 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) 19900Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 19951Friend 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) 20049Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20100Friend 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) 20198Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20224Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 20261Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 20318Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20365Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 20447Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20483Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 20534Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 20568Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20596Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 20630Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20658Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 20692Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20744Friend 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) 20859Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 20911Friend 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) 21026Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21082Friend 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) 21202Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21254Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 21355Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21426Friend 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) 21575Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21627Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 21714Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 21758Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode) 21860Friend 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) 21971Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22008Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, initializer As ObjectMemberInitializerSyntax) 22070Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22130Friend 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) 22260Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22312Friend 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) 22413Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22474Friend 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) 22607Friend 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) 22652Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22677Friend 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) 22722Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22747Friend 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) 22792Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 22845Friend 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) 22960Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23009Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 23102Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23144Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 23221Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23284Friend 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) 23437Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23510Friend 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) 23701Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23736Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax) 23797Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 23858Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 23904Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 23991Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24037Friend 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) 24126Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24177Friend 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) 24279Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24306Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24344Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 24401Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24448Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 24530Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24572Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 24649Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24697Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 24793Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24836Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), clauses As GreenNode) 24896Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 24922Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24979Friend 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) 25099Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25146Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 25229Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25277Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 25362Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25413Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 25514Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25541Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 25606Friend 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) 25736Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25775Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax) 25832Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 25880Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 25959Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26005Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), letKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 26084Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26153Friend 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) 26296Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26333Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), distinctKeyword As InternalSyntax.KeywordSyntax) 26390Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26432Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 26509Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26557Friend 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) 26653Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26695Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 26772Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 26846Friend 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) 27006Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27073Friend 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) 27221Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 27317Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27345Friend 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) 27388Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27439Friend 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) 27547Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27598Friend 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) 27696Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27743Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 27826Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27872Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 27952Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 27979Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 28039Friend 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) 28152Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28222Friend 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) 28367Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28415Friend 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) 28502Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28553Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startTag As XmlElementStartTagSyntax, content As GreenNode, endTag As XmlElementEndTagSyntax) 28645Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28686Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textTokens As GreenNode) 28746Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28802Friend 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) 28910Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 28961Friend 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) 29053Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29109Friend 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) 29217Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29264Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 29351Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29377Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 29429Friend 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) 29521Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29558Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax) 29612Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29660Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 29736Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29785Friend 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) 29872Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 29914Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 29985Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30037Friend 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) 30126Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30183Friend 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) 30288Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30339Friend 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) 30428Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30476Friend 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) 30563Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30591Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 30638Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, rankSpecifiers As GreenNode) 30717Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30759Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 30837Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30875Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 30932Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 30959Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 30994Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 31046Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 31080Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31118Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 31178Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31225Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 31323Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31360Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), globalKeyword As InternalSyntax.KeywordSyntax) 31417Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31473Friend 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) 31590Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31646Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 31743Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31795Friend 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) 31884Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 31931Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 32012Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32051Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 32122Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32166Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 32253Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32295Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 32372Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32414Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 32491Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32529Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 32555Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32578Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 32604Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32629Friend 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) 32668Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32695Friend 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) 32737Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32762Friend 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) 32804Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32832Friend 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) 32887Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32912Friend 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) 32954Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 32979Friend 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) 33022Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33047Friend 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) 33089Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33136Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tokens As GreenNode) 33198Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33240Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), content As GreenNode) 33299Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33358Friend 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) 33477Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33536Friend 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) 33655Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33706Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 33808Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 33860Friend 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) 33975Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34026Friend 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) 34124Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34150Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 34187Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 34244Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34310Friend 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) 34455Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34498Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 34575Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34618Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 34695Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34733Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 34781Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 34829Friend 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) 34947Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35008Friend 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) 35123Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35160Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 35217Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35259Friend 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) 35332Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35374Friend 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) 35453Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35495Friend 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) 35574Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35637Friend 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) 35774Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35816Friend 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) 35889Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 35961Friend 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) 36130Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 36181Friend 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) 36272Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 36323Friend 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) 36414Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 36456Friend 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) 36529Friend Overrides Function SetAnnotations(ByVal annotations As SyntaxAnnotation()) As GreenNode 36560Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 36594Friend 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) 59Friend 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) 108Friend 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)
17Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 81Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode
Syntax\InternalSyntax\StructuredTriviaSyntax.vb (1)
34Friend 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) 109Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode 129Friend 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) 181Friend 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) 233Friend Overrides Function SetAnnotations(annotations As SyntaxAnnotation()) As GreenNode 251Friend 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)
162Friend Sub New(kind As SyntaxKind, diagnostics As DiagnosticInfo(), annotations As SyntaxAnnotation()) 167Friend 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)
146Protected 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)
SyntaxNodeExtensions.vb (5)
610ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 640ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 669ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 697annotations As SyntaxAnnotation(), 745ParamArray annotations As SyntaxAnnotation()) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
CompilationUnitSyntaxExtensions.vb (2)
47ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax 55ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax
VisualBasicAddImportsService.vb (1)
113Array.Empty(Of SyntaxAnnotation))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
23Private Shared ReadOnly GeneratedSymbolAnnotation As SyntaxAnnotation = New SyntaxAnnotation()
Microsoft.CodeAnalysis.VisualBasic.Features (13)
ChangeSignature\UnifiedArgumentSyntax.vb (1)
51Public Function WithAdditionalAnnotations(annotation As SyntaxAnnotation) As IUnifiedArgumentSyntax Implements IUnifiedArgumentSyntax.WithAdditionalAnnotations
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
29declarationAnnotation As SyntaxAnnotation,
ExtractInterface\VisualBasicExtractInterfaceService.vb (1)
102symbolToDeclarationAnnotationMap 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 (4)
38{Tuple.Create(Of SyntaxToken, SyntaxAnnotation)(firstToken, firstAnnotation), 39Tuple.Create(Of SyntaxToken, SyntaxAnnotation)(lastToken, lastAnnotation)})), cancellationToken).ConfigureAwait(False) 59firstTokenAnnotation As SyntaxAnnotation, 60lastTokenAnnotation 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)
CompilationUnitSyntaxExtensions.vb (2)
47ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax 55ParamArray annotations As SyntaxAnnotation()) As CompilationUnitSyntax
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
SyntaxNodeExtensions.vb (5)
610ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 640ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 669ParamArray annotations As SyntaxAnnotation()) As SyntaxNode 697annotations As SyntaxAnnotation(), 745ParamArray annotations As SyntaxAnnotation()) As SyntaxNode
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 (113)
AbstractMoveDeclarationNearReferenceService.cs (3)
86var warningAnnotation = crossesMeaningfulBlock 117Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation, CancellationToken cancellationToken) 158Document document, State state, SyntaxEditor editor, SyntaxAnnotation warningAnnotation)
AbstractSpeculationAnalyzer.cs (1)
185var annotation = new SyntaxAnnotation();
AliasAnnotation.cs (2)
15public static string GetAliasName(SyntaxAnnotation annotation) 18public static SyntaxAnnotation Create(string aliasName)
AnnotationTable.cs (10)
31private readonly Dictionary<TAnnotation, SyntaxAnnotation> _realAnnotationMap = new(); 39private IEnumerable<SyntaxAnnotation> GetOrCreateRealAnnotations(TAnnotation[] annotations) 47private SyntaxAnnotation GetOrCreateRealAnnotation(TAnnotation annotation) 49if (!_realAnnotationMap.TryGetValue(annotation, out var realAnnotation)) 62private IEnumerable<SyntaxAnnotation> GetRealAnnotations(TAnnotation[] annotations) 66var realAnnotation = this.GetRealAnnotation(annotation); 74private SyntaxAnnotation? GetRealAnnotation(TAnnotation annotation) 76_realAnnotationMap.TryGetValue(annotation, out var realAnnotation); 104private IEnumerable<TAnnotation> GetAnnotations(IEnumerable<SyntaxAnnotation> realAnnotations) 106foreach (var ra in realAnnotations)
CaseCorrection\CaseCorrector.cs (2)
22public static readonly SyntaxAnnotation Annotation = new(); 42public 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.cs (1)
377document = await Formatter.FormatAsync(document, SyntaxAnnotation.ElasticAnnotation, options.FormattingOptions, cancellationToken).ConfigureAwait(false);
CodeCleanup\AbstractCodeCleanerService.cs (17)
117List<(SyntaxAnnotation previousAnnotation, SyntaxAnnotation nextAnnotation)> annotations, 127var previousMarkerAnnotation = previousAnnotation; 128var nextMarkerAnnotation = nextAnnotation; 270private static (SyntaxNode newNode, List<(SyntaxAnnotation previous, SyntaxAnnotation next)> annotations) AnnotateNodeForTextSpans( 277var tokenAnnotationMap = new Dictionary<SyntaxToken, List<SyntaxAnnotation>>(); 278var annotations = new List<(SyntaxAnnotation previous, SyntaxAnnotation next)>(); 298tokenAnnotationMap.GetOrAdd(previousToken, _ => new List<SyntaxAnnotation>()).Add(startMarker.Annotation); 299tokenAnnotationMap.GetOrAdd(nextToken, _ => new List<SyntaxAnnotation>()).Add(endMarker.Annotation); 432private static bool CleanupWholeNode(List<(SyntaxAnnotation previous, SyntaxAnnotation next)> annotations) 594private static SyntaxNode InjectAnnotations(SyntaxNode node, Dictionary<SyntaxToken, List<SyntaxAnnotation>> map) 649public SyntaxAnnotation Annotation { get; } 653private SpanMarker(SpanMarkerType type, SpanMarkerType oppositeMarkerType, SyntaxAnnotation annotation) 667public static SpanMarker FromAnnotation(SyntaxAnnotation annotation)
CodeCleanup\CodeCleaner.cs (1)
62public static async Task<Document> CleanupAsync(Document document, SyntaxAnnotation annotation, CodeCleanupOptions options, ImmutableArray<ICodeCleanupProvider> providers = default, CancellationToken cancellationToken = default)
CodeGenerationSymbol.cs (5)
24protected static ConditionalWeakTable<CodeGenerationSymbol, SyntaxAnnotation[]> annotationsTable = new(); 54internal SyntaxAnnotation[] GetAnnotations() 57return annotations ?? Array.Empty<SyntaxAnnotation>(); 60internal CodeGenerationSymbol WithAdditionalAnnotations(params SyntaxAnnotation[] annotations) 68CodeGenerationSymbol originalDefinition, CodeGenerationSymbol newDefinition, SyntaxAnnotation[] annotations)
CodeGenerator.cs (1)
21public static readonly SyntaxAnnotation Annotation = new(nameof(CodeGenerator));
DoNotAddImportsAnnotation.cs (1)
23public static readonly SyntaxAnnotation Annotation = new(Kind);
DoNotAllowVarAnnotation.cs (1)
12public static readonly SyntaxAnnotation Annotation = new(Kind);
Editing\ImportAdder.cs (7)
26private static async ValueTask<IEnumerable<TextSpan>> GetSpansAsync(Document document, SyntaxAnnotation annotation, CancellationToken cancellationToken) 45/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 47public static async Task<Document> AddImportsAsync(Document document, SyntaxAnnotation annotation, OptionSet? options = null, CancellationToken cancellationToken = default) 76/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 78internal static async Task<Document> AddImportsFromSyntaxesAsync(Document document, SyntaxAnnotation annotation, AddImportPlacementOptions options, CancellationToken cancellationToken) 94/// Adds namespace imports / using directives for namespace references found in the document within the sub-trees annotated with the <see cref="SyntaxAnnotation"/>. 96internal static async Task<Document> AddImportsFromSymbolAnnotationAsync(Document document, SyntaxAnnotation annotation, AddImportPlacementOptions options, CancellationToken cancellationToken)
Editing\ImportAdderService.cs (2)
150var annotation = new SyntaxAnnotation(); 191foreach (var annotation in annotations)
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)
31public static SyntaxAnnotation Annotation { get; } = new SyntaxAnnotation(); 108public static Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, OptionSet? options = null, CancellationToken cancellationToken = default) 111internal static Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, SyntaxFormattingOptions options, CancellationToken cancellationToken) 114internal static async Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 121internal static async Task<Document> FormatAsync(Document document, SyntaxAnnotation annotation, OptionSet? optionSet, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 152public static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, Workspace workspace, OptionSet? options = null, CancellationToken cancellationToken = default) 155internal static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, SolutionServices services, SyntaxFormattingOptions options, CancellationToken cancellationToken) 158private static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, Workspace workspace, OptionSet? options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken) 178internal static SyntaxNode Format(SyntaxNode node, SyntaxAnnotation annotation, SolutionServices services, SyntaxFormattingOptions options, IEnumerable<AbstractFormattingRule>? rules, CancellationToken cancellationToken)
FormattingExtensions.cs (4)
285internal static IEnumerable<TextSpan> GetAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation) 287if (annotation == SyntaxAnnotation.ElasticAnnotation) 289var tokens = node.GetAnnotatedTrivia(SyntaxAnnotation.ElasticAnnotation).Select(tr => tr.Token).Distinct(); 295static IEnumerable<TextSpan> EnumerateAnnotatedSpans(SyntaxNode node, SyntaxAnnotation annotation)
IIndentationService.cs (1)
47var annotation = new SyntaxAnnotation();
NullableSyntaxAnnotation.cs (2)
19public static readonly SyntaxAnnotation Oblivious = new($"{nameof(NullableSyntaxAnnotation)}.{Oblivious}"); 23public static readonly SyntaxAnnotation AnnotatedOrNotAnnotated = new($"{nameof(NullableSyntaxAnnotation)}.{AnnotatedOrNotAnnotated}");
Rename\RenameUtilities.cs (2)
31var originalAliasAnnotation = token.GetAnnotations(AliasAnnotation.Kind).Single(); 37var replacementAliasAnnotation = AliasAnnotation.Create(replacementText);
Shared\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
32SyntaxAnnotation statementAnnotation) 63SyntaxAnnotation statementAnnotation)
Simplification\AbstractSimplificationService.cs (6)
47public abstract SyntaxNode Expand(SyntaxNode node, SemanticModel semanticModel, SyntaxAnnotation? annotationForReplacedAliasIdentifier, Func<SyntaxNode, bool>? expandInsideNode, bool expandParameter, CancellationToken cancellationToken); 112var removeIfUnusedAnnotation = new SyntaxAnnotation(); 224var annotation = new SyntaxAnnotation(); 242var marker = new SyntaxAnnotation(); 290SyntaxAnnotation removeIfUnusedAnnotation, 305SyntaxAnnotation removeIfUnusedAnnotation,
Simplification\ISimplificationService.cs (1)
20SyntaxAnnotation? annotationForReplacedAliasIdentifier,
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)
SimplificationHelpers.cs (4)
15public static readonly SyntaxAnnotation DontSimplifyAnnotation = new(); 16public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new(); 67var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault(); 75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
SpecialTypeAnnotation.cs (2)
17public static SyntaxAnnotation Create(SpecialType specialType) 20public static SpecialType GetSpecialType(SyntaxAnnotation annotation)
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)
SyntaxAnnotationExtensions.cs (4)
14this SyntaxAnnotation annotation, 23internal static SyntaxAnnotation[] CombineAnnotations( 24SyntaxAnnotation[] originalAnnotations, 25SyntaxAnnotation[] newAnnotations)
SyntaxNodeExtensions.cs (3)
290public static SyntaxNode AddAnnotations(this SyntaxNode root, IEnumerable<Tuple<SyntaxToken, SyntaxAnnotation>> pairs) 304public static SyntaxNode AddAnnotations(this SyntaxNode root, IEnumerable<Tuple<SyntaxNode, SyntaxAnnotation>> pairs) 344public static IEnumerable<T> GetAnnotatedNodes<T>(this SyntaxNode node, SyntaxAnnotation syntaxAnnotation) where T : SyntaxNode
SyntaxTriviaExtensions.cs (2)
16=> trivia.HasAnnotation(SyntaxAnnotation.ElasticAnnotation); 19=> trivia.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
CodeCleanup\CodeCleanupTests.cs (2)
137var annotation = new SyntaxAnnotation(); 150var annotation = new SyntaxAnnotation();
SerializationTests.cs (2)
72var annotation = SymbolAnnotation.Create(symbol); 85var dannotation = droot.GetAnnotations(SymbolAnnotation.Kind).SingleOrDefault();
SolutionTests\SolutionTests.cs (2)
2542var annotation = new SyntaxAnnotation(); 3055var newRoot = doc.GetSyntaxRootAsync().Result.WithAdditionalAnnotations(SyntaxAnnotation.ElasticAnnotation);
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguageCodeSupport.cs (1)
204var annotation = new SyntaxAnnotation();
Microsoft.VisualStudio.LanguageServices.Implementation (4)
CodeModel\AbstractCodeModelService.cs (3)
1031private Document FormatAnnotatedNode(Document document, SyntaxAnnotation annotation, IEnumerable<AbstractFormattingRule>? additionalRules, CancellationToken cancellationToken) 1070var annotation = new SyntaxAnnotation(); 1123var annotation = new SyntaxAnnotation();
CodeModel\FileCodeModel.cs (1)
353formatted = await Formatter.FormatAsync(formatted, SyntaxAnnotation.ElasticAnnotation, formattingOptions, CancellationToken.None).ConfigureAwait(true);