Example #1
0
            public ulong Get(string function)
            {
                var functionKey = function;

                var location = new Location {
                    Id = _index
                };

                location.Lines.Add(new Line {
                    FunctionId = _functionTable.Get(functionKey), line = 0
                });                                                                                      // for now we don't support line number

                _profile.Locations.Add(location);
                return(_index++);
            }