SemanticEdit 구조체

정의

두 컴파일 간의 기호 편집에 대해 설명합니다. 예를 들어 메서드 추가, 메서드 업데이트, 형식 제거 등이 있습니다.

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)
상속
SemanticEdit
구현

생성자

SemanticEdit(SemanticEditKind, ISymbol, ISymbol, Func<SyntaxNode,SyntaxNode>, Boolean)
사용되지 않음.

SemanticEdit의 인스턴스를 초기화합니다.

SemanticEdit(SemanticEditKind, ISymbol, ISymbol, Func<SyntaxNode,SyntaxNode>, Boolean, MethodInstrumentation)
사용되지 않음.

SemanticEdit의 인스턴스를 초기화합니다.

SemanticEdit(SemanticEditKind, ISymbol, ISymbol, Func<SyntaxNode,SyntaxNode>, Func<SyntaxNode,Nullable<RuntimeRudeEdit>>, MethodInstrumentation)

SemanticEdit의 인스턴스를 초기화합니다.

속성

Instrumentation

메서드에 적용할 계측 업데이트입니다. 비어 OldSymbol 있지 않은 경우 및 NewSymbol 는 null IMethodSymbol이 아닌 s여야 하며 Kind 이어야 합니다 Update.

Kind

편집 유형입니다.

NewSymbol

이후 컴파일의 기호이거나 편집이 삭제를 나타내는 경우 이후 컴파일에서 포함된 형식의 기호입니다.

OldSymbol

이전 컴파일의 기호이거나, 편집이 추가를 나타내는 경우 null입니다.

PreserveLocalVariables

True이면 SyntaxMap 이 null이 아닙니다.

RuntimeRudeEdit

이후 컴파일의 구문 노드를 노드에 대해 생성된 IL(있는 경우)에 의해 런타임에 보고해야 하는 오류에 연결합니다.

SyntaxMap

이후 컴파일의 구문 노드에서 이전 컴파일의 구문 노드로의 맵 또는 가 false이고 맵이 필요하지 않거나 현재 메서드의 원본이 이전 메서드의 원본과 동일한 경우 PreserveLocalVariables null입니다.

메서드

Equals(Object)

두 컴파일 간의 기호 편집에 대해 설명합니다. 예를 들어 메서드 추가, 메서드 업데이트, 형식 제거 등이 있습니다.

Equals(SemanticEdit)

SemanticEdits는 같고 해당 OldSymbolNewSymbol 기호가 같으면 Kind 같음으로 간주됩니다. 내보낸 메타데이터/IL에서 동일하게 비교하는 편집의 효과는 반드시 동일하지는 않습니다.

GetHashCode()

두 컴파일 간의 기호 편집에 대해 설명합니다. 예를 들어 메서드 추가, 메서드 업데이트, 형식 제거 등이 있습니다.

연산자

Equality(SemanticEdit, SemanticEdit)

두 컴파일 간의 기호 편집에 대해 설명합니다. 예를 들어 메서드 추가, 메서드 업데이트, 형식 제거 등이 있습니다.

Inequality(SemanticEdit, SemanticEdit)

두 컴파일 간의 기호 편집에 대해 설명합니다. 예를 들어 메서드 추가, 메서드 업데이트, 형식 제거 등이 있습니다.

적용 대상