Implemented interface member:
73 references to
Microsoft.CodeAnalysis (7)
Syntax\SyntaxList`1.cs (7)
167return TextSpan.FromBounds(this[0].FullSpan.Start, this[this.Count - 1].FullSpan.End); 185return TextSpan.FromBounds(this[0].Span.Start, this[this.Count - 1].Span.End); 290return this.Remove(this[index]); 382return this[this.Count - 1]; 392return this[this.Count - 1]; 557if (object.Equals(this[i], node)) 570if (predicate(this[i]))
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (1)
91var member = members[i];
Microsoft.CodeAnalysis.CSharp (5)
Parser\DocumentationCommentParser.cs (1)
88isTerminated = !_isDelimited || (eoc.LeadingTrivia.Count > 0 && eoc.LeadingTrivia[eoc.LeadingTrivia.Count - 1].ToString() == "*/");
Parser\LanguageParser.cs (1)
10451var modifier = modifiers[i];
Syntax\CSharpSyntaxRewriter.cs (1)
144var item = list[i];
Syntax\InternalSyntax\CSharpSyntaxRewriter.cs (1)
47var item = list[i];
Syntax\LookupPosition.cs (1)
107var endToken = attributesSyntaxList[count - 1].CloseBracketToken;
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
269var previousStatement = parentBlock.Statements[ifIndex - 1];
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
362var previousStatement = block.Statements[expressionStatementIndex - 1];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (6)
165attributes[i].GetFirstToken(includeZeroWidth: true), 196if (switchSection.Labels[i] != null) 198AddSuppressWrappingIfOnSingleLineOperation(list, switchSection.Labels[i].GetFirstToken(includeZeroWidth: true), switchSection.Labels[i].GetLastToken(includeZeroWidth: true)); 203if (switchSection.Labels[switchSection.Labels.Count - 1] != null) 205AddSuppressWrappingIfOnSingleLineOperation(list, switchSection.Labels[switchSection.Labels.Count - 1].GetFirstToken(includeZeroWidth: true), switchSection.GetLastToken(includeZeroWidth: true));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
44var lastUsing = organizedUsingList[i - 1]; 45var currentUsing = organizedUsingList[i];
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
148var nextPatternPart = GetPattern(switchLabels[i], out whenClauseUnused);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
183var priorMember = typeDeclaration.Members[currentIndex];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (2)
163if (root.Usings[i].GetLeadingTrivia().Any(trivia => trivia.IsKind(SyntaxKind.IfDirectiveTrivia))) 168if (root.Usings[i].GetLeadingTrivia().Any(trivia => trivia.IsKind(SyntaxKind.EndIfDirectiveTrivia)))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (2)
41var member1 = members[i]; 42var member2 = members[i + 1];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
413var clause = clauses[i];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (3)
56if (usingsToRemove.Contains(usings[i])) 138if (_unnecessaryUsingsDoNotAccessDirectly.Contains(oldUsings[i])) 140result.Add(newUsings[i]);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
StringCopyPaste\StringCopyPasteHelpers.cs (1)
53if (interpolatedString.Contents[i] is InterpolatedStringTextSyntax text)
StringCopyPaste\StringInfo.cs (1)
206var content = interpolatedString.Contents[i];
Microsoft.CodeAnalysis.CSharp.Features (12)
EditAndContinue\BreakpointSpans.cs (2)
978if (position <= accessors[i].FullSpan.End || i == accessors.Count - 1) 980return TryCreateSpanForNode(accessors[i], position);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
555return statements[index + 1].Kind() == SyntaxKind.ReturnStatement;
InitializeParameter\InitializeParameterHelpers.cs (1)
88editor.InsertAfter(block.Statements[indexToAddAfter], statement);
IntroduceVariable\CSharpIntroduceVariableService_IntroduceField.cs (2)
167if (!AreEquivalent(oldMembers[i], newMembers[i], topLevel: false))
LineSeparators\CSharpLineSeparatorService.cs (2)
275var cur = children[i]; 285var prev = children[i - 1];
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
269var previousStatement = parentBlock.Statements[ifIndex - 1];
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
362var previousStatement = block.Statements[expressionStatementIndex - 1];
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
148var nextPatternPart = GetPattern(switchLabels[i], out whenClauseUnused);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
183var priorMember = typeDeclaration.Members[currentIndex];
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\PreprocessorTests.cs (1)
443var mem = actual[idx++];
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (6)
165attributes[i].GetFirstToken(includeZeroWidth: true), 196if (switchSection.Labels[i] != null) 198AddSuppressWrappingIfOnSingleLineOperation(list, switchSection.Labels[i].GetFirstToken(includeZeroWidth: true), switchSection.Labels[i].GetLastToken(includeZeroWidth: true)); 203if (switchSection.Labels[switchSection.Labels.Count - 1] != null) 205AddSuppressWrappingIfOnSingleLineOperation(list, switchSection.Labels[switchSection.Labels.Count - 1].GetFirstToken(includeZeroWidth: true), switchSection.GetLastToken(includeZeroWidth: true));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
44var lastUsing = organizedUsingList[i - 1]; 45var currentUsing = organizedUsingList[i];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (2)
163if (root.Usings[i].GetLeadingTrivia().Any(trivia => trivia.IsKind(SyntaxKind.IfDirectiveTrivia))) 168if (root.Usings[i].GetLeadingTrivia().Any(trivia => trivia.IsKind(SyntaxKind.EndIfDirectiveTrivia)))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (2)
41var member1 = members[i]; 42var member2 = members[i + 1];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
413var clause = clauses[i];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (3)
56if (usingsToRemove.Contains(usings[i])) 138if (_unnecessaryUsingsDoNotAccessDirectly.Contains(oldUsings[i])) 140result.Add(newUsings[i]);
Microsoft.CodeAnalysis.Features (3)
ChangeSignature\AbstractChangeSignatureService.cs (1)
997var content = structuredContent[i];
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
127? surroundingStatements[declarationStatementIndex + 1] as TTryStatementSyntax
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
389if (!statements[i].DescendantNodesAndSelf().All(IsNoOpSyntaxNode))
Microsoft.CodeAnalysis.Workspaces (2)
SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (1)
105return previousAccessors[currentAccessors.IndexOf(currentAccessor)];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (1)
91var member = members[i];
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelService.cs (3)
3263return compilationUnit.Members[index]; 3267return namespaceDeclaration.Members[index]; 3271return typeDeclaration.Members[index];
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
83var specifier = specifiers[i];