Skip to content

Commit

Permalink
Merge pull request #18 from derigel23/main
Browse files Browse the repository at this point in the history
Allow to mark fields and properties with PathReferenceAttribute
  • Loading branch information
controlflow committed May 31, 2023
2 parents dbde025 + a8c1eec commit 334d196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Annotations.cs
Expand Up @@ -691,7 +691,7 @@ public sealed class ProvidesContextAttribute : Attribute { }
/// Indicates that a parameter is a path to a file or a folder within a web project.
/// Path can be relative or absolute, starting from web root (~).
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("JETBRAINS_ANNOTATIONS")]
public sealed class PathReferenceAttribute : Attribute
{
Expand Down
2 changes: 1 addition & 1 deletion src/JetBrains.Annotations.csproj
Expand Up @@ -6,7 +6,7 @@
MAJOR and MINOR version numbers should match latest ReSharper version (to avoid confusion),
PATCH version may vary during development and EAPs -->
<VersionPrefix>2023.2.0</VersionPrefix>
<VersionSuffix>eap3</VersionSuffix>
<VersionSuffix>eap4</VersionSuffix>

<!-- versioning -->
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix)-$(VersionSuffix)</Version>
Expand Down

0 comments on commit 334d196

Please sign in to comment.