Skip to content

Commit

Permalink
Removed QualifiedModuleName.Component.
Browse files Browse the repository at this point in the history
  • Loading branch information
MDoerner committed Jan 14, 2018
1 parent b869278 commit 4e66cf3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Rubberduck.VBEEditor/QualifiedModuleName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public static string GetProjectId(IReference reference)

public QualifiedModuleName(IVBProject project)
{
Component = null;
_componentName = null;
ComponentType = ComponentType.Undefined;
_projectName = project.Name;
Expand All @@ -47,7 +46,6 @@ public QualifiedModuleName(IVBProject project)
public QualifiedModuleName(IVBComponent component)
{
ComponentType = component.Type;
Component = component;
_componentName = component.IsWrappingNullReference ? string.Empty : component.Name;

ContentHashCode = 0;
Expand Down Expand Up @@ -82,7 +80,6 @@ public QualifiedModuleName(string projectName, string projectPath, string compon
ProjectPath = projectPath;
ProjectId = $"{_projectName};{ProjectPath}".GetHashCode().ToString(CultureInfo.InvariantCulture);
_componentName = componentName;
Component = null;
ComponentType = ComponentType.ComComponent;
ContentHashCode = 0;
}
Expand All @@ -92,8 +89,6 @@ public QualifiedMemberName QualifyMemberName(string member)
return new QualifiedMemberName(this, member);
}

public IVBComponent Component { get; }

public ComponentType ComponentType { get; }

public int ContentHashCode { get; }
Expand Down

0 comments on commit 4e66cf3

Please sign in to comment.