public void IndirectlyDerivedModulesCannotUseThisAssembly() { var module = new ModuleIndirectlyExposingThisAssembly(); Assert.Throws <InvalidOperationException>(() => { var unused = module.ModuleThisAssembly; }); }
public void IndirectlyDerivedModulesCannotUseThisAssembly() { var module = new ModuleIndirectlyExposingThisAssembly(); Assert.Throws<InvalidOperationException>(() => { var unused = module.ModuleThisAssembly; }); }