Compilation.EmitDifference 方法

定义

重载

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol, Boolean>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)
已过时.

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol,Boolean>, Stream, Stream, Stream, CancellationToken)

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)
已过时.

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol, Boolean>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

注意

UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

public Microsoft.CodeAnalysis.Emit.EmitDifferenceResult EmitDifference (Microsoft.CodeAnalysis.Emit.EmitBaseline baseline, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Emit.SemanticEdit> edits, Func<Microsoft.CodeAnalysis.ISymbol,bool> isAddedSymbol, System.IO.Stream metadataStream, System.IO.Stream ilStream, System.IO.Stream pdbStream, System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> updatedMethods, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.")]
public Microsoft.CodeAnalysis.Emit.EmitDifferenceResult EmitDifference (Microsoft.CodeAnalysis.Emit.EmitBaseline baseline, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Emit.SemanticEdit> edits, Func<Microsoft.CodeAnalysis.ISymbol,bool> isAddedSymbol, System.IO.Stream metadataStream, System.IO.Stream ilStream, System.IO.Stream pdbStream, System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> updatedMethods, System.Threading.CancellationToken cancellationToken = default);
member this.EmitDifference : Microsoft.CodeAnalysis.Emit.EmitBaseline * seq<Microsoft.CodeAnalysis.Emit.SemanticEdit> * Func<Microsoft.CodeAnalysis.ISymbol, bool> * System.IO.Stream * System.IO.Stream * System.IO.Stream * System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Emit.EmitDifferenceResult
[<System.Obsolete("UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.")>]
member this.EmitDifference : Microsoft.CodeAnalysis.Emit.EmitBaseline * seq<Microsoft.CodeAnalysis.Emit.SemanticEdit> * Func<Microsoft.CodeAnalysis.ISymbol, bool> * System.IO.Stream * System.IO.Stream * System.IO.Stream * System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Emit.EmitDifferenceResult
Public Function EmitDifference (baseline As EmitBaseline, edits As IEnumerable(Of SemanticEdit), isAddedSymbol As Func(Of ISymbol, Boolean), metadataStream As Stream, ilStream As Stream, pdbStream As Stream, updatedMethods As ICollection(Of MethodDefinitionHandle), Optional cancellationToken As CancellationToken = Nothing) As EmitDifferenceResult

参数

baseline
EmitBaseline
isAddedSymbol
Func<ISymbol,Boolean>
metadataStream
Stream
ilStream
Stream
pdbStream
Stream
cancellationToken
CancellationToken

返回

属性

适用于

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol,Boolean>, Stream, Stream, Stream, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

public Microsoft.CodeAnalysis.Emit.EmitDifferenceResult EmitDifference (Microsoft.CodeAnalysis.Emit.EmitBaseline baseline, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Emit.SemanticEdit> edits, Func<Microsoft.CodeAnalysis.ISymbol,bool> isAddedSymbol, System.IO.Stream metadataStream, System.IO.Stream ilStream, System.IO.Stream pdbStream, System.Threading.CancellationToken cancellationToken = default);
member this.EmitDifference : Microsoft.CodeAnalysis.Emit.EmitBaseline * seq<Microsoft.CodeAnalysis.Emit.SemanticEdit> * Func<Microsoft.CodeAnalysis.ISymbol, bool> * System.IO.Stream * System.IO.Stream * System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Emit.EmitDifferenceResult
Public Function EmitDifference (baseline As EmitBaseline, edits As IEnumerable(Of SemanticEdit), isAddedSymbol As Func(Of ISymbol, Boolean), metadataStream As Stream, ilStream As Stream, pdbStream As Stream, Optional cancellationToken As CancellationToken = Nothing) As EmitDifferenceResult

参数

baseline
EmitBaseline
isAddedSymbol
Func<ISymbol,Boolean>
metadataStream
Stream
ilStream
Stream
pdbStream
Stream
cancellationToken
CancellationToken

返回

适用于

EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

注意

UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.

发出编辑并继续的编译与上一代之间的差异。 差异表示为添加和更改的符号,并作为元数据、IL 和 PDB 增量发出。 当前编译的表示形式作为 EmitBaseline 返回,以便在后续编辑并继续中使用。

public Microsoft.CodeAnalysis.Emit.EmitDifferenceResult EmitDifference (Microsoft.CodeAnalysis.Emit.EmitBaseline baseline, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Emit.SemanticEdit> edits, System.IO.Stream metadataStream, System.IO.Stream ilStream, System.IO.Stream pdbStream, System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> updatedMethods, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.")]
public Microsoft.CodeAnalysis.Emit.EmitDifferenceResult EmitDifference (Microsoft.CodeAnalysis.Emit.EmitBaseline baseline, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Emit.SemanticEdit> edits, System.IO.Stream metadataStream, System.IO.Stream ilStream, System.IO.Stream pdbStream, System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> updatedMethods, System.Threading.CancellationToken cancellationToken = default);
member this.EmitDifference : Microsoft.CodeAnalysis.Emit.EmitBaseline * seq<Microsoft.CodeAnalysis.Emit.SemanticEdit> * System.IO.Stream * System.IO.Stream * System.IO.Stream * System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Emit.EmitDifferenceResult
[<System.Obsolete("UpdatedMethods is now part of EmitDifferenceResult, so you should use an overload that doesn't take it.")>]
member this.EmitDifference : Microsoft.CodeAnalysis.Emit.EmitBaseline * seq<Microsoft.CodeAnalysis.Emit.SemanticEdit> * System.IO.Stream * System.IO.Stream * System.IO.Stream * System.Collections.Generic.ICollection<System.Reflection.Metadata.MethodDefinitionHandle> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Emit.EmitDifferenceResult
Public Function EmitDifference (baseline As EmitBaseline, edits As IEnumerable(Of SemanticEdit), metadataStream As Stream, ilStream As Stream, pdbStream As Stream, updatedMethods As ICollection(Of MethodDefinitionHandle), Optional cancellationToken As CancellationToken = Nothing) As EmitDifferenceResult

参数

baseline
EmitBaseline
metadataStream
Stream
ilStream
Stream
pdbStream
Stream
cancellationToken
CancellationToken

返回

属性

适用于