Skip to content

Commit c5ddcb0

Browse files
committed
small fixes
1 parent 19dadc5 commit c5ddcb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageReadmeFile>README.md</PackageReadmeFile>
99
<RepositoryUrl>https://github.com/Selectorsvt/Extended.System.Reflection</RepositoryUrl>
1010
<PackageOutputPath>.\nupkg</PackageOutputPath>
11-
<Version>1.0.2</Version>
11+
<Version>1.0.3</Version>
1212
</PropertyGroup>
1313

1414
<PropertyGroup>

src/Extended.System.Reflection/ExpressionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static string GetPropertyName<TSource, TProperty>(this Expression<Func<TS
2929
/// <param name="propertyLambda">The property lambda.</param>
3030
/// <exception cref="ArgumentException">Not valid expression.</exception>
3131
/// <returns>The prop info.</returns>
32-
public static PropertyInfo GetPropertyInfo<TSource, TProperty>(Expression<Func<TSource, TProperty>> propertyLambda)
32+
public static PropertyInfo GetPropertyInfo<TSource, TProperty>(this Expression<Func<TSource, TProperty>> propertyLambda)
3333
{
3434
if (propertyLambda.Body is not MemberExpression member)
3535
{

0 commit comments

Comments
 (0)