Compilation.EmitDifference 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol, Boolean>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken) |
已淘汰.
針對 [編輯後繼續] 發出編譯與上一代之間的差異。 差異會以新增和變更的符號表示,並以中繼資料、IL 和 PDB 差異的形式發出。 目前編譯的標記法會以 EmitBaseline 傳回,以供後續的 Edit 和 Continue 使用。 |
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Func<ISymbol,Boolean>, Stream, Stream, Stream, CancellationToken) |
針對 [編輯後繼續] 發出編譯與上一代之間的差異。 差異會以新增和變更的符號表示,並以中繼資料、IL 和 PDB 差異的形式發出。 目前編譯的標記法會以 EmitBaseline 傳回,以供後續的 Edit 和 Continue 使用。 |
EmitDifference(EmitBaseline, IEnumerable<SemanticEdit>, Stream, Stream, Stream, ICollection<MethodDefinitionHandle>, CancellationToken) |
已淘汰.
針對 [編輯後繼續] 發出編譯與上一代之間的差異。 差異會以新增和變更的符號表示,並以中繼資料、IL 和 PDB 差異的形式發出。 目前編譯的標記法會以 EmitBaseline 傳回,以供後續的 Edit 和 Continue 使用。 |
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 傳回,以供後續的 Edit 和 Continue 使用。
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
- edits
- IEnumerable<SemanticEdit>
- metadataStream
- Stream
- ilStream
- Stream
- pdbStream
- Stream
- updatedMethods
- ICollection<MethodDefinitionHandle>
- 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 傳回,以供後續的 Edit 和 Continue 使用。
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
- edits
- IEnumerable<SemanticEdit>
- 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 傳回,以供後續的 Edit 和 Continue 使用。
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
- edits
- IEnumerable<SemanticEdit>
- metadataStream
- Stream
- ilStream
- Stream
- pdbStream
- Stream
- updatedMethods
- ICollection<MethodDefinitionHandle>
- cancellationToken
- CancellationToken
傳回
- 屬性