mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C#: Fix ID of TypeReferenceType for top level classes
This commit is contained in:
@@ -134,6 +134,7 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
if (ct != null)
|
||||
{
|
||||
ct.GetId(trapFile, inContext);
|
||||
trapFile.Write('.');
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -145,10 +146,10 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
if (!ContainingNamespace.IsGlobalNamespace)
|
||||
{
|
||||
ContainingNamespace.WriteId(trapFile);
|
||||
trapFile.Write('.');
|
||||
}
|
||||
}
|
||||
|
||||
trapFile.Write('.');
|
||||
trapFile.Write(Cx.GetString(tr.Name));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user