manognya-b commented on issue #1077:
URL: https://github.com/apache/lucenenet/issues/1077#issuecomment-2571613195

   Update: I've completed the moving of `typeof(SomeType).Name` to 
`nameof(SomeType)`. I have been looking into opportunities to convert other 
similiar usages, and had some queries:
   1. For usages like `x.GetType().NameSpace` and `x.GetType().Fullname`, where 
the result generated would be different, I was unable to find equivalents like 
`nameof(x)`. Is there any alternative I can explore for this?
   2. I also wanted some inputs on how to check whether `x.GetType().Name` is 
sealed or not as manual checking by locating the parent class and looking for 
the keywords `sealed` or `struct` would be tedious considering the size of the 
codebase.
   
   Thanks! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to