Permalink
Browse files

Deleted an unused method.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Jun 7, 2017
1 parent 551d208 commit 3794047cd6bd4b86be9dc72ae5d3cda43a701f93
Showing with 0 additions and 20 deletions.
  1. +0 −20 src/Generator/Generators/CSharp/CSharpSources.cs
@@ -606,26 +606,6 @@ where @base.IsClass
Write(" : {0}", string.Join(", ", bases));
}
public void GenerateClassFields(Class owner, Class @class,
Action<Class, Field> action, bool nativeFields = false)
{
foreach (var @base in @class.Bases.Where(b => b.Class != null))
{
TypeMap typeMap;
if ((!Context.TypeMaps.FindTypeMap(@base.Type, out typeMap) && !@base.Class.IsDeclared) ||
@base.Class.OriginalClass == @class)
continue;
GenerateClassFields(owner, @base.Class, action, nativeFields);
}
foreach (var field in @class.Fields)
{
if (ASTUtils.CheckIgnoreField(field, nativeFields)) continue;
action(owner, field);
}
}
private void GenerateClassInternalsField(LayoutField field, Class @class)
{
Declaration decl;

0 comments on commit 3794047

Please sign in to comment.