Skip to content

Commit 4cbac19

Browse files
committed
Obsolete some methods
1 parent 1155c65 commit 4cbac19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/NHibernate/Util/ReflectHelper.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ public static IGetter GetGetter(System.Type theClass, string propertyName, strin
391391
/// <returns>
392392
/// The NHibernate <see cref="IType"/> for the named property.
393393
/// </returns>
394+
// Since v5.6
395+
[Obsolete("This method is not used and will be removed in a future version")]
394396
public static IType ReflectedPropertyType(System.Type theClass, string name, string access)
395397
{
396398
System.Type propertyClass = ReflectedPropertyClass(theClass, name, access);
@@ -419,6 +421,8 @@ public static System.Type ReflectedPropertyClass(System.Type theClass, string na
419421
/// <param name="name">The name of the property/field to find in the class.</param>
420422
/// <param name="accessorName">The name of the property accessor for the property.</param>
421423
/// <returns>The <see cref="System.Type" /> for the named property.</returns>
424+
// Since v5.6
425+
[Obsolete("This method is not used and will be removed in a future version")]
422426
public static System.Type ReflectedPropertyClass(string className, string name, string accessorName)
423427
{
424428
try

0 commit comments

Comments
 (0)