| 1 | use heck::{ToLowerCamelCase, ToUpperCamelCase}; |
| 2 | |
| 3 | pub(crate) trait ToCSharpIdent: ToOwned { |
| 4 | fn csharp_keywords() -> &'static [&'static str]; |
| 5 | fn to_csharp_ident(&self) -> Self::Owned; |
| 6 | fn to_csharp_ident_upper(&self) -> Self::Owned; |
| 7 | } |
| 8 | |
| 9 | impl ToCSharpIdent for str { |
| 10 | // Source: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/ |
nothing calls this directly
no outgoing calls
no test coverage detected