Skip to content

Commit 6880a50

Browse files
v1.4.0 (#13)
* Reduce the dependency of Microsoft.CodeAnalysis.CSharp to the release 4.0.1.
1 parent 1a0f8c5 commit 6880a50

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

build/azure-pipelines-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
- name: VersionPrefix
33
displayName: The version of the library
44
type: string
5-
default: 1.3.0
5+
default: 1.4.0
66
- name: VersionSuffix
77
displayName: The version suffix of the library (rc.1). Use a space ' ' if no suffix.
88
type: string

src/Moq.Analyzers/Moq.Analyzers.csproj

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,22 @@
1717
<PackageProjectUrl>https://github.com/PosInformatique/PosInformatique.Moq.Analyzers</PackageProjectUrl>
1818
<PackageReadmeFile>README.md</PackageReadmeFile>
1919
<PackageReleaseNotes>
20+
1.4.0
21+
- Reduce the dependency of Microsoft.CodeAnalysis.CSharp to the release 4.0.1.
22+
23+
1.3.0
24+
- Add new rules:
25+
- PosInfoMoq2003 rule to check the Callback() signature method (fixes #3).
26+
- Fixes the PosInfoMoq2000 rule to check the call of the Returns()/ReturnsAsync() methods for the mocked properties for the mock with Strict behavior.
27+
28+
1.2.0
29+
- Add new rules:
30+
- PosInfoMoq2001: The Setup() method must be used only on overridable members.
31+
- PosInfoMoq2002: Mock&lt;T&gt; class can be used only to mock non-sealed class.
32+
2033
1.1.0
2134
- Add new rules:
22-
- PosInfoMoq2000: The `Returns()` or `ReturnsAsync()` methods must be call for Strict mocks.
35+
- PosInfoMoq2000: The Returns() or ReturnsAsync() methods must be call for Strict mocks.
2336

2437
1.0.0
2538
- Initial version with the followings rules:
@@ -33,8 +46,8 @@
3346
</PropertyGroup>
3447

3548
<ItemGroup>
36-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
37-
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.8.0" />
49+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
50+
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.0.1" />
3851
</ItemGroup>
3952

4053
<ItemGroup>
@@ -45,6 +58,11 @@
4558
<None Include="Icon.png" Pack="true" PackagePath="" />
4659
</ItemGroup>
4760

61+
<ItemGroup>
62+
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
63+
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
64+
</ItemGroup>
65+
4866
<Target Name="_AddAnalyzersToOutput">
4967
<ItemGroup>
5068
<TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).dll" PackagePath="analyzers/dotnet/cs" />

0 commit comments

Comments
 (0)