You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PUBLIC OVERRIDE METHODDecompileAssembly(asmbly AS LoadedAssembly , output AS ITextOutput , options AS DecompilationOptions ) AS ICSharpCode.Decompiler.Solution.ProjectId
120
+
PUBLIC OVERRIDE METHODDecompileAssembly(asmbly AS LoadedAssembly , output AS ITextOutput , options AS DecompilationOptions ) AS ICSharpCode.Decompiler.Solution.ProjectId
121
121
// LOCAL result AS ModuleDefinition
122
122
// //LOCAL iLSpyWholeProjectDecompiler AS ILSpyWholeProjectDecompiler
123
123
// LOCAL moduleDefinition AS ModuleDefinition
@@ -492,7 +492,7 @@ BEGIN NAMESPACE ILSpy.XSharpLanguage
492
492
SELF:options := options
493
493
494
494
495
-
PROTECTED OVERRIDE METHODWriteResourceToFile(fileName AS STRING , resourceName AS STRING , entryStream AS Stream ) AS IEnumerable<ValueTuple<STRING, STRING>>
495
+
PROTECTED OVERRIDE METHODWriteResourceToFile(fileName AS STRING , resourceName AS STRING , entryStream AS Stream ) AS IEnumerable<ValueTuple<STRING, STRING>>
496
496
//
497
497
FOREACH exportedValue AS IResourceFileHandler IN App.ExportProvider:GetExportedValues<IResourceFileHandler>()
498
498
IF (exportedValue:CanHandle(fileName, SELF:options))
@@ -504,19 +504,20 @@ BEGIN NAMESPACE ILSpy.XSharpLanguage
PUBLIC METHOD DecompileProject(moduleDefinition AS PEFile , targetDirectory AS STRING , projectFileWriter AS TextWriter , cancellationToken := DEFAULT(CancellationToken) AS CancellationToken ) AS ProjectId
509
510
LOCAL list AS List<Tuple<STRING, STRING>>
510
511
//
511
512
IF string.IsNullOrEmpty(targetDirectory)
512
-
THROW InvalidOperationException{e"Must set TargetDirectory"}
513
+
THROW InvalidOperationException{"Must set TargetDirectory"}
513
514
ENDIF
514
515
SELF:targetDirectory := targetDirectory
515
516
SELF:directories:Clear()
516
-
list :=Enumerable.ToList<Tuple<STRING, STRING>>(SELF:xsWriteCodeFilesInProject(moduleDefinition, cancellationToken))
517
+
list := SELF:xsWriteCodeFilesInProject(moduleDefinition, cancellationToken)):ToList()
0 commit comments