private SarifTableDataSource() { this.sinksLock = new ReaderWriterLockSlimWrapper(new ReaderWriterLockSlim()); this.sinkHolders = new List <SinkHolder>(); this.tableEntriesLock = new ReaderWriterLockSlimWrapper(new ReaderWriterLockSlim()); this.logFileToTableEntries = new Dictionary <string, List <SarifResultTableEntry> >(StringComparer.InvariantCulture); if (!SarifViewerPackage.IsUnitTesting) { #pragma warning disable VSTHRD108 // Assert thread affinity unconditionally ThreadHelper.ThrowIfNotOnUIThread(); #pragma warning restore VSTHRD108 this.Initialize(SarifResultTableEntry.BasicColumns); } }