MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / to_csharp_ident_upper

Method to_csharp_ident_upper

crates/csharp/src/csharp_ident.rs:103–110  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

101 }
102
103 fn to_csharp_ident_upper(&self) -> String {
104 // Escape C# keywords
105 if Self::csharp_keywords().contains(&self) {
106 format!("@{self}")
107 } else {
108 self.to_upper_camel_case()
109 }
110 }
111}

Callers 2

type_variantMethod · 0.80
lift_variantMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected