Skip to content

Commit

Permalink
MarimerLLC#2551 Remove obsolete serialization code
Browse files Browse the repository at this point in the history
  • Loading branch information
rockfordlhotka committed Feb 16, 2024
1 parent a2d358d commit 6651eec
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 57 deletions.
19 changes: 0 additions & 19 deletions Samples/ProjectTracker/ProjectTracker.Dal/ConcurrencyException.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla.Serialization;
using System.Security.Permissions;

namespace ProjectTracker.Dal
{
Expand All @@ -17,19 +12,5 @@ public ConcurrencyException(string message)
public ConcurrencyException(string message, Exception innerException)
: base(message, innerException)
{ }

protected ConcurrencyException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{ }

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
}
}
19 changes: 0 additions & 19 deletions Samples/ProjectTracker/ProjectTracker.Dal/DataNotFoundException.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla.Serialization;
using System.Security.Permissions;

namespace ProjectTracker.Dal
{
Expand All @@ -17,19 +12,5 @@ public DataNotFoundException(string message)
public DataNotFoundException(string message, Exception innerException)
: base(message, innerException)
{ }

protected DataNotFoundException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{ }

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla.Serialization;
using System.Security.Permissions;

namespace ProjectTracker.Dal
{
Expand All @@ -17,19 +12,5 @@ public UpdateFailureException(string message)
public UpdateFailureException(string message, Exception innerException)
: base(message, innerException)
{ }

protected UpdateFailureException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{ }

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
}
}

0 comments on commit 6651eec

Please sign in to comment.