Skip to content

Commit 4af5900

Browse files
Update to Jetbrains v2025.3.0 (#361)
* Update to Jetbrains v2025.3.0 * escape @field according to .NET 10 SDK
1 parent 705d56a commit 4af5900

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/Machine.Specifications.Runner.ReSharper/Machine.Specifications.Runner.ReSharper.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<Authors>Machine</Authors>
2424
<Owners>Machine</Owners>
2525
<PackageTags>test;unit;testing;context;specification;bdd;tdd;mspec;runner;resharper</PackageTags>
26-
<PackageReleaseNotes>Adds support for R# and Rider 2025.2</PackageReleaseNotes>
26+
<PackageReleaseNotes>Adds support for R# and Rider 2025.3</PackageReleaseNotes>
2727
<PackageIcon>Machine.png</PackageIcon>
2828
<PackageIconUrl>http://github.com/machine/machine.specifications.runner.resharper/raw/master/images/icon.png</PackageIconUrl>
2929
<RepositoryUrl>https://github.com/machine/machine.specifications.runner.resharper</RepositoryUrl>
@@ -32,13 +32,13 @@
3232
</PropertyGroup>
3333

3434
<PropertyGroup>
35-
<SdkVersion>2025.2.0</SdkVersion>
35+
<SdkVersion>2025.3.0</SdkVersion>
3636
<WaveVersionBase>$(SdkVersion.Substring(2,2))$(SdkVersion.Substring(5,1))</WaveVersionBase>
3737
<WaveVersion>$(WaveVersionBase).0.0</WaveVersion>
3838
</PropertyGroup>
3939

4040
<ItemGroup>
41-
<PackageReference Include="JetBrains.ReSharper.SDK" Version="2025.2.0" PrivateAssets="all" />
41+
<PackageReference Include="JetBrains.ReSharper.SDK" Version="2025.3.0" PrivateAssets="all" />
4242
<PackageReference Include="Machine.Specifications.Runner.Utility" Version="1.0.2" PrivateAssets="all" />
4343
<PackageReference Include="Wave" Version="[$(WaveVersion)]" />
4444
</ItemGroup>

src/Machine.Specifications.Runner.ReSharper/Reflection/MetadataFieldInfoAdapter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace Machine.Specifications.Runner.ReSharper.Reflection;
66

77
public class MetadataFieldInfoAdapter(IMetadataField field) : IFieldInfo
88
{
9-
public string DeclaringType => field.DeclaringType.FullyQualifiedName;
9+
public string DeclaringType => @field.DeclaringType.FullyQualifiedName;
1010

11-
public string ShortName => field.Name;
11+
public string ShortName => @field.Name;
1212

1313
public ITypeInfo FieldType
1414
{
1515
get
1616
{
17-
if (field.Type is IMetadataClassType classType)
17+
if (@field.Type is IMetadataClassType classType)
1818
{
1919
return classType.Type.AsTypeInfo(classType);
2020
}

src/Machine.Specifications.Runner.ReSharper/Reflection/PsiFieldInfoAdapter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ namespace Machine.Specifications.Runner.ReSharper.Reflection;
77

88
public class PsiFieldInfoAdapter(IField field) : IFieldInfo
99
{
10-
public string DeclaringType => field.ContainingType!.GetClrName().FullName;
10+
public string DeclaringType => @field.ContainingType!.GetClrName().FullName;
1111

12-
public string ShortName => field.ShortName;
12+
public string ShortName => @field.ShortName;
1313

1414
public ITypeInfo FieldType
1515
{
1616
get
1717
{
18-
if (field.Type is IDeclaredType {IsResolved: true} type)
18+
if (@field.Type is IDeclaredType {IsResolved: true} type)
1919
{
2020
return type.GetTypeElement()!.AsTypeInfo(type);
2121
}

0 commit comments

Comments
 (0)