Skip to content

Commit

Permalink
Code Analysis fixes
Browse files Browse the repository at this point in the history
Signed-off-by: PulsarBlow <pulsarblow@gmail.com>
  • Loading branch information
PulsarBlow committed Mar 2, 2015
1 parent b44ee5d commit 46d4697
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace SuperMassive
/// <summary>
/// Define an exception which occurs when any data validation process fails
/// </summary>
[Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2240:ImplementISerializableCorrectly"), Serializable]
public class ValidationFailedException : Exception
{
/// <summary>
Expand Down
7 changes: 1 addition & 6 deletions Source/SuperMassive/Types/AscendingSortedGuid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ public struct AscendingSortedGuid : IComparable, IComparable<AscendingSortedGuid
/// <summary>
/// A read-only instance of the AscendingSortedGuid structure whose value is all zeros.
/// </summary>
public static readonly AscendingSortedGuid Empty;

static AscendingSortedGuid()
{
AscendingSortedGuid.Empty = new AscendingSortedGuid();
}
public static readonly AscendingSortedGuid Empty = new AscendingSortedGuid();

/// <summary>
/// TimeStamp
Expand Down
7 changes: 1 addition & 6 deletions Source/SuperMassive/Types/DescendingSortedGuid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ public struct DescendingSortedGuid : IComparable, IComparable<DescendingSortedGu
/// <summary>
/// A read-only instance of the AscendingSortedGuidDescendingSortedGuid structure whose value is all zeros.
/// </summary>
public readonly static DescendingSortedGuid Empty;

static DescendingSortedGuid()
{
DescendingSortedGuid.Empty = new DescendingSortedGuid();
}
public readonly static DescendingSortedGuid Empty = new DescendingSortedGuid();

/// <summary>
/// TimeStamp
Expand Down

0 comments on commit 46d4697

Please sign in to comment.