Should fix #401, but also fixes an issue I was having with defining functions inside nested classes, where the runtime wouldn't discover them.
I couldn't run most of the tests in the solution for some reason, but I was able to run the relevant NestedFunctionMethodsAreExported and FunctionMethodsAreExported tests to verify new functionality according to red/green testing.
The only difference in the tests is the NestedFunctionsClass in test/Microsoft.NET.Sdk.Functions.Generator.Tests/FunctionJsonConverterTests.cs, line: 112
112: var functions = converter.GenerateFunctions(new[] { TestUtility.GetTypeDefinition(typeof(NestedFunctionsClass)) });
Looks like the build failed due to some issue with trying to access an azure storage account. Unfortunately I'm not sure if I can fix that. Tests passed though :)
Should fix #401, but also fixes an issue I was having with defining functions inside nested classes, where the runtime wouldn't discover them.
I couldn't run most of the tests in the solution for some reason, but I was able to run the relevant
NestedFunctionMethodsAreExported
andFunctionMethodsAreExported
tests to verify new functionality according to red/green testing.The only difference in the tests is the
NestedFunctionsClass
in test/Microsoft.NET.Sdk.Functions.Generator.Tests/FunctionJsonConverterTests.cs, line: 112