CSharpCompilation.WithScriptCompilationInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new compilation with the given compilation set as the previous submission.
public:
Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ WithScriptCompilationInfo(Microsoft::CodeAnalysis::CSharp::CSharpScriptCompilationInfo ^ info);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithScriptCompilationInfo (Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo info);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithScriptCompilationInfo (Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo? info);
override this.WithScriptCompilationInfo : Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function WithScriptCompilationInfo (info As CSharpScriptCompilationInfo) As CSharpCompilation