Condividi tramite


Compilation.EmitDifference Metodo

Definizione

Overload

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

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs

Attenzione

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

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Parametri

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

Restituisce

Attributi

Si applica a

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

Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Parametri

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

Restituisce

Si applica a

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

Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs

Attenzione

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

Generare le differenze tra la compilazione e la generazione precedente per Modifica e Continua. Le differenze vengono espresse come simboli aggiunti e modificati e vengono generati come metadati, IL e delta PDB. Una rappresentazione della compilazione corrente viene restituita come emitBaseline da usare in una successiva modifica e continua.

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

Parametri

baseline
EmitBaseline
metadataStream
Stream
ilStream
Stream
pdbStream
Stream
cancellationToken
CancellationToken

Restituisce

Attributi

Si applica a