diff --git a/.editorconfig b/.editorconfig index b19a651b..edc2fb8e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -18,6 +18,9 @@ dotnet_analyzer_diagnostic.severity = error dotnet_diagnostic.CS0414.severity = error # The private field 'class member' is never used dotnet_diagnostic.CS0169.severity = error +# Converting null literal or possible null value to non-nullable type +# Enabled for "strict null" checking in .NET code +dotnet_diagnostic.CS8600.severity = error # Errors flagged when this file was added. These should be # investigated and either fixed or marked as acceptable with diff --git a/src/Microsoft.Kusto.ServiceLayer/Admin/AdminService.cs b/src/Microsoft.Kusto.ServiceLayer/Admin/AdminService.cs index 76a3f595..03488449 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Admin/AdminService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Admin/AdminService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Threading.Tasks; using Microsoft.SqlTools.Hosting.Protocol; diff --git a/src/Microsoft.Kusto.ServiceLayer/Connection/CancelTokenKey.cs b/src/Microsoft.Kusto.ServiceLayer/Connection/CancelTokenKey.cs index 85e35a3d..5e04d3c2 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Connection/CancelTokenKey.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Connection/CancelTokenKey.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using Microsoft.Kusto.ServiceLayer.Connection.Contracts; diff --git a/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionInfo.cs b/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionInfo.cs index 4a92a8c0..d104425c 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionInfo.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionInfo.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionService.cs b/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionService.cs index 4b368b13..3c67aecd 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Connection/ConnectionService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/DataSource/Kusto/KustoIntellisenseClient.cs b/src/Microsoft.Kusto.ServiceLayer/DataSource/Kusto/KustoIntellisenseClient.cs index 7afeb25b..90222a68 100644 --- a/src/Microsoft.Kusto.ServiceLayer/DataSource/Kusto/KustoIntellisenseClient.cs +++ b/src/Microsoft.Kusto.ServiceLayer/DataSource/Kusto/KustoIntellisenseClient.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Microsoft.Kusto.ServiceLayer/HostLoader.cs b/src/Microsoft.Kusto.ServiceLayer/HostLoader.cs index 2bff5e67..4f480e0d 100644 --- a/src/Microsoft.Kusto.ServiceLayer/HostLoader.cs +++ b/src/Microsoft.Kusto.ServiceLayer/HostLoader.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Threading.Tasks; using Microsoft.SqlTools.Credentials; diff --git a/src/Microsoft.Kusto.ServiceLayer/LanguageServices/BindingQueue.cs b/src/Microsoft.Kusto.ServiceLayer/LanguageServices/BindingQueue.cs index aa113406..e9efc8fa 100644 --- a/src/Microsoft.Kusto.ServiceLayer/LanguageServices/BindingQueue.cs +++ b/src/Microsoft.Kusto.ServiceLayer/LanguageServices/BindingQueue.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data.SqlClient; diff --git a/src/Microsoft.Kusto.ServiceLayer/LanguageServices/LanguageService.cs b/src/Microsoft.Kusto.ServiceLayer/LanguageServices/LanguageService.cs index d89def83..42f8f994 100644 --- a/src/Microsoft.Kusto.ServiceLayer/LanguageServices/LanguageService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/LanguageServices/LanguageService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/NodePathGenerator.cs b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/NodePathGenerator.cs index 57bf85c6..79c8acc3 100644 --- a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/NodePathGenerator.cs +++ b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/NodePathGenerator.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/SmoTreeNode.cs b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/SmoTreeNode.cs index 09021c40..59161c3b 100644 --- a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/SmoTreeNode.cs +++ b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/DataSourceModel/SmoTreeNode.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using Microsoft.Kusto.ServiceLayer.ObjectExplorer.Nodes; using Microsoft.Kusto.ServiceLayer.DataSource; using Microsoft.Kusto.ServiceLayer.DataSource.Metadata; diff --git a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/Nodes/NodeObservableCollection.cs b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/Nodes/NodeObservableCollection.cs index 206d3373..ed15afe6 100644 --- a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/Nodes/NodeObservableCollection.cs +++ b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/Nodes/NodeObservableCollection.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using Microsoft.Kusto.ServiceLayer.ObjectExplorer.DataSourceModel; using System; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/ObjectExplorerService.cs b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/ObjectExplorerService.cs index 89de783a..8d879896 100644 --- a/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/ObjectExplorerService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/ObjectExplorer/ObjectExplorerService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Batch.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Batch.cs index da117d50..4a3d06ae 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Batch.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Batch.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Contracts/DbColumnWrapper.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Contracts/DbColumnWrapper.cs index 35c4c34a..09273bb7 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Contracts/DbColumnWrapper.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Contracts/DbColumnWrapper.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamReader.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamReader.cs index 46f72aff..69892964 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamReader.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamReader.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data.SqlTypes; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamWriter.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamWriter.cs index 2b50396c..a355c959 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamWriter.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/DataStorage/ServiceBufferFileStreamWriter.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data.SqlTypes; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Query.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Query.cs index 7ef881d0..c13cde62 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Query.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/Query.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Linq; using System.Threading; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/QueryExecutionService.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/QueryExecutionService.cs index 2fdc2e90..067c41dc 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/QueryExecutionService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/QueryExecutionService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.IO; using System.Collections.Concurrent; diff --git a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/SerializationService.cs b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/SerializationService.cs index a1bb218a..ba0943bf 100644 --- a/src/Microsoft.Kusto.ServiceLayer/QueryExecution/SerializationService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/QueryExecution/SerializationService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptAsScriptingOperation.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptAsScriptingOperation.cs index 921d2359..e3b099e2 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptAsScriptingOperation.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptAsScriptingOperation.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using Microsoft.Kusto.ServiceLayer.Scripting.Contracts; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingExtensionMethods.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingExtensionMethods.cs index 4a31ca13..61a405c7 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingExtensionMethods.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingExtensionMethods.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingListObjectsOperation.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingListObjectsOperation.cs index 7a88fb58..51081968 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingListObjectsOperation.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingListObjectsOperation.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using Microsoft.SqlServer.Management.SqlScriptPublish; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingObjectMatcher.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingObjectMatcher.cs index 409fe65f..17f80055 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingObjectMatcher.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingObjectMatcher.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingService.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingService.cs index a86aa594..c9e23649 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/ScriptingService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Concurrent; using System.Diagnostics; diff --git a/src/Microsoft.Kusto.ServiceLayer/Scripting/SmoScriptingOperation.cs b/src/Microsoft.Kusto.ServiceLayer/Scripting/SmoScriptingOperation.cs index 02859ea1..116582d2 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Scripting/SmoScriptingOperation.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Scripting/SmoScriptingOperation.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using Microsoft.Kusto.ServiceLayer.Scripting.Contracts; using Microsoft.Kusto.ServiceLayer.DataSource; using Microsoft.SqlTools.Utility; diff --git a/src/Microsoft.Kusto.ServiceLayer/SqlContext/CompoundSqlToolsSettingsValues.cs b/src/Microsoft.Kusto.ServiceLayer/SqlContext/CompoundSqlToolsSettingsValues.cs index 23748047..e864a5af 100644 --- a/src/Microsoft.Kusto.ServiceLayer/SqlContext/CompoundSqlToolsSettingsValues.cs +++ b/src/Microsoft.Kusto.ServiceLayer/SqlContext/CompoundSqlToolsSettingsValues.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Microsoft.Kusto.ServiceLayer/Utility/LongList.cs b/src/Microsoft.Kusto.ServiceLayer/Utility/LongList.cs index 1d550201..71a95b51 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Utility/LongList.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Utility/LongList.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Microsoft.Kusto.ServiceLayer/Utility/SqlScriptFormatters/ToSqlScript.cs b/src/Microsoft.Kusto.ServiceLayer/Utility/SqlScriptFormatters/ToSqlScript.cs index 882021c3..0ea8f43c 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Utility/SqlScriptFormatters/ToSqlScript.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Utility/SqlScriptFormatters/ToSqlScript.cs @@ -1,8 +1,10 @@ -// +// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data.Common; diff --git a/src/Microsoft.Kusto.ServiceLayer/Utility/ValidationUtils.cs b/src/Microsoft.Kusto.ServiceLayer/Utility/ValidationUtils.cs index 828bdc0c..e6786297 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Utility/ValidationUtils.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Utility/ValidationUtils.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + namespace Microsoft.Kusto.ServiceLayer.Utility { using System; diff --git a/src/Microsoft.Kusto.ServiceLayer/Workspace/Workspace.cs b/src/Microsoft.Kusto.ServiceLayer/Workspace/Workspace.cs index 35099358..13631be0 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Workspace/Workspace.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Workspace/Workspace.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.Kusto.ServiceLayer/Workspace/WorkspaceService.cs b/src/Microsoft.Kusto.ServiceLayer/Workspace/WorkspaceService.cs index b0e6a9c9..ff8cf5a3 100644 --- a/src/Microsoft.Kusto.ServiceLayer/Workspace/WorkspaceService.cs +++ b/src/Microsoft.Kusto.ServiceLayer/Workspace/WorkspaceService.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Microsoft.SqlTools.ServiceLayer/Admin/Database/AzureSqlDbHelper.cs b/src/Microsoft.SqlTools.ServiceLayer/Admin/Database/AzureSqlDbHelper.cs index 5c1b176a..5c10b622 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Admin/Database/AzureSqlDbHelper.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Admin/Database/AzureSqlDbHelper.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Microsoft.SqlTools.ServiceLayer/Agent/Jobs/JobStepSubSystems.cs b/src/Microsoft.SqlTools.ServiceLayer/Agent/Jobs/JobStepSubSystems.cs index f9714562..ceb712cc 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Agent/Jobs/JobStepSubSystems.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Agent/Jobs/JobStepSubSystems.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/Microsoft.SqlTools.ServiceLayer/DisasterRecovery/BackupOperation/BackupOperation.cs b/src/Microsoft.SqlTools.ServiceLayer/DisasterRecovery/BackupOperation/BackupOperation.cs index c4544a06..7b11ceb7 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/DisasterRecovery/BackupOperation/BackupOperation.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/DisasterRecovery/BackupOperation/BackupOperation.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/SupportedSecurable.cs b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/SupportedSecurable.cs index 1a9c0c27..4a840329 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/SupportedSecurable.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/SupportedSecurable.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Globalization; using Microsoft.SqlServer.Management.Sdk.Sfc; diff --git a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/UserData.cs b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/UserData.cs index 9bf3c81e..8216054f 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/UserData.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Security/UserData.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/SecurableUtils.cs b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/SecurableUtils.cs index a79520a9..78f19399 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/SecurableUtils.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/SecurableUtils.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.Data; diff --git a/src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs b/src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs index 9f404baa..8c110569 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/QueryExecution/Query.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Data.Common; using Microsoft.Data.SqlClient; diff --git a/src/Microsoft.SqlTools.ServiceLayer/Utility/LanguageUtils.cs b/src/Microsoft.SqlTools.ServiceLayer/Utility/LanguageUtils.cs index 9ffe21bf..06dbdad5 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Utility/LanguageUtils.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Utility/LanguageUtils.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections; using System.Collections.Generic; diff --git a/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/SaveResults/SerializationServiceTests.cs b/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/SaveResults/SerializationServiceTests.cs index de82b533..a31b687b 100644 --- a/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/SaveResults/SerializationServiceTests.cs +++ b/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/SaveResults/SerializationServiceTests.cs @@ -3,6 +3,8 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. // +#nullable disable + using System; using System.Collections.Generic; using System.IO;