Skip to content

Commit 16d9f9b

Browse files
committed
Add guid to project declarations.
1 parent 0397e49 commit 16d9f9b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Rubberduck.Parsing/Symbols/Accessibility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public enum Accessibility
77
Implicit = 3,
88
Public = 4,
99
Global = 5,
10-
Static = 6,
10+
Static = 6
1111
}
1212
}

Rubberduck.Parsing/Symbols/ProjectDeclaration.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ public ProjectDeclaration(
4040
public ProjectDeclaration(ComProject project, QualifiedModuleName module)
4141
: this(module.QualifyMemberName(project.Name), project.Name, false, null)
4242
{
43+
Guid = project.Guid;
4344
MajorVersion = project.MajorVersion;
4445
MinorVersion = project.MinorVersion;
4546
}
4647

47-
public long MajorVersion { get; set; }
48-
public long MinorVersion { get; set; }
48+
public Guid Guid { get; }
49+
public long MajorVersion { get; }
50+
public long MinorVersion { get; }
4951

5052
public IReadOnlyList<ProjectReference> ProjectReferences
5153
{

0 commit comments

Comments
 (0)