Compartir a través de


Compilation.EmitDifference Método

Definición

Sobrecargas

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Precaución

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Parámetros

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

Devoluciones

Atributos

Se aplica a

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Parámetros

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

Devoluciones

Se aplica a

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

Precaución

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

Emita las diferencias entre la compilación y la generación anterior para Editar y continuar. Las diferencias se expresan como símbolos agregados y modificados, y se emiten como metadatos, IL y deltas de PDB. Se devuelve una representación de la compilación actual como EmitBaseline para su uso en una edición y continuación posteriores.

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

Parámetros

baseline
EmitBaseline
metadataStream
Stream
ilStream
Stream
pdbStream
Stream
cancellationToken
CancellationToken

Devoluciones

Atributos

Se aplica a