Skip to content

Commit

Permalink
Fix interceptor feature name in the configuration test
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekgh authored and jjonescz committed Sep 12, 2024
1 parent 6fd9399 commit c00ad76
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public ConfigBindingGenTestDriver(
_assemblyReferences = assemblyReferences ?? s_compilationAssemblyRefs;

_parseOptions = new CSharpParseOptions(langVersion).WithFeatures(new[] {
new KeyValuePair<string, string>("InterceptorsPreview", "") ,
new KeyValuePair<string, string>("InterceptorsPreviewNamespaces", "Microsoft.Extensions.Configuration.Binder.SourceGeneration")
new KeyValuePair<string, string>("InterceptorsNamespaces", "Microsoft.Extensions.Configuration.Binder.SourceGeneration")
});

ConfigurationBindingGenerator generator = new() { OnSourceEmitting = spec => _genSpec = spec };
Expand Down

0 comments on commit c00ad76

Please sign in to comment.