Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
6e39eaad
Commit
6e39eaad
authored
Sep 19, 2018
by
Jon Skeet
Committed by
Jon Skeet
Sep 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more detailed comments for declaration properties
parent
0b314d74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
DescriptorDeclaration.cs
...p/src/Google.Protobuf/Reflection/DescriptorDeclaration.cs
+11
-5
No files found.
csharp/src/Google.Protobuf/Reflection/DescriptorDeclaration.cs
View file @
6e39eaad
...
...
@@ -64,24 +64,30 @@ namespace Google.Protobuf.Reflection
/// </summary>
public
int
EndLine
{
get
;
}
/// <summary>
/// The end column of the declaration within the source file. This value is 1-based.
/// The end column of the declaration within the source file. This value is 1-based, and
/// exclusive. (The final character of the declaration is on the column before this value.)
/// </summary>
public
int
EndColumn
{
get
;
}
/// <summary>
/// Comments appearing before the declaration. Never null, but may be empty.
/// Comments appearing before the declaration. Never null, but may be empty. Multi-line comments
/// are represented as a newline-separated string. Leading whitespace and the comment marker ("//")
/// are removed from each line.
/// </summary>
public
string
LeadingComments
{
get
;
}
/// <summary>
/// Comments appearing after the declaration. Never null, but may be empty.
/// Comments appearing after the declaration. Never null, but may be empty. Multi-line comments
/// are represented as a newline-separated string. Leading whitespace and the comment marker ("//")
/// are removed from each line.
/// </summary>
public
string
TrailingComments
{
get
;
}
/// <summary>
/// Comments appearing before the declaration, but separated from it by blank
/// lines. Each string represents a paragraph of comments. The list is never null,
/// but may be empty. Likewise each element is never null, but may be empty.
/// lines. Each string represents a newline-separated paragraph of comments.
/// Leading whitespace and the comment marker ("//") are removed from each line.
/// The list is never null, but may be empty. Likewise each element is never null, but may be empty.
/// </summary>
public
IReadOnlyList
<
string
>
LeadingDetachedComments
{
get
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment