Permalink
Browse files

Deleted unused code from the C# generator.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Jul 15, 2017
1 parent f4d9259 commit 1084dcc1df92d79f90d2b9589333663550e97f42
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/Generator/Generators/CSharp/CSharpSources.cs
@@ -588,14 +588,6 @@ where @base.IsClass
private void GenerateClassInternalsField(LayoutField field, Class @class)
{
Declaration decl;
field.QualifiedType.Type.TryGetDeclaration(out decl);
var arrayType = field.QualifiedType.Type.Desugar() as ArrayType;
var coreType = field.QualifiedType.Type.Desugar();
if (arrayType != null && arrayType.SizeType == ArrayType.ArraySize.Constant)
coreType = arrayType.Type.Desugar();
TypePrinterResult retType = TypePrinter.VisitFieldDecl(
new Field { Name = field.Name, QualifiedType = field.QualifiedType });

0 comments on commit 1084dcc

Please sign in to comment.