Skip to content

Commit

Permalink
Update MetadataCodegen.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Oct 15, 2023
1 parent 01cb51d commit 25c6838
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Draco.Compiler/Internal/Codegen/MetadataCodegen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ public EntityHandle GetEntityHandle(Symbol symbol)
{
switch (symbol)
{
// If we can translate a symbol to a metadata type, get the handle for that
// This is because primitives are encoded differently as an entity handle
case MetadataBackedPrimitiveTypeSymbol metadataSymbol:
return this.GetEntityHandle(metadataSymbol.MetadataType);

case MetadataAssemblySymbol assembly:
return this.AddAssemblyReference(assembly);

Expand Down

0 comments on commit 25c6838

Please sign in to comment.