"UnscopedRef on parameter"

ref struct IntRefContainer {
	public ref int RefA;
	public ref int RefB;
	public ref int RefC;

	// UnscopedRef attribute widens the safe-to-escape scope of 'i' from return only to 
	// calling method, allowing us to assign the reference elsewhere
	public void AssignAll([UnscopedRef] ref int i) { 
		RefA = ref i;
		RefB = ref i;
		RefC = ref i;

Code snippet taken from "Complete C# Quick Reference - C# 11".