Skip to main content

csharp_source_with_runtime

Function csharp_source_with_runtime 

Source
pub fn csharp_source_with_runtime(
    ast: &Ast,
    key: LayoutKey,
) -> Result<String, GenerateError>
Expand description

C# declarations and codecs linked against the shared wire runtime.

Unlike standalone declarations, these must use the runtime’s IdlName and Float128 types, not redeclare same-named but assembly-incompatible copies.

§Errors

The same rule, materialization and codec errors as source.