SemanticEdit Struct
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.
Describes a symbol edit between two compilations. For example, an addition of a method, an update of a method, removal of a type, etc.
public value class SemanticEdit : IEquatable<Microsoft::CodeAnalysis::Emit::SemanticEdit>
public struct SemanticEdit : IEquatable<Microsoft.CodeAnalysis.Emit.SemanticEdit>
public readonly struct SemanticEdit : IEquatable<Microsoft.CodeAnalysis.Emit.SemanticEdit>
type SemanticEdit = struct
Public Structure SemanticEdit
Implements IEquatable(Of SemanticEdit)
- Inheritance
-
SemanticEdit
- Implements
Semantic |
Obsolete.
Initializes an instance of SemanticEdit. |
Semantic |
Obsolete.
Initializes an instance of SemanticEdit. |
Semantic |
Initializes an instance of SemanticEdit. |
Instrumentation |
Instrumentation update to be applied to a method. If not empty, OldSymbol and NewSymbol must be non-null IMethodSymbols, and Kind must be Update. |
Kind |
The type of edit. |
New |
The symbol from the later compilation, or the symbol of the containing type from the later compilation if the edit represents a deletion. |
Old |
The symbol from the earlier compilation, or null if the edit represents an addition. |
Preserve |
True if SyntaxMap is not null. |
Runtime |
Associates a syntax node in the later compilation to an error that should be reported at runtime by the IL generated for the node, if any. |
Syntax |
A map from syntax node in the later compilation to syntax node in the previous compilation, or null if PreserveLocalVariables is false and the map is not needed or the source of the current method is the same as the source of the previous method. |
Equals(Object) | |
Equals(Semantic |
SemanticEdits are considered equal if they are of the same Kind and the corresponding OldSymbol and NewSymbol symbols are the same. The effects of edits that compare equal on the emitted metadata/IL are not necessarily the same. |
Get |
Производ | Верзије |
---|---|
Roslyn | 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: