You've already forked linux-packaging-mono
Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
This commit is contained in:
parent
cf815e07e0
commit
95fdb59ea6
38
external/api-doc-tools/mdoc.Test.Cplusplus/AssemblyInfo.cpp
vendored
Normal file
38
external/api-doc-tools/mdoc.Test.Cplusplus/AssemblyInfo.cpp
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
using namespace System;
|
||||
using namespace System::Reflection;
|
||||
using namespace System::Runtime::CompilerServices;
|
||||
using namespace System::Runtime::InteropServices;
|
||||
using namespace System::Security::Permissions;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly:AssemblyTitleAttribute(L"mdocTestCplusplus")];
|
||||
[assembly:AssemblyDescriptionAttribute(L"")];
|
||||
[assembly:AssemblyConfigurationAttribute(L"")];
|
||||
[assembly:AssemblyCompanyAttribute(L"EPAM Systems")];
|
||||
[assembly:AssemblyProductAttribute(L"mdocTestCplusplus")];
|
||||
[assembly:AssemblyCopyrightAttribute(L"Copyright (c) EPAM Systems 2017")];
|
||||
[assembly:AssemblyTrademarkAttribute(L"")];
|
||||
[assembly:AssemblyCultureAttribute(L"")];
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the value or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly:AssemblyVersionAttribute("1.0.*")];
|
||||
|
||||
[assembly:ComVisible(false)];
|
||||
|
||||
[assembly:CLSCompliantAttribute(true)];
|
38
external/api-doc-tools/mdoc.Test.Cplusplus/ReadMe.txt
vendored
Normal file
38
external/api-doc-tools/mdoc.Test.Cplusplus/ReadMe.txt
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
========================================================================
|
||||
DYNAMIC LINK LIBRARY : mdoc.Test.Cplusplus Project Overview
|
||||
========================================================================
|
||||
|
||||
AppWizard has created this mdoc.Test.Cplusplus DLL for you.
|
||||
|
||||
This file contains a summary of what you will find in each of the files that
|
||||
make up your mdoc.Test.Cplusplus application.
|
||||
|
||||
mdoc.Test.Cplusplus.vcxproj
|
||||
This is the main project file for VC++ projects generated using an Application Wizard.
|
||||
It contains information about the version of Visual C++ that generated the file, and
|
||||
information about the platforms, configurations, and project features selected with the
|
||||
Application Wizard.
|
||||
|
||||
mdoc.Test.Cplusplus.vcxproj.filters
|
||||
This is the filters file for VC++ projects generated using an Application Wizard.
|
||||
It contains information about the association between the files in your project
|
||||
and the filters. This association is used in the IDE to show grouping of files with
|
||||
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
|
||||
"Source Files" filter).
|
||||
|
||||
mdoc.Test.Cplusplus.cpp
|
||||
This is the main DLL source file.
|
||||
|
||||
mdoc.Test.Cplusplus.h
|
||||
This file contains a class declaration.
|
||||
|
||||
AssemblyInfo.cpp
|
||||
Contains custom attributes for modifying assembly metadata.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
Other notes:
|
||||
|
||||
AppWizard uses "TODO:" to indicate parts of the source code you
|
||||
should add to or customize.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
5
external/api-doc-tools/mdoc.Test.Cplusplus/Stdafx.cpp
vendored
Normal file
5
external/api-doc-tools/mdoc.Test.Cplusplus/Stdafx.cpp
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
// stdafx.cpp : source file that includes just the standard includes
|
||||
// mdoc.Test.Cplusplus.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
7
external/api-doc-tools/mdoc.Test.Cplusplus/Stdafx.h
vendored
Normal file
7
external/api-doc-tools/mdoc.Test.Cplusplus/Stdafx.h
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently,
|
||||
// but are changed infrequently
|
||||
|
||||
#pragma once
|
||||
|
||||
|
647
external/api-doc-tools/mdoc.Test.Cplusplus/TestClass.cpp
vendored
Normal file
647
external/api-doc-tools/mdoc.Test.Cplusplus/TestClass.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
400
external/api-doc-tools/mdoc.Test.Cplusplus/TestClass.h
vendored
Normal file
400
external/api-doc-tools/mdoc.Test.Cplusplus/TestClass.h
vendored
Normal file
@ -0,0 +1,400 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
namespace Generic1 = System::Collections::Generic;
|
||||
|
||||
|
||||
class TestClass
|
||||
{
|
||||
public:
|
||||
TestClass();
|
||||
~TestClass();
|
||||
};
|
||||
|
||||
public enum class Color {
|
||||
/// <summary>Insert Red summary here</summary>
|
||||
/// <remarks><c>F:Mono.DocTest.Color.Red</c>.</remarks>
|
||||
Red,
|
||||
/// <summary>Insert Blue summary here</summary>
|
||||
/// <remarks><c>F:Mono.DocTest.Color.Blue</c>.</remarks>
|
||||
Blue,
|
||||
/// <summary>Insert Green summary here</summary>
|
||||
/// <remarks><c>F:Mono.DocTest.Color.Green</c>.</remarks>
|
||||
Green,
|
||||
|
||||
AnotherGreen = Green,
|
||||
};
|
||||
|
||||
/// <typeparam name="T">T generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.IFoo`1</c>.</remarks>
|
||||
generic<typename T>
|
||||
public interface class IFoo {
|
||||
/// <typeparam name="U">U generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.IFoo`1.Method``1(`0,``0)</c>.</remarks>
|
||||
generic<typename U>
|
||||
T Method(T t, U u);
|
||||
};
|
||||
|
||||
namespace Mono_DocTest_Generic {
|
||||
using namespace System;
|
||||
using namespace System::Collections;
|
||||
|
||||
generic<typename T>
|
||||
where T: value class
|
||||
public interface class IFooNew {
|
||||
/// <typeparam name="U">U generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.IFoo`1.Method``1(`0,``0)</c>.</remarks>
|
||||
generic<typename U>
|
||||
T Method(T t, U u);
|
||||
};
|
||||
|
||||
|
||||
/// <summary>extension methods!</summary>
|
||||
/// <remarks><c>T:Mono.DocTest.Generic.Extensions</c></remarks>
|
||||
//todo: do need attribute on class??
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
public ref class Extensions abstract sealed {
|
||||
/// <summary><c>System.Object</c> extension method</summary>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.Extensions.ToEnumerable``1</c></remarks>
|
||||
public:
|
||||
generic <typename T>
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
static Generic1::IEnumerable<T> ^ ToEnumerable(T self)
|
||||
{
|
||||
//todo: no yield
|
||||
//yield return self;
|
||||
return gcnew Generic1::List<T>();
|
||||
};
|
||||
|
||||
/// <summary><see cref="T:System.Collections.Generic.IEnumerable`1" /> extension method</summary>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.Extensions.ForEach``1</c></remarks>
|
||||
public:
|
||||
generic <typename T>
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
static void ForEach(Generic1::IEnumerable<T> ^ self, Action<T> ^ a)
|
||||
{
|
||||
};
|
||||
|
||||
/// <summary><see cref="T:Mono.DocTest.Generic.IFoo`1" /> extension method</summary>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.Extensions.Bar``1</c></remarks>
|
||||
|
||||
public:
|
||||
generic <typename T>
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
static void Bar(IFoo<T>^ self, String ^ s)
|
||||
{
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="T:System.Collections.Generic.IEnumerable{System.Int32}" />
|
||||
/// extension method.
|
||||
/// </summary>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.Extensions.ToDouble</c></remarks>
|
||||
public:
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
static Generic1::IEnumerable<double>^ ToDouble(Generic1::IEnumerable<int>^ list)
|
||||
{
|
||||
return nullptr;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="T:Mono.DocTest.Generic.IFoo`1" /> extension method.
|
||||
/// </summary>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.Extensions.ToDouble</c></remarks>
|
||||
public:
|
||||
generic <typename T>
|
||||
where T : IFoo<T>
|
||||
[System::Runtime::CompilerServices::Extension]
|
||||
static double ToDouble(T val)
|
||||
{
|
||||
// the target type is T:...IFoo<T>, NOT T:System.Object.
|
||||
return 0.0;
|
||||
};
|
||||
};
|
||||
|
||||
/// <typeparam name="U">Insert <c>text</c> here.</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.Generic.GenericBase`1</c>.</remarks>
|
||||
generic <typename U>
|
||||
public ref class GenericBase {
|
||||
/// <param name="genericParameter">Something</param>
|
||||
/// <typeparam name="S">Insert more <c>text</c> here.</typeparam>
|
||||
/// <remarks><c>M:Mono.DocTest.GenericBase`1.BaseMethod``1(``0)</c>.</remarks>
|
||||
/// <returns>The default value.</returns>
|
||||
|
||||
//todo: done for default keyword
|
||||
private: U member;
|
||||
//todo: done for default keyword
|
||||
public: GenericBase() : member()
|
||||
{
|
||||
};
|
||||
//todo: done for default keyword
|
||||
GenericBase(GenericBase^ c)
|
||||
{
|
||||
member = c->member;
|
||||
};
|
||||
|
||||
public:
|
||||
generic <typename S>
|
||||
U BaseMethod(/*[Doc("S")]*/S genericParameter) {
|
||||
return member;
|
||||
};
|
||||
|
||||
U BaseMethod2(GenericBase<U> genericParameter) {
|
||||
return member;
|
||||
};
|
||||
|
||||
/// <remarks><c>F:Mono.DocTest.GenericBase`1.StaticField1</c></remarks>
|
||||
public:
|
||||
static initonly GenericBase<U> ^ StaticField1 = gcnew GenericBase<U>();
|
||||
|
||||
/// <remarks><c>F:Mono.DocTest.GenericBase`1.ConstField1</c></remarks>
|
||||
public: const int ConstInt = 1;
|
||||
|
||||
public: const long ConstLong = 2;
|
||||
|
||||
public: const Decimal ConstDecimal;
|
||||
|
||||
public: const short ConstShort = 4;
|
||||
|
||||
public: const UInt16 ConstUint16 = 2 ;
|
||||
|
||||
public: const UInt32 ConstUint32 = 3;
|
||||
|
||||
public: const UInt64 ConstUint64 = 4;
|
||||
|
||||
public: const float ConstFloat = 2.4;
|
||||
|
||||
public: const bool ConstBool = true;
|
||||
|
||||
public: const char ConstChar = 't';
|
||||
|
||||
public: const Object^ ConstObject;
|
||||
|
||||
public: const String^ ConstString;
|
||||
|
||||
|
||||
|
||||
|
||||
/// <param name="list">Insert description here</param>
|
||||
/// <remarks><c>M:Mono.DocTest.GenericBase`1.op_Explicit(Mono.DocTest.GenericBase{`0})~`0</c></remarks>
|
||||
/// <returns>The default value for <typeparamref name="U"/>.</returns>
|
||||
//public: static explicit operator U(GenericBase<U> list) { /*return 0;*/ return nullptr; };
|
||||
|
||||
/// <remarks>T:Mono.DocTest.Generic.GenericBase`1.FooEventArgs</remarks>
|
||||
public: ref class FooEventArgs : EventArgs {
|
||||
};
|
||||
|
||||
/// <remarks>E:Mono.DocTest.Generic.GenericBase`1.MyEvent</remarks>
|
||||
public: event EventHandler<FooEventArgs ^ > ^ MyEvent;
|
||||
|
||||
/// <remarks>E:Mono.DocTest.Generic.GenericBase`1.ItemChanged</remarks>
|
||||
//todo: uncomment
|
||||
//public: event Action<Mono_DocTest_Generic::MyList<U>^, Mono_DocTest_Generic::MyList<U>::Helper<U, U>^> ItemChanged;
|
||||
|
||||
/// <remarks>T:Mono.DocTest.Generic.GenericBase`1.NestedCollection</remarks>
|
||||
public: ref class NestedCollection {
|
||||
//todo: no internal
|
||||
/// <remarks>T:Mono.DocTest.Generic.GenericBase`1.NestedCollection.Enumerator</remarks>
|
||||
protected: value struct Enumerator {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/// <typeparam name="T">I'm Dying Here!</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.Generic.MyList`1</c>.</remarks>
|
||||
//todo: on generic par-r [Mono.DocTest.Doc("Type Parameter!")]
|
||||
generic <typename T>
|
||||
public ref class MyList : GenericBase<T>, Generic1::IEnumerable<cli::array <int> ^ >
|
||||
{
|
||||
/// <typeparam name="U">Seriously!</typeparam>
|
||||
/// <typeparam name="V">Too <c>many</c> docs!</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.MyList`1.Helper`2</c>.</remarks>
|
||||
|
||||
public:
|
||||
generic<typename U, typename V>
|
||||
ref class Helper {
|
||||
/// <param name="a">Ako</param>
|
||||
/// <param name="b">bko</param>
|
||||
/// <param name="c">cko</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`1.Helper`2.UseT(`0,`1,`2)</c>.</remarks>
|
||||
public: void UseT(T a, U b, V c) { };
|
||||
};
|
||||
|
||||
/// <param name="t">tko</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`1.Test(`0)</c>.</remarks>
|
||||
public: void Test(T t) { auto a = gcnew MyList::Helper<int, String^>(); };
|
||||
|
||||
/// <param name="t">Class generic type</param>
|
||||
/// <param name="u">Method generic type</param>
|
||||
/// <typeparam name="U">Method generic parameter</typeparam>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`1.Method``1(`0,``0)</c>.</remarks>
|
||||
|
||||
public:
|
||||
generic<typename U>
|
||||
void Method(T t, U u) {};
|
||||
|
||||
// mcs "crashes" (CS1569) on this method; exclude it for now.
|
||||
// <remarks><c>M:Mono.DocTest.MyList`1.RefMethod``1(`0@,``0@)</c>.</remarks>
|
||||
public:
|
||||
generic<typename U>
|
||||
void RefMethod(T% t, U% u) {};
|
||||
|
||||
/// <param name="helper">A <see cref="T:Mono.DocTest.Generic.MyList`1.Helper`2" />.</param>
|
||||
/// <typeparam name="U">Argh!</typeparam>
|
||||
/// <typeparam name="V">Foo Argh!</typeparam>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.MyList`1.UseHelper``2(Mono.DocTest.Generic.MyList{``0}.Helper{``1,``2})</c>.</remarks>
|
||||
public:
|
||||
generic<typename U, typename V>
|
||||
void UseHelper(Helper helper) {};
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.MyList`1.GetHelper``2</c>.</remarks>
|
||||
/// <returns><see langword="null" />.</returns>
|
||||
public:
|
||||
generic<typename U, typename V>
|
||||
Helper^ GetHelper() { return nullptr; };
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`1.System#Collections#GetEnumerator</c>.</remarks>
|
||||
public: virtual IEnumerator^ GetEnumerator1() = IEnumerable::GetEnumerator{
|
||||
return nullptr;
|
||||
};
|
||||
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`1.GetEnumerator</c>.</remarks>
|
||||
public: virtual Generic1::IEnumerator<cli::array<int>^>^ GetEnumerator() = Generic1::IEnumerable<cli::array<int>^>::GetEnumerator{
|
||||
return nullptr;
|
||||
};
|
||||
};
|
||||
|
||||
/// <typeparam name="T">T generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.IFoo`1</c>.</remarks>
|
||||
generic <typename T>
|
||||
public interface class IFoo {
|
||||
/// <typeparam name="U">U generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.IFoo`1.Method``1(`0,``0)</c>.</remarks>
|
||||
generic<typename U>
|
||||
T Method(T t, U u);
|
||||
};
|
||||
|
||||
generic <typename T>
|
||||
where T: gcnew()
|
||||
public ref class GenericConstraintClass {
|
||||
};
|
||||
|
||||
|
||||
|
||||
/// <typeparam name="A">Ako generic param</typeparam>
|
||||
/// <typeparam name="B">Bko generic param</typeparam>
|
||||
/// <remarks><c>T:Mono.DocTest.MyList`2</c>.</remarks>
|
||||
generic <typename A, typename B>
|
||||
//where A : class, IList<B>, gcnew()
|
||||
//where B : class, A
|
||||
public ref class MyList1 : Generic1::ICollection<A>,
|
||||
Generic1::IEnumerable<A>, Generic1::IEnumerator<A>,
|
||||
IFoo<A>
|
||||
, GenericBase<Generic1::Dictionary<A,B>^ >/*<>*/
|
||||
{
|
||||
|
||||
~MyList1() {};
|
||||
// IEnumerator
|
||||
|
||||
// shown?
|
||||
//todo: uncomment
|
||||
//property Object^ IEnumerator::Current { Object^ get() { return nullptr; } }
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.MoveNext</c>.</remarks>
|
||||
/// <returns><see cref="T:System.Boolean" /></returns>
|
||||
public:
|
||||
virtual bool MoveNext() { return false; };
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.Reset</c>.</remarks>
|
||||
public:
|
||||
virtual void Reset() {};
|
||||
|
||||
virtual property Object^ Current3 {
|
||||
Object^ get() = IEnumerator::Current::get{ return nullptr; }
|
||||
};
|
||||
|
||||
// IEnumerator<T>
|
||||
/// <remarks><c>P:Mono.DocTest.MyList`2.Current</c>.</remarks>
|
||||
/// <value>The current value.</value>
|
||||
public:
|
||||
property A Current1 {
|
||||
A get() { return Current2; /*default(A);*/ }
|
||||
};
|
||||
/// <remarks><c>P:Mono.DocTest.MyList`2.Current</c>.</remarks>
|
||||
/// <value>The current value.</value>
|
||||
virtual property A Current2 {
|
||||
A get() sealed = Generic1::IEnumerator<A>::Current::get{ return Current1; /*default(A);*/ };// { return default(A); }
|
||||
};
|
||||
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#GetEnumerator</c>.</remarks>
|
||||
public: virtual System::Collections::IEnumerator^ GetEnumerator1() = System::Collections::IEnumerable::GetEnumerator{
|
||||
return nullptr;
|
||||
};
|
||||
|
||||
|
||||
// IEnumerable<T>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#Generic#IEnumerable{A}#GetEnumerator</c>.</remarks>
|
||||
/// <returns>A <see cref="T:System.Collections.Generic.IEnumerator{`0}" />.</returns>
|
||||
virtual Generic1::IEnumerator<A>^ GetEnumerator() = Generic1::IEnumerable<A>::GetEnumerator{ return nullptr; };
|
||||
|
||||
|
||||
public: Generic1::List<A>::Enumerator^ GetEnumerator3() { return gcnew Generic1::List<A>::Enumerator(); };
|
||||
|
||||
// ICollection<T>
|
||||
/// <remarks><c>P:Mono.DocTest.MyList`2.Count</c>.</remarks>
|
||||
/// <value>A <see cref="T:System.Int32" />.</value>
|
||||
public:
|
||||
virtual property int Count {
|
||||
int get() { return 0; }
|
||||
};
|
||||
|
||||
/// <remarks><c>P:Mono.DocTest.MyList`2.System#Collections#Generic#ICollection{A}#IsReadOnly</c>.</remarks>
|
||||
/// <value>A <see cref="T:System.Boolean" />.</value>
|
||||
public:
|
||||
virtual property bool IsReadOnly {
|
||||
bool get() { return false; }
|
||||
};
|
||||
/// <param name="item">The item to add.</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#Generic#ICollection{A}#Add(`0)</c>.</remarks>
|
||||
virtual void Add(A item) = Generic1::ICollection<A>::Add{};
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#Generic#ICollection{A}#Clear</c>.</remarks>
|
||||
virtual void Clear() = Generic1::ICollection<A>::Clear{};
|
||||
/// <param name="item">The item to check for</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#Generic#ICollection{A}.Contains(`0)</c>.</remarks>
|
||||
/// <returns>A <see cref="T:System.Boolean" /> instance (<see langword="false" />).</returns>
|
||||
virtual bool Contains(A item) = Generic1::ICollection<A>::Contains{ return false; };
|
||||
/// <param name="array">Where to copy elements to</param>
|
||||
/// <param name="arrayIndex">Where to start copyingto</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.CopyTo(`0[],System.Int32)</c>.</remarks>
|
||||
public: virtual void CopyTo(cli::array<A>^ arrayPar, int arrayIndex) = Generic1::ICollection<A>::CopyTo{};
|
||||
/// <param name="item">the item to remove</param>
|
||||
/// <remarks><c>M:Mono.DocTest.MyList`2.System#Collections#Generic#ICollection{A}#Remove(`0)</c>.</remarks>
|
||||
/// <returns>Whether the item was removed.</returns>
|
||||
virtual bool Remove(A item) = Generic1::ICollection<A>::Remove{ return false; };
|
||||
|
||||
/// <remarks>M:Mono.DocTest.Generic.MyList`2.Foo</remarks>
|
||||
public:
|
||||
generic<typename AA, typename BB>
|
||||
where AA : Generic1::IEnumerable<A>
|
||||
where BB : Generic1::IEnumerable<B>
|
||||
Generic1::KeyValuePair<AA, BB>^ Foo()
|
||||
{
|
||||
return gcnew Generic1::KeyValuePair<AA, BB>();
|
||||
};
|
||||
|
||||
// IFoo members
|
||||
/// <typeparam name="U">U generic param on MyList`2</typeparam>
|
||||
/// <remarks><c>M:Mono.DocTest.Generic.MyList`2.Mono#DocTest#Generic#IFoo{A}#Method``1(`0,``0)</c>.</remarks>
|
||||
generic<typename U>
|
||||
virtual A Method(A a, U u) = IFoo<A>::Method
|
||||
{
|
||||
return Current2; /*default(A);*/
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
6
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.cpp
vendored
Normal file
6
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.cpp
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
// This is the main DLL file.
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "mdoc.Test.Cplusplus.h"
|
||||
|
15
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.h
vendored
Normal file
15
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.h
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
// mdoc.Test.Cplusplus.h
|
||||
|
||||
#pragma once
|
||||
|
||||
using namespace System;
|
||||
|
||||
namespace mdocTestCplusplus {
|
||||
|
||||
public ref class Class1
|
||||
{
|
||||
// TODO: Add your methods for this class here.
|
||||
public:
|
||||
int t;
|
||||
};
|
||||
}
|
158
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.vcxproj
vendored
Normal file
158
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.vcxproj
vendored
Normal file
@ -0,0 +1,158 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{9398D4E3-1779-44FD-AF8C-BB46562DCD88}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<Keyword>ManagedCProj</Keyword>
|
||||
<RootNamespace>mdocTestCplusplus</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="mdoc.Test.Cplusplus.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
<ClInclude Include="Stdafx.h" />
|
||||
<ClInclude Include="TestClass.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="AssemblyInfo.cpp" />
|
||||
<ClCompile Include="mdoc.Test.Cplusplus.cpp" />
|
||||
<ClCompile Include="Stdafx.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TestClass.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="ReadMe.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
48
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.vcxproj.filters
vendored
Normal file
48
external/api-doc-tools/mdoc.Test.Cplusplus/mdoc.Test.Cplusplus.vcxproj.filters
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="mdoc.Test.Cplusplus.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Stdafx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="TestClass.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="mdoc.Test.Cplusplus.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="AssemblyInfo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Stdafx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TestClass.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="ReadMe.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
3
external/api-doc-tools/mdoc.Test.Cplusplus/resource.h
vendored
Normal file
3
external/api-doc-tools/mdoc.Test.Cplusplus/resource.h
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by app.rc
|
Reference in New Issue
Block a user