Skip to content

Commit dd9204b

Browse files
committed
Revert "Add missing pragma warning for FieldInterceptorProxyBuilder"
This reverts commit 572c254.
1 parent 572c254 commit dd9204b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/NHibernate/Proxy/FieldInterceptorProxyBuilder.cs

-4
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@ internal static class FieldInterceptorProxyBuilder
1616
private static readonly PropertyInfo AccessorTypeFieldInterceptorProperty =
1717
FieldInterceptorAccessorType.GetProperty(nameof(IFieldInterceptorAccessor.FieldInterceptor));
1818
private static readonly System.Type FieldInterceptorType = typeof(IFieldInterceptor);
19-
// 6.0 TODO: Remove
2019
private static readonly System.Type FieldInterceptorExtensionsType = typeof(FieldInterceptorExtensions);
21-
#pragma warning disable 618
2220
private static readonly MethodInfo FieldInterceptorInterceptMethod = FieldInterceptorType.GetMethod(nameof(IFieldInterceptor.Intercept));
23-
#pragma warning restore 618
2421
private static readonly MethodInfo FieldInterceptorMarkDirtyMethod = FieldInterceptorType.GetMethod(nameof(IFieldInterceptor.MarkDirty));
25-
// 6.0 TODO: Remove and replace usages with FieldInterceptorInterceptMethod
2622
private static readonly MethodInfo FieldInterceptorInterceptExtensionMethod = FieldInterceptorExtensionsType.GetMethod(nameof(FieldInterceptorExtensions.Intercept));
2723
private static readonly System.Type AbstractFieldInterceptorType = typeof(AbstractFieldInterceptor);
2824
private static readonly FieldInfo AbstractFieldInterceptorInvokeImplementationField =

0 commit comments

Comments
 (0)