Class SemanticContext<TFlags>
Represents and encapsulates the immutable context of a semantic operation.
public record SemanticContext<TFlags> : IEquatable<SemanticContext<TFlags>> where TFlags : struct, Enum
Type Parameters
TFlags
- Inheritance
-
SemanticContext<TFlags>
- Implements
-
IEquatable<SemanticContext<TFlags>>
- Derived
- Inherited Members
Constructors
SemanticContext()
Creates an object that represents and encapsulates the immutable context of a semantic operation.
public SemanticContext()
Properties
Errors
public ImmutableArray<VBErrorInfo> Errors { get; init; }
Property Value
Flags
Gets a TFlags (enum) value representing the semantic flags associated with this context.
public TFlags Flags { get; init; }
Property Value
- TFlags