API Browser

Constructor

.ctor

init(AssemblyName: string, TypeName: string, MapClrVoidToUnit: bool = false) -> ()

Declaring type: RuntimeUnitContract
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: RuntimeUnitContract.cs

Selects the target value type that represents the language's unit value.

Parameters

Name Type Description
AssemblyName String Assembly owning the unit value representation.
TypeName String Metadata name of its public empty value type.
MapClrVoidToUnit Boolean Explicit .NET bootstrap policy: bind source CLR Void type syntax as unit; imported no-result returns remain void.