Mono.Debugger.Backend.Mono.MonoSymbolFile.MonoLineNumberTable.create_address C# (CSharp) Method

create_address() private method

private create_address ( LineEntry entry, int line_offset, int line_range ) : SourceAddress
entry Mono.Debugger.LineEntry
line_offset int
line_range int
return Mono.Debugger.SourceAddress
            SourceAddress create_address(LineEntry entry, int line_offset, int line_range)
            {
                SourceFile file = null;
                SourceBuffer buffer = null;

                if (entry.File != 0) {
                    file = File.GetSourceFile (entry.File);
                } else {
                    if (Method.MethodSource.HasSourceFile)
                        file = Method.MethodSource.SourceFile;
                    if (Method.MethodSource.HasSourceBuffer)
                        buffer = Method.MethodSource.SourceBuffer;
                }

                return new SourceAddress (file, buffer, entry.Line, line_offset, line_range, entry.SourceRange);
            }