@@ -63,32 +63,32 @@ public static bool IsDestructor(this MethodInfo method)
6363
6464 public static bool IsEventAttach ( this MethodBase method )
6565 {
66- return method . IsSpecialName && method . Name . StartsWith ( "add_" , StringComparison . Ordinal ) ;
66+ return method . Name . StartsWith ( "add_" , StringComparison . Ordinal ) ;
6767 }
6868
6969 public static bool IsEventDetach ( this MethodBase method )
7070 {
71- return method . IsSpecialName && method . Name . StartsWith ( "remove_" , StringComparison . Ordinal ) ;
71+ return method . Name . StartsWith ( "remove_" , StringComparison . Ordinal ) ;
7272 }
7373
7474 public static bool IsPropertyGetter ( this MethodBase method )
7575 {
76- return method . IsSpecialName && method . Name . StartsWith ( "get_" , StringComparison . Ordinal ) ;
76+ return method . Name . StartsWith ( "get_" , StringComparison . Ordinal ) ;
7777 }
7878
7979 public static bool IsPropertyIndexerGetter ( this MethodBase method )
8080 {
81- return method . IsSpecialName && method . Name . StartsWith ( "get_Item" , StringComparison . Ordinal ) ;
81+ return method . Name . StartsWith ( "get_Item" , StringComparison . Ordinal ) ;
8282 }
8383
8484 public static bool IsPropertyIndexerSetter ( this MethodBase method )
8585 {
86- return method . IsSpecialName && method . Name . StartsWith ( "set_Item" , StringComparison . Ordinal ) ;
86+ return method . Name . StartsWith ( "set_Item" , StringComparison . Ordinal ) ;
8787 }
8888
8989 public static bool IsPropertySetter ( this MethodBase method )
9090 {
91- return method . IsSpecialName && method . Name . StartsWith ( "set_" , StringComparison . Ordinal ) ;
91+ return method . Name . StartsWith ( "set_" , StringComparison . Ordinal ) ;
9292 }
9393
9494 public static bool IsRefArgument ( this ParameterInfo parameter )
0 commit comments