File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
137137 return CheckForImplicitGetAliasing ( commandName , cmdAst , fileName ) ;
138138 } ) ) ;
139139 }
140- foreach ( var task in tasks )
140+ foreach ( Task < DiagnosticRecord > task in tasks )
141141 {
142- var diagnosticRecordResult = task . Result ;
142+ DiagnosticRecord diagnosticRecordResult = task . Result ;
143143 if ( diagnosticRecordResult != null )
144144 {
145145 yield return task . Result ;
@@ -156,7 +156,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
156156 /// <returns></returns>
157157 private DiagnosticRecord CheckForImplicitGetAliasing ( string commandName , CommandAst commandAst , string fileName )
158158 {
159- var isNativeCommand = Helper . Instance . GetCommandInfo ( commandName , CommandTypes . Application | CommandTypes . ExternalScript ) != null ;
159+ bool isNativeCommand = Helper . Instance . GetCommandInfo ( commandName , CommandTypes . Application | CommandTypes . ExternalScript ) != null ;
160160 if ( ! isNativeCommand )
161161 {
162162 var commdNameWithGetPrefix = $ "Get-{ commandName } ";
@@ -293,4 +293,4 @@ public string GetSourceName()
293293 return string . Format ( CultureInfo . CurrentCulture , Strings . SourceName ) ;
294294 }
295295 }
296- }
296+ }
You can’t perform that action at this time.
0 commit comments