C# Class Microsoft.CodeAnalysis.CommonCompiler.CompilerEmitStreamProvider

This implementation of Compilation.EmitStreamProvider will delay the creation of the PE / PDB file until the compiler determines the compilation has succeeded. This prevents the compiler from deleting output from the previous compilation when a new compilation fails.
Inheritance: Microsoft.CodeAnalysis.Compilation.EmitStreamProvider, IDisposable
Afficher le fichier Open project: stark-lang/stark-roslyn

Méthodes publiques

Méthode Description
Close ( Microsoft.CodeAnalysis.DiagnosticBag diagnostics ) : void
CreateStream ( Microsoft.CodeAnalysis.DiagnosticBag diagnostics ) : Stream

Private Methods

Méthode Description
CompilerEmitStreamProvider ( Microsoft.CodeAnalysis.CommonCompiler compiler, string filePath ) : System
OpenFileStream ( ) : Stream
ReportOpenFileDiagnostic ( Microsoft.CodeAnalysis.DiagnosticBag diagnostics, Exception e ) : void

Method Details

Close() public méthode

public Close ( Microsoft.CodeAnalysis.DiagnosticBag diagnostics ) : void
diagnostics Microsoft.CodeAnalysis.DiagnosticBag
Résultat void

CreateStream() public méthode

public CreateStream ( Microsoft.CodeAnalysis.DiagnosticBag diagnostics ) : Stream
diagnostics Microsoft.CodeAnalysis.DiagnosticBag
Résultat Stream