@@ -75,26 +75,23 @@ public void Start(CancellationToken token)
75
75
Tokens = stream ,
76
76
Attributes = attributes ,
77
77
Comments = comments ,
78
- Annotations = annotationListener . Annotations ,
79
- Component = _component
78
+ Annotations = annotationListener . Annotations
80
79
} ) ;
81
80
}
82
81
catch ( COMException exception )
83
82
{
84
83
_logger . Error ( exception , "Exception thrown in thread {0}." , Thread . CurrentThread . ManagedThreadId ) ;
85
84
ParseFailure . Invoke ( this , new ParseFailureArgs
86
85
{
87
- Cause = exception ,
88
- Component = _component
86
+ Cause = exception
89
87
} ) ;
90
88
}
91
89
catch ( SyntaxErrorException exception )
92
90
{
93
91
_logger . Error ( exception , "Exception thrown in thread {0}." , Thread . CurrentThread . ManagedThreadId ) ;
94
92
ParseFailure . Invoke ( this , new ParseFailureArgs
95
93
{
96
- Cause = exception ,
97
- Component = _component
94
+ Cause = exception
98
95
} ) ;
99
96
}
100
97
catch ( OperationCanceledException )
@@ -127,7 +124,6 @@ private IEnumerable<CommentNode> QualifyAndUnionComments(QualifiedModuleName qua
127
124
128
125
public class ParseCompletionArgs
129
126
{
130
- public VBComponent Component { get ; internal set ; }
131
127
public ITokenStream Tokens { get ; internal set ; }
132
128
public IParseTree ParseTree { get ; internal set ; }
133
129
public IDictionary < Tuple < string , DeclarationType > , Attributes > Attributes { get ; internal set ; }
@@ -137,7 +133,6 @@ public class ParseCompletionArgs
137
133
138
134
public class ParseFailureArgs
139
135
{
140
- public VBComponent Component { get ; internal set ; }
141
136
public Exception Cause { get ; internal set ; }
142
137
}
143
138
0 commit comments