[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / gtest-optional-19.cs
blob17049844ff1c2ba941ee8f6427a1fbc5527218b2
1 using System;
3 public class MainClass
5 public static void Main ()
7 Wrap (r => r.Find ());
8 Wrap<IPackage> (r => r.Find ());
11 static void Wrap<T> (Func<IPackageRepository, T> factory, T defaultValue = null) where T : class
16 public interface IPackage
20 public interface IPackageRepository
22 IPackage Find ();