private static void WeirdCase() { try { var a = new HolderOfNativeResource(); } catch (Exception) { Console.WriteLine("A can't be constructed"); } }
public ResourceHolderWrapper(HolderOfNativeResource innerHolderOfNativeResource) { _innerHolderOfNativeResource = innerHolderOfNativeResource; Console.WriteLine("B constructed"); }