C#: Add upgrade and downgrade scripts.

This commit is contained in:
Michael Nebel
2024-02-28 13:49:00 +01:00
parent 00d311205b
commit f6b1d1f235
7 changed files with 8420 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,19 @@
class Parameter extends @parameter {
string toString() { none() }
}
class TypeOrRef extends @type_or_ref {
string toString() { none() }
}
class Parameterizable extends @parameterizable {
string toString() { none() }
}
from
Parameter p, string name, TypeOrRef typeId, int index, int mode, Parameterizable parentId,
Parameter unboundId, int updatedMode
where
params(p, name, typeId, index, mode, parentId, unboundId) and
if mode = 6 then updatedMode = 0 else updatedMode = mode
select p, name, typeId, index, updatedMode, parentId, unboundId

View File

@@ -0,0 +1,3 @@
description: Extract `ref readonly` parameters as having `mode` 0 in the params table.
compatibility: full
params.rel: run params.qlo

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
description: Extract `ref readonly` parameters as having `mode` 6 in the params table.
compatibility: backwards