17 references to GetImportScopes
Microsoft.CodeAnalysis (1)
Compilation\IImportScope.cs (1)
39/// cref="SemanticModel.GetImportScopes"/>.</item>
Microsoft.CodeAnalysis.CSharp.Features (1)
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
96var scopes = _semanticModel.GetImportScopes(position: 0, _cancellationToken);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
1181var scopes = semanticModel.GetImportScopes(0);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (13)
Compilation\GetImportScopesTests.cs (13)
24var scopes = model.GetImportScopes(GetPositionForBinding(text)); 415var scopes = model.GetImportScopes(GetPositionForBinding(text)); 434var scopes = model.GetImportScopes(GetPositionForBinding(text)); 456var scopes = model.GetImportScopes(GetPositionForBinding(text)); 477var scopes = model.GetImportScopes(GetPositionForBinding(text)); 497var scopes = model.GetImportScopes(GetPositionForBinding(text)); 513var scopes = model.GetImportScopes(GetPositionForBinding(text)); 533var scopes = model.GetImportScopes(GetPositionForBinding(text)); 564var scopes = model.GetImportScopes(GetPositionForBinding(text)); 589var scopes = model.GetImportScopes(GetPositionForBinding(text)); 615var scopes = model.GetImportScopes(GetPositionForBinding(text)); 644var scopes = model.GetImportScopes(GetPositionForBinding(text)); 677var scopes = model.GetImportScopes(GetPositionForBinding(text));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
230var scopes = model.GetImportScopes(firstMember.SpanStart, cancellationToken);