Skip to content

Commit

Permalink
Deleted an unused method.
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information
ddobrev committed Jun 7, 2017
1 parent 551d208 commit 3794047
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/Generator/Generators/CSharp/CSharpSources.cs
Expand Up @@ -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;
Expand Down

0 comments on commit 3794047

Please sign in to comment.