mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-05 17:24:59 -05:00
Upgrade solution to .NET 6.0.9 (Build with .NET SDK v6.0.401) (#1692)
This commit is contained in:
@@ -185,10 +185,7 @@ namespace Microsoft.SqlTools.Extensibility
|
||||
|
||||
public IEnumerable<T> GetExports<T>()
|
||||
{
|
||||
if (exports == null)
|
||||
{
|
||||
exports = host.GetExports(contractType).ToList();
|
||||
}
|
||||
exports ??= host.GetExports(contractType).ToList();
|
||||
return exports.Cast<T>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user