Enable validation of ignored warnings (#124)

* Enable warning validation

* Add new lines

* Fix build
This commit is contained in:
Andrey Tretyak 2019-10-15 13:50:54 +01:00 коммит произвёл GitHub
Родитель 0d5a9ef561
Коммит c11b1073f9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -58,8 +58,4 @@
<!-- Optional: Include the PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<!-- Bad properties from old projects to make them work -->
<PropertyGroup>
<NoWarn>1591;NU5104</NoWarn>
</PropertyGroup>
</Project>

Просмотреть файл

@ -12,6 +12,9 @@ namespace Microsoft.Omex.DocumentDb
/// </summary>
public class DocumentDbSettings
{
/// <summary>
/// Document db settings class.
/// </summary>
protected DocumentDbSettings(string endpoint, DocumentDbSettingsConfig config = null)
{
Code.ExpectsNotNullOrWhiteSpaceArgument(endpoint, nameof(endpoint), TaggingUtilities.ReserveTag(0x2381b146 /* tag_961fg */));

Просмотреть файл

@ -259,6 +259,7 @@ namespace Gating.Configuration
private bool enabledField;
/// <remarks/>
public BaseGateType()
{
this.secureField = false;
@ -908,6 +909,7 @@ namespace Gating.Configuration
private string activeForField;
/// <remarks/>
public BaseGateTypeService()
{
this.activeForField = "All";

Просмотреть файл

@ -28,6 +28,7 @@ namespace Microsoft.Omex.System.AspNetCore
private static readonly AsyncLocal<IImmutableStack<IImmutableDictionary<string, object>>> s_stackAsyncLocal = new AsyncLocal<IImmutableStack<IImmutableDictionary<string, object>>>();
/// <summary> Context data stored on LogicalCallContext </summary>
public LogicalCallContext(IMachineInformation machineInformation)
{
MachineInformation = machineInformation;
@ -174,6 +175,9 @@ namespace Microsoft.Omex.System.AspNetCore
}
/// <summary>
/// Machine information
/// </summary>
public static IMachineInformation MachineInformation { get; set; }