"Generator Target Source With Partial Method"

using System;

Console.WriteLine(GeneratorTarget.GeneratedClass.GetInt());

namespace GeneratorTarget {
	public static partial class GeneratedClass {
		public static partial int GetInt();
	}
}


Code snippet taken from "Two Decades of C#: A Reference - C# 9".