Class VBUnresolvedType
The type a declaration names, when the name did not resolve to one: an VBUnknownType that remembers the name.
public sealed record VBUnresolvedType : VBUnknownType, IEquatable<VBType>, IEquatable<VBUnknownType>, IEquatable<VBUnresolvedType>
- Inheritance
-
VBUnresolvedType
- Implements
- Inherited Members
- Extension Methods
Remarks
An unknown type is a type that is not known yet - presumably a valid one - and says nothing of why. A name that does not resolve once everything the declaration can see is defined is an illegal one, and an error needs the name to say so. It is an VBUnknownType in every other respect, so whatever is written to tolerate the one tolerates the other.
Constructors
VBUnresolvedType(string)
The type a declaration names, when the name did not resolve to one: an VBUnknownType that remembers the name.
public VBUnresolvedType(string DeclaredName)
Parameters
DeclaredNamestringThe name as it was written, qualified by the project it was written with, if any.
Remarks
An unknown type is a type that is not known yet - presumably a valid one - and says nothing of why. A name that does not resolve once everything the declaration can see is defined is an illegal one, and an error needs the name to say so. It is an VBUnknownType in every other respect, so whatever is written to tolerate the one tolerates the other.
Properties
DeclaredName
The name as it was written, qualified by the project it was written with, if any.
public string DeclaredName { get; init; }