From 35761e1ca6e86060305558d552984357b7498b5e Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Wed, 15 Feb 2017 20:19:05 +0000 Subject: [PATCH] Remove unused implementations from CLITypePrinter. --- .../Generators/CLI/CLITypePrinter.cs | 96 ------------------- 1 file changed, 96 deletions(-) diff --git a/src/Generator/Generators/CLI/CLITypePrinter.cs b/src/Generator/Generators/CLI/CLITypePrinter.cs index 20ddfc7b..7025e48e 100644 --- a/src/Generator/Generators/CLI/CLITypePrinter.cs +++ b/src/Generator/Generators/CLI/CLITypePrinter.cs @@ -338,12 +338,6 @@ namespace CppSharp.Generators.CLI return unaryTransformType.BaseType.Visit(this); } - public override TypePrinterResult VisitVectorType(VectorType vectorType, - TypeQualifiers quals) - { - throw new NotImplementedException(); - } - public override TypePrinterResult VisitCILType(CILType type, TypeQualifiers quals) { var result = type.Type.FullName.Replace(".", "::"); @@ -358,12 +352,6 @@ namespace CppSharp.Generators.CLI return VisitPrimitiveType(type); } - public override TypePrinterResult VisitUnsupportedType(UnsupportedType type, - TypeQualifiers quals) - { - throw new NotImplementedException(); - } - public override TypePrinterResult VisitDeclaration(Declaration decl, TypeQualifiers quals) { @@ -410,26 +398,6 @@ namespace CppSharp.Generators.CLI return VisitClassDecl(specialization); } - public override TypePrinterResult VisitFieldDecl(Field field) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitFunctionDecl(Function function) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitMethodDecl(Method method) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitParameterDecl(Parameter parameter) - { - throw new NotImplementedException(); - } - public override TypePrinterResult VisitTypedefDecl(TypedefDecl typedef) { return typedef.Name; @@ -451,47 +419,6 @@ namespace CppSharp.Generators.CLI VisitEnumDecl((Enumeration) item.Namespace), VisitDeclaration(item)); } - public override TypePrinterResult VisitVariableDecl(Variable variable) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitClassTemplateDecl(ClassTemplate template) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitFunctionTemplateDecl( - FunctionTemplate template) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitMacroDefinition(MacroDefinition macro) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitNamespace(Namespace @namespace) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitEvent(Event @event) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitProperty(Property property) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitFriend(Friend friend) - { - throw new NotImplementedException(); - } - public override string ToString(Type type) { return type.Visit(this).ToString(); @@ -514,28 +441,5 @@ namespace CppSharp.Generators.CLI { return nonTypeTemplateParameter.Name; } - - public override TypePrinterResult VisitTypeAliasTemplateDecl( - TypeAliasTemplate typeAliasTemplate) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitFunctionTemplateSpecializationDecl( - FunctionTemplateSpecialization specialization) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitVarTemplateDecl(VarTemplate template) - { - throw new NotImplementedException(); - } - - public override TypePrinterResult VisitVarTemplateSpecializationDecl( - VarTemplateSpecialization template) - { - throw new NotImplementedException(); - } } }