Skip to content

Commit 48d59f4

Browse files
committed
Remove not implemented methods from C# type printer.
1 parent 19cc356 commit 48d59f4

File tree

1 file changed

+0
-79
lines changed

1 file changed

+0
-79
lines changed

src/Generator/Generators/CSharp/CSharpTypePrinter.cs

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -591,21 +591,6 @@ public override TypePrinterResult VisitClassTemplateSpecializationDecl(
591591
return VisitClassDecl(specialization);
592592
}
593593

594-
public override TypePrinterResult VisitFieldDecl(Field field)
595-
{
596-
throw new NotImplementedException();
597-
}
598-
599-
public override TypePrinterResult VisitFunctionDecl(Function function)
600-
{
601-
throw new NotImplementedException();
602-
}
603-
604-
public override TypePrinterResult VisitMethodDecl(Method method)
605-
{
606-
throw new NotImplementedException();
607-
}
608-
609594
public override TypePrinterResult VisitParameterDecl(Parameter parameter)
610595
{
611596
var paramType = parameter.Type;
@@ -689,41 +674,6 @@ public override TypePrinterResult VisitVariableDecl(Variable variable)
689674
return GetName(variable);
690675
}
691676

692-
public override TypePrinterResult VisitClassTemplateDecl(ClassTemplate template)
693-
{
694-
throw new NotImplementedException();
695-
}
696-
697-
public override TypePrinterResult VisitFunctionTemplateDecl(FunctionTemplate template)
698-
{
699-
throw new NotImplementedException();
700-
}
701-
702-
public override TypePrinterResult VisitMacroDefinition(MacroDefinition macro)
703-
{
704-
throw new NotImplementedException();
705-
}
706-
707-
public override TypePrinterResult VisitNamespace(Namespace @namespace)
708-
{
709-
throw new NotImplementedException();
710-
}
711-
712-
public override TypePrinterResult VisitEvent(Event @event)
713-
{
714-
throw new NotImplementedException();
715-
}
716-
717-
public override TypePrinterResult VisitProperty(Property property)
718-
{
719-
throw new NotImplementedException();
720-
}
721-
722-
public override TypePrinterResult VisitFriend(Friend friend)
723-
{
724-
throw new NotImplementedException();
725-
}
726-
727677
public override TypePrinterResult VisitParameters(IEnumerable<Parameter> @params,
728678
bool hasNames)
729679
{
@@ -780,12 +730,6 @@ public override TypePrinterResult VisitNonTypeTemplateParameterDecl(
780730
return nonTypeTemplateParameter.Name;
781731
}
782732

783-
public override TypePrinterResult VisitTypeAliasTemplateDecl(
784-
TypeAliasTemplate typeAliasTemplate)
785-
{
786-
throw new NotImplementedException();
787-
}
788-
789733
public override TypePrinterResult VisitUnaryTransformType(
790734
UnaryTransformType unaryTransformType, TypeQualifiers quals)
791735
{
@@ -799,29 +743,6 @@ public override TypePrinterResult VisitVectorType(VectorType vectorType,
799743
{
800744
return vectorType.ElementType.Visit(this);
801745
}
802-
803-
public override TypePrinterResult VisitUnsupportedType(UnsupportedType type,
804-
TypeQualifiers quals)
805-
{
806-
throw new NotImplementedException();
807-
}
808-
809-
public override TypePrinterResult VisitFunctionTemplateSpecializationDecl(
810-
FunctionTemplateSpecialization specialization)
811-
{
812-
throw new NotImplementedException();
813-
}
814-
815-
public override TypePrinterResult VisitVarTemplateDecl(VarTemplate template)
816-
{
817-
throw new NotImplementedException();
818-
}
819-
820-
public override TypePrinterResult VisitVarTemplateSpecializationDecl(
821-
VarTemplateSpecialization template)
822-
{
823-
throw new NotImplementedException();
824-
}
825746
}
826747

827748
public static class CSharpTypePrinterExtensions

0 commit comments

Comments
 (0)