Udostępnij za pośrednictwem


TypeInfo Struct

Definition

public value class TypeInfo : IEquatable<Microsoft::CodeAnalysis::TypeInfo>
public struct TypeInfo : IEquatable<Microsoft.CodeAnalysis.TypeInfo>
public readonly struct TypeInfo : IEquatable<Microsoft.CodeAnalysis.TypeInfo>
type TypeInfo = struct
Public Structure TypeInfo
Implements IEquatable(Of TypeInfo)
Inheritance
TypeInfo
Implements

Properties

ConvertedNullability

The top-level nullability of the expression after it has undergone an implicit conversion. For most expressions, this will be the same as the type. It can change in situations such as implicit user-defined conversions that have a nullable return type.

ConvertedType

The type of the expression after it has undergone an implicit conversion. If the type did not undergo an implicit conversion, returns the same as Type.

Nullability

The top-level nullability information of the expression represented by the syntax node.

Type

The type of the expression represented by the syntax node. For expressions that do not have a type, null is returned. If the type could not be determined due to an error, then an IErrorTypeSymbol is returned.

Methods

Equals(Object)
Equals(TypeInfo)
GetHashCode()

Applies to