if ((definition.Attributes & TypeAttributes.NestedPublic) != 0 || (definition.Attributes & TypeAttributes.NestedFamily) != 0)
{
TypeDefinitionHandle declaringTypeHandle = definition.GetDeclaringType();
- return GetTypeFromDefinition(reader, declaringTypeHandle, 0) + "/" + name;
+ return GetTypeFromDefinition(reader, declaringTypeHandle, 0) + "." + name;
}
return name;
}
}
- uint id = curParser.GetUnsigned();
- id = id >> 1;
- R2RMethod method = new R2RMethod(_mdReader, rid, (int)id, args, tokens);
+ int id = GetEntryPointIdFromOffset((int)curParser.Offset);
+ R2RMethod method = new R2RMethod(_mdReader, rid, id, args, tokens);
if (method.EntryPointRuntimeFunctionId >= 0 && method.EntryPointRuntimeFunctionId < isEntryPoint.Length)
{
isEntryPoint[method.EntryPointRuntimeFunctionId] = true;