mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-30 17:24:37 -05:00
Address warnings and (some) nullables (#2013)
This commit is contained in:
@@ -12,15 +12,15 @@
|
||||
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
|
||||
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
|
||||
<RuntimeIdentifiers>$(ToolsServiceTargetRuntimes)</RuntimeIdentifiers>
|
||||
<!-- TODO FIX THESE WARNINGS ASAP -->
|
||||
<NoWarn>$(NoWarn);CA1852</NoWarn>
|
||||
<!-- Disable CA1852 (Seal internal types) as it depends on SrGen Tool -->
|
||||
<NoWarn>$(NoWarn);CA1852</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;DEBUG;NETCOREAPP1_0;NETCOREAPP2_0</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Text.Encoding.CodePages"/>
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.SqlTools.Hosting\Microsoft.SqlTools.Hosting.csproj" />
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Microsoft.SqlTools.ResourceProvider
|
||||
/// <summary>
|
||||
/// Main application class for the executable that supports the resource provider and identity services
|
||||
/// </summary>
|
||||
internal class Program
|
||||
internal sealed class Program
|
||||
{
|
||||
private const string ServiceName = "SqlToolsResourceProviderService.exe";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user