protected virtual void VisitDelegate(Definitions.DelegateDefinition @delegate) { foreach (var p in @delegate.Params) { VisitDelegateParam(@delegate, p); } }
protected virtual void RenameDelegate(Definitions.DelegateDefinition @delegate) { if (@delegate.CSharpName != null) { return; } @delegate.CSharpName = @delegate.Name; RenameType(@delegate.ReturnType); foreach (var p in @delegate.Params) { RenameType(p.Type); p.CSharpName = p.Name; } }
protected virtual void VisitDelegateParam(Definitions.DelegateDefinition @delegate, Definitions.ParamDefinition param) { }