static void Test() {
var i = 4;
TryAdjustRefReadonly(ref i);
}
static void TryAdjustRefReadonly(ref readonly int i) {
i = 3; // Compiler error here: "Cannot assign to variable 'i' or use it as the right hand side of a ref assignment because it is a readonly variable"
}