Skip to content

Commit cd66e7a

Browse files
authored
Merge pull request #62 from MikaelTap/master
use PSerializable for support .Net 6.0
2 parents 92134d1 + 9bc2e0f commit cd66e7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

AopCaching/AopCaching.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<AssemblyName>PubComp.Caching.AopCaching</AssemblyName>
66
<RootNamespace>PubComp.Caching.AopCaching</RootNamespace>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8-
<Version>5.0.3</Version>
8+
<Version>5.0.4</Version>
99
<AssemblyVersion>5.0.0.0</AssemblyVersion>
10-
<FileVersion>5.0.3.0</FileVersion>
10+
<FileVersion>5.0.4.0</FileVersion>
1111
</PropertyGroup>
1212
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1313
<NoWarn>1701;1702;1591</NoWarn>

AopCaching/CacheListAttribute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Threading;
54
using System.Reflection;
65
using PostSharp.Aspects;
76
using PubComp.Caching.Core;
87
using System.Collections;
98
using System.Threading.Tasks;
109
using PubComp.Caching.Core.Attributes;
1110
using NLog;
11+
using PostSharp.Serialization;
1212

1313
namespace PubComp.Caching.AopCaching
1414
{
15-
[Serializable]
15+
[PSerializable]
1616
public class CacheListAttribute : MethodInterceptionAspect
1717
{
1818
private string cacheName;

0 commit comments

Comments
 (0)