public static T ParseAndTest<T>(IVBE vbe, Func<RubberduckParserState, IVBE, T> testFunc)
{
T result = default;
using (var state = MockParser.CreateAndParse(vbe))
{
result = testFunc(state, vbe);
}
return result;
}
@M.Doerner I've used something like the above code to generate state and get to something specific outside of a refactoring or inspection. Useful in your case?
does anyone, off the top of their head, know a reason that regasm might be telling me I need to use an administrator command prompt even though I am already using an administrator command prompt?
i got the singletons figured out, expanded the process to the five data structures i wanted to use, it built essentially the first time i tried, then, when i went to register
Hello. I didn't expect such a response. You've put so much helpful concise and detailed information that it feels like Christmas. I couldn't wait to get home and get through it. I'll definitely learn lots altho surely come back with more questions.. Thank you!! — Anna Zet4 hours ago
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class Queue<T> : System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IReadOnlyCollection<T>, System.Collections.ICollection