public void WriteGenericConstraint(TrampolineContext context, CSharpCodeWriter writer) { writer.Write("where "); writer.WriteIdentifier(GenericParameterName); writer.Write(" : unmanaged, "); writer.Using(ConstraintInterfaceNamespace); writer.WriteIdentifier(ConstraintInterfaceTypeName); writer.WriteLine(); }