You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
publicclassContextFactory{privatestaticContextFactoryglobal=newContextFactory();publicinterfaceGlobalSetter{voidSetContextFactoryGlobal(ContextFactoryfactory);ContextFactoryGetContextFactoryGlobal();}publicstaticContextFactory.GlobalSetterGetGlobalSetter(){lock(typeof(ContextFactory)){if(hasCustomGlobal){thrownewInvalidOperationException();}hasCustomGlobal=true;returnnew_T1664473621(this);// we are in the static method}}internalclass_T1664473621:ContextFactory.GlobalSetter// the name of a class is incorrect{publicvirtualvoidSetContextFactoryGlobal(ContextFactoryfactory){ContextFactory.global=factory==null?newContextFactory():factory;}publicvirtualContextFactoryGetContextFactoryGlobal(){returnContextFactory.global;}internal_T1664473621(ContextFactory_enclosing){this._enclosing=_enclosing;}privatereadonlyContextFactory_enclosing;}}
The text was updated successfully, but these errors were encountered:
Is converted to
The text was updated successfully, but these errors were encountered: