Skip to content

Commit

Permalink
suppress CS1591 (Missing XML comment for publicly visible type or mem…
Browse files Browse the repository at this point in the history
…ber) at project level
  • Loading branch information
lsfera committed Jul 4, 2024
1 parent ab10cc1 commit 977f203
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 19 deletions.
10 changes: 10 additions & 0 deletions src/Blumchen/Blumchen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RootNamespace>Blumchen</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1591</NoWarn>
<WarningsNotAsErrors></WarningsNotAsErrors>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn>1591</NoWarn>
<WarningsNotAsErrors></WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Tests</_Parameter1>
Expand Down
2 changes: 0 additions & 2 deletions src/Blumchen/Database/Run.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using Blumchen.Subscriptions.ReplicationMessageHandlers;
using Npgsql;

#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

namespace Blumchen.Database;

public static class Run
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/MessageTableOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace Blumchen;

#pragma warning disable CS1591
public record TableDescriptorBuilder
{
private MessageTable TableDescriptor { get; set; } = new();
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Publications/MessageAppender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Npgsql;

namespace Blumchen.Publications;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public static class MessageAppender
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Publications/PublisherSetupOptionsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace Blumchen.Publications;

#pragma warning disable CS1591
public class PublisherSetupOptionsBuilder
{
private INamingPolicy? _namingPolicy;
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Serialization/IDictionaryExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace Blumchen.Serialization;


Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Serialization/INamingPolicy.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
namespace Blumchen.Serialization;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public interface INamingPolicy
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Serialization/ITypeResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Text.Json.Serialization.Metadata;

namespace Blumchen.Serialization;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public interface ITypeResolver<T>
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Serialization/JsonSerialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Blumchen.Streams;

namespace Blumchen.Serialization;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public static class JsonSerialization
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Serialization/MessageUrnAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Concurrent;

namespace Blumchen.Serialization;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class MessageUrnAttribute:
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Subscriptions/IConsume.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
namespace Blumchen.Subscriptions;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public interface IConsume;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Npgsql;

#pragma warning disable CA2208
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

namespace Blumchen.Subscriptions.Management;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace Blumchen.Subscriptions.Management;
using static ReplicationSlotManagement.CreateReplicationSlotResult;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public static class ReplicationSlotManagement
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Subscriptions/MimeType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace Blumchen.Subscriptions;

#pragma warning disable CS1591
public abstract record MimeType(string mimeType)
{
public record Json(): MimeType("application/json");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Npgsql.Replication.PgOutput.Messages;

namespace Blumchen.Subscriptions.Replication;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public interface IReplicationDataMapper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
namespace Blumchen.Subscriptions.ReplicationMessageHandlers;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public interface IEnvelope;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Npgsql;

namespace Blumchen.Subscriptions.SnapshotReader;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public static class SnapshotReader
{
Expand Down
1 change: 0 additions & 1 deletion src/Blumchen/Subscriptions/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Npgsql.Replication.PgOutput.Messages;

namespace Blumchen.Subscriptions;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

using static PublicationManagement;
using static ReplicationSlotManagement;
Expand Down
2 changes: 1 addition & 1 deletion src/Blumchen/Subscriptions/SubscriptionOptionsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text.Json.Serialization;

namespace Blumchen.Subscriptions;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member

public sealed class SubscriptionOptionsBuilder
{
private static string? _connectionString;
Expand Down

0 comments on commit 977f203

Please sign in to comment.