internal static void SetCreateAggregateParserLog(ILog value) { var pt = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType(typeof(CreateAggregateParser)); try { pt.SetStaticFieldOrProperty("Log", value); } catch (System.MissingMethodException missingMethodException) { throw new System.NotSupportedException("Log with requested parameters is not found. Rerun code generation.", missingMethodException); } }
internal static void SetPrivilegeParserenumEntries(List <PgPrivilegeKind> value) { var pt = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType(typeof(PrivilegeParser)); try { pt.SetStaticFieldOrProperty("enumEntries", value); } catch (System.MissingMethodException missingMethodException) { throw new System.NotSupportedException("enumEntries with requested parameters is not found. Rerun code generation.", missingMethodException); } }
internal static void SetDatabaseVersionRegexDumpVersion(Regex value) { var pt = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType(typeof(DatabaseVersion)); try { pt.SetStaticFieldOrProperty("RegexDumpVersion", value); } catch (System.MissingMethodException missingMethodException) { throw new System.NotSupportedException("RegexDumpVersion with requested parameters is not found. Rerun code generation.", missingMethodException); } }