File tree Expand file tree Collapse file tree
crates/bindings-csharp/Codegen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ namespace SpacetimeDB.Codegen;
22
33using System . Collections . Immutable ;
44using System . Linq ;
5- using System . Text . RegularExpressions ;
65using Microsoft . CodeAnalysis ;
76using Microsoft . CodeAnalysis . CSharp ;
87using Microsoft . CodeAnalysis . CSharp . Syntax ;
@@ -998,11 +997,7 @@ public string GenerateViewDef(uint Index) =>
998997 IsPublic: {{{ IsPublic . ToString ( ) . ToLower ( ) }}} ,
999998 IsAnonymous: {{{ IsAnonymous . ToString ( ) . ToLower ( ) }}} ,
1000999 Params: [{{{ MemberDeclaration . GenerateDefs ( Parameters ) }}} ],
1001- ReturnType: new {{{ Regex . Replace (
1002- ReturnType . BSATNName ,
1003- @"(?<=^|[<,\s])Module\." ,
1004- "global::Module."
1005- ) }}} ().GetAlgebraicType(registrar)
1000+ ReturnType: new {{{ ReturnType . BSATNName }}} ().GetAlgebraicType(registrar)
10061001 );
10071002 """ ;
10081003
You can’t perform that action at this time.
0 commit comments