We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2e978 commit f6a67bfCopy full SHA for f6a67bf
MetadataProcessor.Shared/Tables/nanoTypeSpecificationsTable.cs
@@ -298,6 +298,11 @@ private void FillTypeSpecsFromTypes()
298
299
foreach (MethodDefinition m in td.Methods.Where(m => m.HasBody))
300
{
301
+ foreach (VariableDefinition variable in m.Body.Variables)
302
+ {
303
+ ExpandNestedTypeSpecs(variable.VariableType);
304
+ }
305
+
306
foreach (Instruction instr in m.Body.Instructions)
307
308
if (instr.Operand is GenericInstanceMethod genericInstanceMethod)
@@ -399,6 +404,9 @@ private void ExpandNestedTypeSpecs(TypeReference t)
399
404
ExpandNestedTypeSpecs(arg);
400
405
}
401
406
407
+ ushort declId = _context.SignaturesTable.GetOrCreateSignatureId(git);
408
+ AddIfNew(git, declId);
409
402
410
break;
403
411
412
case ArrayType at:
0 commit comments