public FSharpLexer([NotNull] IDocument document, FSharpList <string> defines) { myDocument = document; myDocumentLineCount = document.GetLineCount(); mySourceTokenizer = new FSharpSourceTokenizer(defines, null); Buffer = document.Buffer; }