You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global usings respected inside namespaces (observable in aliases inside namespaces)
using directives
using aliases
Usings inside namespaces override global
using directives
using aliases
Extern usings visible to global usings
Global and top-level using considered at the same precedence (causing ambiguities)
using directives
using aliases
Global usings not visible in top-level aliases in same/separate files
using directives
using aliases
Duplicate global usings
Same file
using directives
using aliases
Different files
using directives
using aliases
Duplicate using
Same file
using directives
using aliases
Different file
using directives
using aliases
PDB information reflects global usings where appropriate
Determinism: global using ordering is correctly handled for deterministic builds
There are a lot of tests with different order of global usings, also a set of ImportsInPdb_* tests that verify PDB content for global usings.
Productivity:
LangVersion
global and using keywords completion and colorization
Syntax normalizer
unused global using
features that automatically add usings (such as copy&paste) should no longer add a using when a global using already exists
sorting of usings
With externs as well
Without externs
symbol completion for types that are missing (not imported) should no longer suggest types that are already imported via global using
'Move type to new file' carries the usings with it it thinks are needed in the new file. We should ensure that global usings are handled sensibly in this case (tbd what 'sensibly' means here).
Public API for getting all global usings in a Compilation
Championed issue: dotnet/csharplang#3428
Proposal: https://github.com/dotnet/csharplang/blob/master/proposals/csharp-10.0/GlobalUsingDirective.md
Feature branch: https://github.com/dotnet/roslyn/tree/features/GlobalUsingDirective
Syntax:
global using
global using
inside namespaceglobal using
after usingsglobal using
with top-level statementsextern using
Semantics:
There are a lot of tests with different order of global usings, also a set of ImportsInPdb_* tests that verify PDB content for global usings.
Productivity:
global
andusing
keywords completion and colorizationglobal using
GetTypeInfo
/GetSymbolInfo
/GetDeclaredSymbol
GetAliasInfo
GetSpeculativeAliasInfo
The text was updated successfully, but these errors were encountered: