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
// See https://aka.ms/new-console-template for more informationusingOneOf;Console.WriteLine("Hello, World!");[GenerateOneOf]publicpartialclassStringOrNumber:OneOfBase<string,int>{}
Error:
Generator 'OneOfGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName '<global namespace>_StringOrNumber.g.cs' contains an invalid character '<' at position 0.
The text was updated successfully, but these errors were encountered:
Program.cs
Error:
Generator 'OneOfGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName '<global namespace>_StringOrNumber.g.cs' contains an invalid character '<' at position 0.
The text was updated successfully, but these errors were encountered: