Delen via


WellKnownMemberNames Class

Definition

Specifies the member names known to the compiler (such as .ctor or op_Explicit).

public ref class WellKnownMemberNames abstract sealed
public static class WellKnownMemberNames
type WellKnownMemberNames = class
Public Class WellKnownMemberNames
Inheritance
WellKnownMemberNames

Fields

AdditionOperatorName

The name assigned to the Addition operator.

BitwiseAndOperatorName

The name assigned to the BitwiseAnd operator.

BitwiseOrOperatorName

The name assigned to the BitwiseOr operator.

CheckedAdditionOperatorName

The name assigned to the checked Addition operator.

CheckedDecrementOperatorName

The name assigned to the checked Decrement operator.

CheckedDivisionOperatorName

The name assigned to the checked Division operator.

CheckedExplicitConversionName

The name assigned to a checked explicit (narrowing) conversion.

CheckedIncrementOperatorName

The name assigned to the checked Increment operator.

CheckedMultiplyOperatorName

The name assigned to the checked Multiply operator.

CheckedSubtractionOperatorName

The name assigned to the checked Subtraction operator.

CheckedUnaryNegationOperatorName

The name assigned to the checked UnaryNegation operator.

CollectionInitializerAddMethodName

The name for the Add method to be invoked for each element in a collection initializer expression (see C# Specification, §7.6.10.3 Collection initializers).

ConcatenateOperatorName

The name assigned to the Concatenate operator.

CountPropertyName

The required name for the Count property used in a pattern-based Index or Range indexer.

CurrentPropertyName

The required name for the Current property used in a ForEach statement.

DeconstructMethodName

The required name for the Deconstruct method used in a deconstruction.

DecrementOperatorName

The name assigned to the Decrement operator.

DefaultScriptClassName

The default fully qualified name of a Script class.

DelegateBeginInvokeName

The name assigned to the delegate BeginInvoke method.

DelegateEndInvokeName

The name assigned to the delegate EndInvoke method.

DelegateInvokeName

The name assigned to the delegate Invoke method.

DestructorName

The name assigned to the destructor.

DisposeAsyncMethodName

The required name for the DisposeAsync method used in an await using statement.

DisposeMethodName

The required name for the Dispose method used in a Using statement.

DivisionOperatorName

The name assigned to the Division operator.

EntryPointMethodName

The name of an entry point method.

EnumBackingFieldName

Name of the enum backing field.

EqualityOperatorName

The name assigned to the Equality operator.

ExclusiveOrOperatorName

The name assigned to the ExclusiveOr operator.

ExplicitConversionName

The name assigned to an explicit (narrowing) conversion.

ExponentOperatorName

The name assigned to the Exponent operator.

FalseOperatorName

The name assigned to the False operator.

GetAsyncEnumeratorMethodName

The required name for the GetAsyncEnumerator method used in a ForEach statement.

GetAwaiter

The required name for the GetAwaiter method used to obtain an awaiter for a task (see C# Specification, §7.7.7.1 Awaitable expressions).

GetEnumeratorMethodName

The required name for the GetEnumerator method used in a ForEach statement.

GetResult

The required name for the GetResult method used to obtain the outcome of a task once it is complete (see C# Specification, §7.7.7.1 Awaitable expressions).

GreaterThanOperatorName

The name assigned to the GreaterThan operator.

GreaterThanOrEqualOperatorName

The name assigned to the GreaterThanOrEqual operator.

ImplicitConversionName

The name assigned to an implicit (widening) conversion.

IncrementOperatorName

The name assigned to the Increment operator.

Indexer

The symbol name assigned to all indexers, other than explicit interface implementations.

InequalityOperatorName

The name assigned to the Inequality operator.

InstanceConstructorName

The name assigned to an instance constructor.

IntegerDivisionOperatorName

The name assigned to the IntegerDivision operator.

IsCompleted

The required name for the IsCompleted property used to determine if a task is already complete (see C# Specification, §7.7.7.1 Awaitable expressions).

LeftShiftOperatorName

The name assigned to the LeftShift operator.

LengthPropertyName

The required name for the Length property used in a pattern-based Index or Range indexer.

LessThanOperatorName

The name assigned to the LessThan operator.

LessThanOrEqualOperatorName

The name assigned to the LessThanOrEqual operator.

LikeOperatorName

The name assigned to the Like operator.

LogicalAndOperatorName

The name assigned to the LogicalAnd operator.

LogicalNotOperatorName

The name assigned to the LogicalNot operator.

LogicalOrOperatorName

The name assigned to the LogicalOr operator.

ModulusOperatorName

The name assigned to the Modulus operator.

MoveNextAsyncMethodName

The required name for the MoveNextAsync method used in a ForEach-await statement.

MoveNextMethodName

The required name for the MoveNext method used in a ForEach statement.

MultiplyOperatorName

The name assigned to the Multiply operator.

ObjectEquals

The name assigned to Object.Equals method.

ObjectGetHashCode

The name assigned to Object.GetHashCode method.

ObjectToString

The name assigned to Object.ToString method.

OnCompleted

The name of the OnCompleted(Action) method used to register a resumption delegate (see C# Specification, §7.7.7.1 Awaitable expressions).

OnesComplementOperatorName

The name assigned to the OnesComplement operator.

PrintMembersMethodName

The required name for the PrintMembers method that is synthesized in a record.

RightShiftOperatorName

The name assigned to the RightShift operator.

SliceMethodName

The required name for the Slice method used in a pattern-based Range indexer.

StaticConstructorName

The name assigned to the static constructor.

SubtractionOperatorName

The name assigned to the Subtraction operator.

TopLevelStatementsEntryPointMethodName

The name of an entry point method synthesized for top-level statements.

TopLevelStatementsEntryPointTypeName

The name of a type synthesized for a top-level statements entry point method.

TrueOperatorName

The name assigned to the True operator.

UnaryNegationOperatorName

The name assigned to the UnaryNegation operator.

UnaryPlusOperatorName

The name assigned to the UnaryPlus operator.

UnsignedLeftShiftOperatorName

The name assigned to the UnsignedLeftShift operator.

UnsignedRightShiftOperatorName

The name assigned to the UnsignedRightShift operator.

ValuePropertyName

The required name for the Value property used in a ForEach statement when the collection is a nullable struct.

Applies to