ITypeSymbol.IsRecord Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For source symbols, true if the type is a record. For metadata symbols, true if the type is a record and a reference type.
public bool IsRecord { get; }
member this.IsRecord : bool
Public ReadOnly Property IsRecord As Boolean
Property Value
Remarks
Returns false for record structs in metadata since they don't have any distinctive marker.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.