Implemented interface member:
21 references to
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
71var modifier = node.Modifiers[i];
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
71var modifier = node.Modifiers[i];
Microsoft.CodeAnalysis (3)
Syntax\SyntaxTokenList.cs (3)
231return this[this.Count - 1]; 287var token = this[i]; 301if (this[i].RawKind == rawKind)
Microsoft.CodeAnalysis.CSharp (5)
CSharpExtensions.cs (1)
163return (index >= 0) ? list[index] : default(SyntaxToken);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
41SyntaxToken modifier = modifiers[i]; 45if (modifiers.Count > i + 1 && modifiers[i + 1].Kind() == SyntaxKind.ReadOnlyKeyword)
Symbols\Source\ModifierUtils.cs (2)
393SyntaxToken modifier = modifiers[i]; 410var isPartialAsyncMethod = isOrdinaryMethod && i == modifiers.Count - 2 && modifiers[i + 1].ContextualKind() is SyntaxKind.AsyncKeyword;
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
594var modifier = modifiers[i];
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider_DocumentationComments.cs (3)
85if (lastIndex - 1 >= 0 && tokens[lastIndex - 1].Kind() == SyntaxKind.XmlTextLiteralToken && string.IsNullOrWhiteSpace(tokens[lastIndex - 1].Text)) 88if (lastIndex - 1 >= 0 && tokens[lastIndex - 1].Kind() == SyntaxKind.XmlTextLiteralNewLineToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\DeclarationParsingTests.cs (1)
2699Assert.Equal(modifiers[i], ms.Modifiers[i].Kind());
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSImportGenerator.cs (1)
101strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
168strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
110strippedTokens[i] = tokenList[i].WithoutTrivia();
Microsoft.Interop.SourceGeneration (3)
SyntaxExtensions.cs (3)
79strippedTokens[i] = tokenList[i].WithoutTrivia(); 89if (tokenList[i].Kind() is SyntaxKind.PublicKeyword or SyntaxKind.InternalKeyword or SyntaxKind.ProtectedKeyword or SyntaxKind.PrivateKeyword) 93strippedTokens.Add(tokenList[i]);