22 references to Scope
Microsoft.CodeAnalysis.Features (22)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (20)
129
scopes.Add(CreateAction(document, span,
Scope
.ContainingMember, isRecord));
138
scopes.Add(CreateAction(document, span,
Scope
.ContainingType, isRecord));
153
scopes.Add(CreateAction(document, span,
Scope
.ContainingProject, isRecord));
154
scopes.Add(CreateAction(document, span,
Scope
.DependentProjects, isRecord));
169
private CodeAction CreateAction(Document document, TextSpan span,
Scope
scope, bool isRecord)
172
private static string GetTitle(
Scope
scope)
175
Scope
.ContainingMember => FeaturesResources.updating_usages_in_containing_member,
176
Scope
.ContainingType => FeaturesResources.updating_usages_in_containing_type,
177
Scope
.ContainingProject => FeaturesResources.updating_usages_in_containing_project,
178
Scope
.DependentProjects => FeaturesResources.updating_usages_in_dependent_projects,
216
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken)
262
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken)
419
INamedTypeSymbol tupleType,
Scope
scope, CancellationToken cancellationToken)
423
Scope
.ContainingMember => GetDocumentsToUpdateForContainingMember(document, tupleExprOrTypeNode),
424
Scope
.ContainingType => await GetDocumentsToUpdateForContainingTypeAsync(
426
Scope
.ContainingProject => await GetDocumentsToUpdateForContainingProjectAsync(
428
Scope
.DependentProjects => await GetDocumentsToUpdateForDependentProjectAsync(
798
Document document,
Scope
scope, bool isRecord, string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
909
Scope
scope, bool isRecord, string structName,
912
var accessibility = scope ==
Scope
.DependentProjects
ConvertTupleToStruct\IConvertTupleToStructCodeRefactoringProvider.cs (1)
15
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken);
ConvertTupleToStruct\IRemoteConvertTupleToStructCodeRefactoringService.cs (1)
19
Scope
scope,