static void AppendNotImplementedException(StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
 {
     AppendIndent(result);
     bodyStartOffset = result.Length;
     result.Append("throw new ");
     result.Append(options.GetShortType("System", "NotImplementedException"));
     result.Append("();");
     bodyEndOffset = result.Length;
     AppendLine(result);
 }
 void AppendNotImplementedException(StringBuilder result, CodeGenerationOptions options,
                                    out int bodyStartOffset, out int bodyEndOffset)
 {
     AppendIndent(result);
     bodyStartOffset = result.Length;
     result.Append("throw new ");
     result.Append(options.GetShortType("System", "NotImplementedException"));
     //			AppendReturnType (result, options.ImplementingType, options.Ctx.GetTypeDefinition (typeof (System.NotImplementedException)));
     if (Policy.BeforeMethodCallParentheses)
     {
         result.Append(" ");
     }
     result.Append("();");
     bodyEndOffset = result.Length;
     AppendLine(result);
 }
        static void AppendMonoTouchTodo(StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
        {
            AppendIndent(result);
            bodyStartOffset = result.Length;
            foreach (var cmt in MonoTouchComments)
            {
                result.AppendLine("//" + cmt);
                AppendIndent(result);
            }
            result.Append("throw new ");
            result.Append(options.GetShortType("System", "NotImplementedException"));
            result.Append("();");

            bodyEndOffset = result.Length;
            AppendLine(result);
        }
        void AppendMonoTouchTodo(StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
        {
            AppendIndent(result);
            bodyStartOffset = result.Length;
            result.AppendLine("// NOTE: Don't call the base implementation on a Model class");

            AppendIndent(result);
            result.AppendLine("// see http://docs.xamarin.com/ios/tutorials/Events%2c_Protocols_and_Delegates ");

            AppendIndent(result);
            result.Append("throw new ");
            result.Append(options.GetShortType("System", "NotImplementedException"));

            if (Policy.BeforeMethodCallParentheses)
            {
                result.Append(" ");
            }
            result.Append("();");

            bodyEndOffset = result.Length;
            AppendLine(result);
        }
		void AppendMonoTouchTodo (StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
		{
			AppendIndent (result);
			bodyStartOffset = result.Length;
			result.AppendLine ("// NOTE: Don't call the base implementation on a Model class");
			
			AppendIndent (result);
			result.AppendLine ("// see http://docs.xamarin.com/ios/tutorials/Events%2c_Protocols_and_Delegates ");

			AppendIndent (result);
			result.Append ("throw new ");
			result.Append (options.GetShortType ("System", "NotImplementedException"));

			if (Policy.BeforeMethodCallParentheses)
				result.Append (" ");
			result.Append ("();");

			bodyEndOffset = result.Length;
			AppendLine (result);
		}
		void AppendNotImplementedException (StringBuilder result, CodeGenerationOptions options,
		                                           out int bodyStartOffset, out int bodyEndOffset)
		{
			AppendIndent (result);
			bodyStartOffset = result.Length;
			result.Append ("throw new ");
			result.Append (options.GetShortType ("System", "NotImplementedException"));
			//			AppendReturnType (result, options.ImplementingType, options.Ctx.GetTypeDefinition (typeof (System.NotImplementedException)));
			if (Policy.BeforeMethodCallParentheses)
				result.Append (" ");
			result.Append ("();");
			bodyEndOffset = result.Length;
			AppendLine (result);
		}
		void AppendMonoTouchTodo (StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
		{
			AppendIndent (result);
			bodyStartOffset = result.Length;
			foreach (var cmt in MonoTouchComments) {
				result.AppendLine ("//" + cmt);
				AppendIndent (result);
			}
			result.Append ("throw new ");
			result.Append (options.GetShortType ("System", "NotImplementedException"));

			if (Policy.BeforeMethodCallParentheses)
				result.Append (" ");
			result.Append ("();");

			bodyEndOffset = result.Length;
			AppendLine (result);
		}
		static void AppendNotImplementedException (StringBuilder result, CodeGenerationOptions options, out int bodyStartOffset, out int bodyEndOffset)
		{
			AppendIndent (result);
			bodyStartOffset = result.Length;
			result.Append ("throw new ");
			result.Append (options.GetShortType ("System", "NotImplementedException"));
			result.Append ("();");
			bodyEndOffset = result.Length;
			AppendLine (result);
		}