Skip to content

Commit

Permalink
Exclude [Serializable] attribute in portable version
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-englert committed Feb 26, 2016
1 parent e1efa83 commit 5c4fe16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TomsToolbox.Core/PluginModuleAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
/// </summary>
[CLSCompliant(false)]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module)]
#if !PORTABLE
[Serializable]
#endif
public sealed class PluginModuleAttribute : Attribute
{
/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions TomsToolbox.Core/SequenceAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
/// General usable sequence attribute to assign sequences to any object that may need to be e.g. sorted by some means.
/// </summary>
[AttributeUsage(AttributeTargets.All)]
#if !PORTABLE
[Serializable]
#endif
public sealed class SequenceAttribute : Attribute
{
/// <summary>
Expand Down

0 comments on commit 5c4fe16

Please sign in to comment.