Skip to content

Commit 1e1889a

Browse files
author
José Miguel Sánchez Fernández
authored
Merge pull request #9 from VisualStudioEX3/feature/supress-warning-on-uncommented-inferfaces
Feature/supress warning on uncommented inferfaces
2 parents 4d0c2f1 + 49e0aba commit 1e1889a

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

DIV2.Format.Exporter/ExtensionMethods/StringExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public static byte[] GetASCIIZString(this string text, int length)
6262
return buffer.ToByteArray();
6363
}
6464

65+
66+
#pragma warning disable CS0419 // Ambiguous reference in cref attribute
6567
/// <summary>
6668
/// Returns a secure hash code for this string.
6769
/// </summary>
@@ -72,6 +74,7 @@ public static int GetSecureHashCode(this string text)
7274
{
7375
return HashGenerator.CalculateHashCode(text);
7476
}
77+
#pragma warning restore CS0419 // Ambiguous reference in cref attribute
7578
#endregion
7679
}
7780
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
namespace DIV2.Format.Exporter.Interfaces
22
{
3+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
34
public interface IAssetFile : IFormatValidable, ISerializableAsset
45
{
56
#region Methods & Functions
67
bool Validate(string filename);
78
void Save(string filename);
89
#endregion
910
}
11+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
1012
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
namespace DIV2.Format.Exporter.Interfaces
22
{
3+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
34
public interface IFormatValidable
45
{
56
#region Methods & Functions
67
bool Validate(byte[] buffer);
78
#endregion
89
}
10+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
911
}

DIV2.Format.Exporter/Interfaces/ISerializableAsset.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
namespace DIV2.Format.Exporter.Interfaces
44
{
5+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
56
public interface ISerializableAsset
67
{
78
#region Methods & Functions
89
byte[] Serialize();
910
void Write(BinaryWriter stream);
1011
#endregion
1112
}
13+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
1214
}

0 commit comments

Comments
 (0)