Mono.Cecil.Mdb.MdbWriter.Populate C# (CSharp) Method

Populate() private method

private Populate ( Collection sequencePoints, int offsets, int startRows, int endRows, int startCols, int endCols, SourceFile &file ) : void
sequencePoints Collection
offsets int
startRows int
endRows int
startCols int
endCols int
file SourceFile
return void
        void Populate(Collection<SequencePoint> sequencePoints, int [] offsets,
			int [] startRows, int [] endRows, int [] startCols, int [] endCols, out SourceFile file)
        {
            SourceFile source_file = null;

            for (int i = 0; i < sequencePoints.Count; i++) {
                var sequence_point = sequencePoints [i];
                offsets [i] = sequence_point.Offset;

                if (source_file == null)
                    source_file = GetSourceFile (sequence_point.Document);

                startRows [i] = sequence_point.StartLine;
                endRows [i] = sequence_point.EndLine;
                startCols [i] = sequence_point.StartColumn;
                endCols [i] = sequence_point.EndColumn;
            }

            file = source_file;
        }