File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Generator/Generators/CSharp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ group s by s.TemplatedDecl.TemplatedClass into template
144
144
}
145
145
}
146
146
147
- public void GenerateUsings ( )
147
+ public virtual void GenerateUsings ( )
148
148
{
149
149
PushBlock ( BlockKind . Usings ) ;
150
150
WriteLine ( "using System;" ) ;
@@ -237,7 +237,7 @@ private IEnumerable<Class> EnumerateClasses(DeclarationContext context)
237
237
}
238
238
}
239
239
240
- void GenerateNamespaceFunctionsAndVariables ( DeclarationContext context )
240
+ public virtual void GenerateNamespaceFunctionsAndVariables ( DeclarationContext context )
241
241
{
242
242
var hasGlobalVariables = ! ( context is Class ) && context . Variables . Any (
243
243
v => v . IsGenerated && v . Access == AccessSpecifier . Public ) ;
You can’t perform that action at this time.
0 commit comments