You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TypeKind enum does not contain record kind. For records INamedTypeSymbol.TypeKind is set to Class. That said, there is a field bool ITypeSymbol.IsRecord.
/// results of the roslyn-based GenAPIpublicclassGraphBuildOptions:System.IEquatable<GraphBuildOptions>{publicboolBuild{get;set;}=true;protectedvirtualSystem.TypeEqualityContract{get;}}
Version Used: 4.6.0-2.23081.23
SyntaxGenerator doesn't support generation of record types. The expected behavior below (compile input) is instead transformed to a class.
https://github.com/dotnet/roslyn/blob/main/src/Compilers/Core/Portable/Symbols/TypeKind.cs
The TypeKind enum does not contain record kind. For records INamedTypeSymbol.TypeKind is set to Class. That said, there is a field
bool ITypeSymbol.IsRecord
.Expected Behavior:
Actual Behavior:
cc @CyrusNajmabadi
The text was updated successfully, but these errors were encountered: