Egil Hansen
Egil Hansen
CC#
Created by Egil Hansen on 2/26/2025 in #help
Invoke explicitly implemented static interface method
Some native types have explicitly implemented methods from e.g. IParsable<TSelf> on them, how can I call these? For example, static char ISpanParsable<char>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => ... in char: https://source.dot.net/#System.Private.CoreLib/src/libraries/System.Private.CoreLib/src/System/Char.cs,1948
5 replies