MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / autogen_csharp_tuple

Function autogen_csharp_tuple

crates/codegen/src/csharp.rs:1434–1444  ·  view source on GitHub ↗
(module: &ModuleDef, name: String, tuple: &ProductTypeDef, namespace: &str)

Source from the content-addressed store, hash-verified

1432}
1433
1434fn autogen_csharp_tuple(module: &ModuleDef, name: String, tuple: &ProductTypeDef, namespace: &str) -> String {
1435 let mut output = CsharpAutogen::new(
1436 namespace,
1437 &["System.Collections.Generic", "System.Runtime.Serialization"],
1438 false,
1439 );
1440
1441 autogen_csharp_product_common(module, &mut output, name, tuple, "", |_| {});
1442
1443 output.into_inner()
1444}
1445
1446fn autogen_csharp_product_common(
1447 module: &ModuleDef,

Callers 1

generate_type_filesMethod · 0.85

Calls 3

newFunction · 0.50
into_innerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…