@@ -579,7 +579,7 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
579579 . WithTrailingTrivia (
580580 SyntaxFactory . CarriageReturnLineFeed ) ;
581581
582- context . AddSource ( node . WrapperName + ".g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
582+ context . AddSource ( node . WrapperName + ".g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
583583 }
584584
585585 private void GenerateOperationWrapperHelper ( in SourceProductionContext context , ImmutableArray < InterfaceData > wrapperTypes )
@@ -787,7 +787,7 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
787787 . WithTrailingTrivia (
788788 SyntaxFactory . CarriageReturnLineFeed ) ;
789789
790- context . AddSource ( "OperationWrapperHelper.g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
790+ context . AddSource ( "OperationWrapperHelper.g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
791791 }
792792
793793 private void GenerateOperationKindEx ( in SourceProductionContext context , ImmutableArray < InterfaceData > wrapperTypes )
@@ -840,7 +840,7 @@ private void GenerateOperationKindEx(in SourceProductionContext context, Immutab
840840 . WithTrailingTrivia (
841841 SyntaxFactory . CarriageReturnLineFeed ) ;
842842
843- context . AddSource ( "OperationKindEx.g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
843+ context . AddSource ( "OperationKindEx.g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
844844 }
845845
846846 private sealed class DocumentData
0 commit comments