RumTery
RumTery
CC#
Created by RumTery on 10/26/2024 in #help
How to catch implicit conversion using SyntaxWalker and SemanticModel?
But anyways
6 replies
CC#
Created by RumTery on 10/26/2024 in #help
How to catch implicit conversion using SyntaxWalker and SemanticModel?
Found in SemanticModel.GetConversion... It's kinda tricky to use, as it uses expression as argument...
6 replies
CC#
Created by Pedro Gil Mora on 10/7/2024 in #help
Dictionary vs switch in source generated code
If your keys are just 0, 1, 2, 3, why not array? Also, calling delegate will never be as fast as direct method call in switch
52 replies
CC#
Created by RumTery on 5/5/2024 in #help
Hide private partial class/struct members
Is there any other workaround? I already created separate class with file accessor but it only helps with fields. Methods can't be moved, as they need to access other private method defined in original partial class
4 replies