22 references to Scope
Microsoft.CodeAnalysis.Features (22)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (20)
130
scopes.Add(CreateAction(document, span,
Scope
.ContainingMember, isRecord));
139
scopes.Add(CreateAction(document, span,
Scope
.ContainingType, isRecord));
154
scopes.Add(CreateAction(document, span,
Scope
.ContainingProject, isRecord));
155
scopes.Add(CreateAction(document, span,
Scope
.DependentProjects, isRecord));
170
private CodeAction CreateAction(Document document, TextSpan span,
Scope
scope, bool isRecord)
173
private static string GetTitle(
Scope
scope)
176
Scope
.ContainingMember => FeaturesResources.updating_usages_in_containing_member,
177
Scope
.ContainingType => FeaturesResources.updating_usages_in_containing_type,
178
Scope
.ContainingProject => FeaturesResources.updating_usages_in_containing_project,
179
Scope
.DependentProjects => FeaturesResources.updating_usages_in_dependent_projects,
217
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken)
263
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken)
420
INamedTypeSymbol tupleType,
Scope
scope, CancellationToken cancellationToken)
424
Scope
.ContainingMember => GetDocumentsToUpdateForContainingMember(document, tupleExprOrTypeNode),
425
Scope
.ContainingType => await GetDocumentsToUpdateForContainingTypeAsync(
427
Scope
.ContainingProject => await GetDocumentsToUpdateForContainingProjectAsync(
429
Scope
.DependentProjects => await GetDocumentsToUpdateForDependentProjectAsync(
799
Document document,
Scope
scope, bool isRecord, string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
910
Scope
scope, bool isRecord, string structName,
913
var accessibility = scope ==
Scope
.DependentProjects
ConvertTupleToStruct\IConvertTupleToStructCodeRefactoringProvider.cs (1)
16
Document document, TextSpan span,
Scope
scope, bool isRecord, CancellationToken cancellationToken);
ConvertTupleToStruct\IRemoteConvertTupleToStructCodeRefactoringService.cs (1)
19
Scope
scope,