Code Search for Developers
 
 
  

c2.cs from p4shelf at Krugle


Show c2.cs syntax highlighted

/* **********************************************************************************
 *
 * Copyright (c) Microsoft Corporation. All rights reserved.
 *
 * This source code is subject to terms and conditions of the Shared Source License
 * for IronPython. A copy of the license can be found in the License.html file
 * at the root of this distribution. If you can not locate the Shared Source License
 * for IronPython, please send an email to ironpy@microsoft.com.
 * By using this source code in any fashion, you are agreeing to be bound by
 * the terms of the Shared Source License for IronPython.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * **********************************************************************************/

using System;
using System.Runtime.CompilerServices;

namespace ImportTestNS {
#if TEST1
    public class Foo<T> {
        public string Test(){
            return "Foo<T>";
        }
    }
#endif

#if TEST2
    public class Foo<T,Y> {
        public string Test(){
            return "Foo<T,Y>";
        }
    }
#endif

#if TEST3
    public class Foo<T,Y,Z> {
        public string Test(){
            return "Foo<T,Y,Z>";
        }
    }
#endif


#if TEST4
    public class Foo {
        public string Test(){
            return "Foo";
        }
    }
#endif

#if TEST5
    public class Foo {
        public string Test(){
            return "Foo2";
        }
    }
#endif


#if TEST6
    public class Foo<T> {
        public string Test(){
            return "Foo<T>2";
        }
    }
#endif

}





See more files for this project here

p4shelf

A feature in Visual Studio Team Studio that was immediately appealing to me was shelving. The goal of this tool is replicate that general functionality in Perforce.

Project homepage: http://code.google.com/p/p4shelf/
Programming language(s): C#,C++,Python
License: gpl2

  Inc/
  Inputs/
  compat/
  lib/
  c1.cs
  c2.cs
  c3.cs
  categories.py
  custombuiltins.py
  dllsite.py
  iprun.py
  pretest.py
  run.py
  test_array.py
  test_assert.py
  test_attr.py
  test_attrinjector.py
  test_bigint.py
  test_binascii.py
  test_bool.py
  test_buffer.py
  test_builtinfunc.py
  test_cPickle.py
  test_cStringIO.py
  test_class.py
  test_cliclass.py
  test_closure.py
  test_clrexception.py
  test_clrload.py
  test_clrload2.py
  test_clrnuminterop.py
  test_codecs.py
  test_codedom.py
  test_cominterop.py
  test_complex.py
  test_conditional.py
  test_datetime.py
  test_decorator.py
  test_delegate.py
  test_dict.py
  test_dllsite.py
  test_doc.py
  test_event.py
  test_exceptionconverter.py
  test_exceptions.py
  test_exec.py
  test_execfile.py
  test_file.py
  test_formatting.py
  test_function.py
  test_future.py
  test_generator.py
  test_genericmeth.py
  test_help.py
  test_imp.py
  test_importpkg.py
  test_in.py
  test_index.py
  test_inheritance.py
  test_interactive.py
  test_ipyc.py
  test_ipye.py
  test_ironmath.py
  test_isinstance.py
  test_iterator.py
  test_kwarg.py
  test_list.py
  test_listcomp.py
  test_marshal.py
  test_math.py
  test_memory.py
  test_methodbinder1.py
  test_methodbinder2.py
  test_methoddispatch.py
  test_missing.py
  test_namebinding.py
  test_nofuture.py
  test_nonetype.py
  test_nt.py
  test_number.py
  test_numtypes.py
  test_operator.py
  test_privateBinding.py
  test_property.py
  test_protected.py
  test_python25.py
  test_random.py
  test_re.py
  test_set.py
  test_slice.py
  test_socket.py
  test_specialcontext.py
  test_statics.py
  test_stdconsole.py
  test_str.py
  test_struct.py
  test_superconsole.py
  test_syntax.py
  test_sys.py
  test_thread.py