@@ -579,7 +579,7 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
579
579
. WithTrailingTrivia (
580
580
SyntaxFactory . CarriageReturnLineFeed ) ;
581
581
582
- context . AddSource ( node . WrapperName + ".g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
582
+ context . AddSource ( node . WrapperName + ".g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
583
583
}
584
584
585
585
private void GenerateOperationWrapperHelper ( in SourceProductionContext context , ImmutableArray < InterfaceData > wrapperTypes )
@@ -787,7 +787,7 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
787
787
. WithTrailingTrivia (
788
788
SyntaxFactory . CarriageReturnLineFeed ) ;
789
789
790
- context . AddSource ( "OperationWrapperHelper.g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
790
+ context . AddSource ( "OperationWrapperHelper.g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
791
791
}
792
792
793
793
private void GenerateOperationKindEx ( in SourceProductionContext context , ImmutableArray < InterfaceData > wrapperTypes )
@@ -840,7 +840,7 @@ private void GenerateOperationKindEx(in SourceProductionContext context, Immutab
840
840
. WithTrailingTrivia (
841
841
SyntaxFactory . CarriageReturnLineFeed ) ;
842
842
843
- context . AddSource ( "OperationKindEx.g.cs" , SourceText . From ( wrapperNamespace . ToFullString ( ) , Encoding . UTF8 ) ) ;
843
+ context . AddSource ( "OperationKindEx.g.cs" , wrapperNamespace . GetText ( Encoding . UTF8 ) ) ;
844
844
}
845
845
846
846
private sealed class DocumentData
0 commit comments