We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CSharpSources
1 parent 2a7f36f commit 0b825e1Copy full SHA for 0b825e1
src/Generator/Generators/CSharp/CSharpSources.cs
@@ -144,7 +144,7 @@ group s by s.TemplatedDecl.TemplatedClass into template
144
}
145
146
147
- public void GenerateUsings()
+ public virtual void GenerateUsings()
148
{
149
PushBlock(BlockKind.Usings);
150
WriteLine("using System;");
@@ -237,7 +237,7 @@ private IEnumerable<Class> EnumerateClasses(DeclarationContext context)
237
238
239
240
- void GenerateNamespaceFunctionsAndVariables(DeclarationContext context)
+ public virtual void GenerateNamespaceFunctionsAndVariables(DeclarationContext context)
241
242
var hasGlobalVariables = !(context is Class) && context.Variables.Any(
243
v => v.IsGenerated && v.Access == AccessSpecifier.Public);
0 commit comments