-
Hi there, I'm trying to compile C# code contains an interceptor, if I compile the code directly, would get an error likes below
we could define the Thanks very much |
Beta Was this translation helpful? Give feedback.
Answered by
WeihanLi
Nov 22, 2023
Replies: 1 comment
-
Find it, we could update the var parseOptions = new CSharpParseOptions()
.WithFeatures(new KeyValuePair<string, string>[]
{
new("InterceptorsPreviewNamespaces", "CSharp12Sample.Generated")
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WeihanLi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Find it, we could update the
Features
, for example: