Edit<TNode> Struct

Definition

Represents an edit operation on a tree or a sequence of nodes.

generic <typename TNode>
public value class Edit : IEquatable<Microsoft::CodeAnalysis::Differencing::Edit<TNode>>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
public struct Edit<TNode> : IEquatable<Microsoft.CodeAnalysis.Differencing.Edit<TNode>>
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
public readonly struct Edit<TNode> : IEquatable<Microsoft.CodeAnalysis.Differencing.Edit<TNode>>
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay(), nq}")>]
type Edit<'Node> = struct
Public Structure Edit(Of TNode)
Implements IEquatable(Of Edit(Of TNode))

Type Parameters

TNode

Tree node.

Inheritance
Edit<TNode>
Attributes
Implements
IEquatable<Edit<TNode>>

Properties

Kind
NewNode

Insert: Inserted node.

Delete: default(TNode)

Move, Update: Node in the new tree/sequence.

OldNode

Insert: default(TNode).

Delete: Deleted node.

Move, Update: Node in the old tree/sequence.

Methods

Equals(Edit<TNode>)
Equals(Object)
GetHashCode()

Applies to