mirror of https://github.com/mono/CppSharp.git
47 changed files with 515 additions and 20133 deletions
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
<Project> |
||||
<PropertyGroup> |
||||
<RootDir>$(MSBuildThisFileDirectory)</RootDir> |
||||
<Platforms>x86;x64</Platforms> |
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> |
||||
<BaseIntermediateOutputPath>$(RootDir)build\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath> |
||||
<TargetDir Condition="$(Configuration) != ''">$(RootDir)bin\$(Configuration)_$(Platform)</TargetDir> |
||||
<LangVersion>7.3</LangVersion> |
||||
</PropertyGroup> |
||||
</Project> |
@ -1,50 +0,0 @@
@@ -1,50 +0,0 @@
|
||||
#!/usr/bin/env bash |
||||
set -e |
||||
|
||||
CUR_DIR=$(cd "$(dirname "$0")"; pwd) |
||||
DEBUG=false |
||||
|
||||
case $(uname -s) in |
||||
CYGWIN*|MINGW32*|MSYS*|MINGW*) |
||||
$CUR_DIR/premake5.exe --file=$CUR_DIR/premake5.lua vs$VS_VERSION --arch=$PLATFORM |
||||
MSBuild.exe $CUR_DIR/vs$VS_VERSION/CppSharp.sln //p:Configuration=Release //verbosity:minimal |
||||
exit 0 |
||||
;; |
||||
esac |
||||
|
||||
for i in "$@" |
||||
do |
||||
case $i in |
||||
-debug|--debug) |
||||
DEBUG=true |
||||
;; |
||||
*) |
||||
# unknown option |
||||
;; |
||||
esac |
||||
done |
||||
|
||||
MONO=mono |
||||
if [ "$(uname)" == "Darwin" ]; then |
||||
MONO_PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/ |
||||
MONO="$MONO_PATH$MONO" |
||||
fi |
||||
|
||||
MONO_VERSION_OUTPUT="$($MONO --version)" |
||||
if [[ $MONO_VERSION_OUTPUT == *"amd64"* ]]; then |
||||
BUILD_CONF=release_x64; |
||||
else |
||||
BUILD_CONF=release_x86; |
||||
fi |
||||
|
||||
export PATH=$PATH:$MONO_PATH |
||||
|
||||
$CUR_DIR/premake.sh --file=$CUR_DIR/premake5.lua gmake2 "$@" |
||||
|
||||
if $DEBUG; then |
||||
BUILD_CONF=debug_x64; |
||||
fi |
||||
config=$BUILD_CONF make -C $CUR_DIR/gmake/ |
||||
|
||||
BUILD_CONF_DIR="$(tr '[:lower:]' '[:upper:]' <<< ${BUILD_CONF:0:1})${BUILD_CONF:1}" |
||||
BUILD_DIR=$CUR_DIR/gmake/lib/$BUILD_CONF_DIR |
@ -1,17 +0,0 @@
@@ -1,17 +0,0 @@
|
||||
OS=$(uname -s) |
||||
|
||||
if [ "$(command -v mono)" ]; then |
||||
exit 0 |
||||
fi |
||||
|
||||
if [ "$OS" == "Darwin" ]; then |
||||
curl -o mono.pkg https://download.mono-project.com/archive/6.10.0/macos-10-universal/MonoFramework-MDK-6.10.0.macos10.xamarin.universal.pkg |
||||
sudo installer -pkg mono.pkg -target / |
||||
export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin |
||||
elif [ "$OS" == "Linux" ]; then |
||||
sudo apt install gnupg ca-certificates |
||||
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF |
||||
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list |
||||
sudo apt-get update -qq |
||||
sudo apt-get install -y --force-yes mono-mcs mono-roslyn libmono-system-runtime4.0-cil |
||||
fi |
@ -1,9 +0,0 @@
@@ -1,9 +0,0 @@
|
||||
BUILD_DIR=$(dirname -- $0) |
||||
NUNIT=NUnit.Console-3.9.0 |
||||
|
||||
if [ -e $BUILD_DIR/../deps/$NUNIT/nunit3-console.exe ]; then |
||||
exit 0 |
||||
fi |
||||
|
||||
curl -O -L https://github.com/nunit/nunit-console/releases/download/v3.9/$NUNIT.zip |
||||
unzip $NUNIT.zip -d $BUILD_DIR/../deps/$NUNIT |
@ -1,19 +0,0 @@
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh |
||||
set -e |
||||
DIR=$( cd "$( dirname "$0" )" && pwd ) |
||||
|
||||
case $(uname -s) in |
||||
CYGWIN*|MINGW32*|MSYS*|MINGW*) |
||||
ACTION=vs2019 |
||||
;; |
||||
*) |
||||
ACTION=gmake |
||||
MONO=mono |
||||
export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin |
||||
;; |
||||
esac |
||||
|
||||
$DIR/InstallNugets.sh |
||||
OUT_DIR=$(find $DIR/$ACTION/lib/* -type d -maxdepth 0) |
||||
cp $DIR/../deps/NUnit/nunit.framework.* $OUT_DIR |
||||
$MONO $DIR/../deps/NUnit.Console-3.9.0/nunit3-console.exe --result=$OUT_DIR/TestResult.xml $OUT_DIR/*Tests*.dll |
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh |
||||
set -e |
||||
DIR=$( cd "$( dirname "$0" )" && pwd ) |
||||
|
||||
case $(uname -s) in |
||||
CYGWIN*|MINGW32*|MSYS*|MINGW*) |
||||
;; |
||||
*) |
||||
$DIR/InstallMono.sh |
||||
;; |
||||
esac |
||||
|
||||
$DIR/premake.sh --file=$DIR/scripts/LLVM.lua download_llvm --arch=$PLATFORM |
@ -0,0 +1,183 @@
@@ -0,0 +1,183 @@
|
||||
#!/usr/bin/env bash |
||||
set -e |
||||
builddir=$(cd "$(dirname "$0")"; pwd) |
||||
platform=x64 |
||||
vs=vs2019 |
||||
configuration=Release |
||||
build_only=false |
||||
ci=false |
||||
verbosity=minimal |
||||
rootdir="$builddir/.." |
||||
bindir="$rootdir/bin" |
||||
objdir="$builddir/obj" |
||||
gendir="$builddir/gen" |
||||
slnpath="$rootdir/CppSharp.sln" |
||||
oshost="" |
||||
os="" |
||||
test= |
||||
|
||||
if [[ $(uname -m) != *"64"* ]]; then |
||||
platform=x86 |
||||
fi |
||||
|
||||
build() |
||||
{ |
||||
if [ $ci = true ]; then |
||||
clean |
||||
fi |
||||
|
||||
if [ $ci = true ] || [ $build_only = false ]; then |
||||
generate |
||||
restore |
||||
fi |
||||
|
||||
if [ $oshost = "linux" ] || [ $oshost = "macosx" ]; then |
||||
config=$(tr '[:upper:]' '[:lower:]' <<< ${configuration}_$platform) make -C $builddir/gmake/ |
||||
fi |
||||
|
||||
find_msbuild |
||||
$msbuild $slnpath -p:Configuration=$configuration -p:Platform=$platform -v:$verbosity |
||||
|
||||
if [ $ci = true ]; then |
||||
test |
||||
fi |
||||
} |
||||
|
||||
generate() |
||||
{ |
||||
download_llvm |
||||
|
||||
if [ "$os" = "linux" ] || [ "$os" = "macosx" ]; then |
||||
$builddir/premake.sh --file=$builddir/premake5.lua gmake2 --os=$os --arch=$platform --configuration=$configuration "$@" |
||||
fi |
||||
|
||||
$builddir/premake.sh --file=$builddir/premake5.lua $vs --os=$os --arch=$platform --configuration=$configuration |
||||
} |
||||
|
||||
restore() |
||||
{ |
||||
find_msbuild |
||||
$msbuild $slnpath -p:Configuration=$configuration -p:Platform=$platform -v:$verbosity -t:restore |
||||
} |
||||
|
||||
test() |
||||
{ |
||||
dotnet test $bindir/${configuration}_$platform/*.Tests*.dll |
||||
} |
||||
|
||||
clean() |
||||
{ |
||||
rm -rf $objdir |
||||
rm -rf $gendir |
||||
rm -rf $bindir |
||||
rm -rf $builddir/gmake |
||||
rm -rf $builddir/$vs |
||||
rm -rf $slnpath |
||||
} |
||||
|
||||
download_llvm() |
||||
{ |
||||
$builddir/premake.sh --file=$builddir/scripts/LLVM.lua download_llvm --os=$os --arch=$platform --configuration=$configuration |
||||
} |
||||
|
||||
download_premake() |
||||
{ |
||||
premake_dir=$builddir/premake |
||||
premake_filename=premake5 |
||||
if [ $oshost = "windows" ]; then |
||||
premake_filename=$premake_filename.exe |
||||
fi |
||||
premake_path=$premake_dir/$premake_filename |
||||
|
||||
if ! [ -f $premake_path ]; then |
||||
echo "Downloading and unpacking Premake..." |
||||
premake_url=https://github.com/InteropAlliance/premake-core/releases/download/latest/premake-$oshost-$platform.zip |
||||
curl -L -O $premake_url |
||||
unzip premake-$oshost-$platform.zip $premake_filename -d $premake_dir |
||||
chmod +x $premake_path |
||||
rm premake-$oshost-$platform.zip |
||||
fi |
||||
} |
||||
|
||||
detect_os() |
||||
{ |
||||
case "$(uname -s)" in |
||||
Darwin) |
||||
oshost=macosx |
||||
;; |
||||
Linux) |
||||
oshost=linux |
||||
;; |
||||
CYGWIN*|MINGW32*|MSYS*|MINGW*) |
||||
oshost=windows |
||||
;; |
||||
*) |
||||
echo "Unsupported platform" |
||||
exit 1 |
||||
;; |
||||
esac |
||||
|
||||
os=$oshost |
||||
} |
||||
|
||||
find_msbuild() |
||||
{ |
||||
if [ -x "$(command -v MSBuild.exe)" ]; then |
||||
msbuild="MSBuild.exe" |
||||
else |
||||
msbuild="msbuild" |
||||
fi |
||||
} |
||||
|
||||
cmd=$(tr '[:upper:]' '[:lower:]' <<< $1) |
||||
detect_os |
||||
download_premake |
||||
|
||||
while [[ $# > 0 ]]; do |
||||
option=$(tr '[:upper:]' '[:lower:]' <<< "${1/#--/-}") |
||||
case "$option" in |
||||
-debug) |
||||
configuration=Debug |
||||
;; |
||||
-platform) |
||||
platform=$2 |
||||
shift |
||||
;; |
||||
-vs) |
||||
vs=vs$2 |
||||
shift |
||||
;; |
||||
-os) |
||||
os=$2 |
||||
shift |
||||
;; |
||||
-ci) |
||||
ci=true |
||||
;; |
||||
-build_only) |
||||
build_only=true |
||||
;; |
||||
esac |
||||
shift |
||||
done |
||||
|
||||
case "$cmd" in |
||||
clean) |
||||
clean |
||||
;; |
||||
generate) |
||||
generate |
||||
;; |
||||
restore) |
||||
restore |
||||
;; |
||||
test) |
||||
test |
||||
;; |
||||
download_llvm) |
||||
download_llvm |
||||
;; |
||||
*) |
||||
build |
||||
;; |
||||
esac |
@ -0,0 +1,50 @@
@@ -0,0 +1,50 @@
|
||||
premake.api.register { |
||||
name = "workspacefiles", |
||||
scope = "workspace", |
||||
kind = "list:string", |
||||
} |
||||
|
||||
premake.api.register { |
||||
name = "removecompilefiles", |
||||
scope = "project", |
||||
kind = "list:string", |
||||
} |
||||
|
||||
premake.api.register { |
||||
name = "enabledefaultnoneitems", |
||||
scope = "project", |
||||
kind = "boolean", |
||||
} |
||||
|
||||
premake.override(premake.vstudio.dotnetbase.netcore, "enableDefaultCompileItems", function(base, cfg) |
||||
base(cfg); |
||||
|
||||
if cfg.enabledefaultnoneitems ~= nil then |
||||
premake.w('<EnableDefaultNoneItems>%s</EnableDefaultNoneItems>', iif(cfg.enabledefaultnoneitems, "true", "false")) |
||||
end |
||||
end) |
||||
|
||||
premake.override(premake.vstudio.dotnetbase, "files", function(base, prj) |
||||
base(prj); |
||||
|
||||
if prj.removecompilefiles ~= nil then |
||||
for _, file in ipairs(prj.removecompilefiles) do |
||||
premake.w("<Compile Remove=\"%s\" />", file) |
||||
end |
||||
end |
||||
end) |
||||
|
||||
-- https://github.com/premake/premake-core/issues/1061#issuecomment-441417853 |
||||
premake.override(premake.vstudio.sln2005, "projects", function(base, wks) |
||||
if wks.workspacefiles and #wks.workspacefiles > 0 then |
||||
premake.push('Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{' .. os.uuid("Solution Items:"..wks.name) .. '}"') |
||||
premake.push("ProjectSection(SolutionItems) = preProject") |
||||
for _, file in ipairs(wks.workspacefiles) do |
||||
file = path.rebase(file, ".", wks.location) |
||||
premake.w(file.." = "..file) |
||||
end |
||||
premake.pop("EndProjectSection") |
||||
premake.pop("EndProject") |
||||
end |
||||
base(wks) |
||||
end) |
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
-- https://github.com/premake/premake-core/issues/1559 |
||||
premake.override(premake.vstudio.vc2010, "targetFramework", function(oldfn, prj) |
||||
if prj.clr == "NetCore" then |
||||
local action = premake.action.current() |
||||
local tools = string.format(' ToolsVersion="%s"', action.vstudio.toolsVersion) |
||||
local framework = prj.dotnetframework or action.vstudio.targetFramework or "4.0" |
||||
|
||||
premake.w('<TargetFramework>%s</TargetFramework>', framework) |
||||
else |
||||
oldfn(prj) |
||||
end |
||||
end) |
||||
|
||||
-- https://github.com/premake/premake-core/issues/1549 |
||||
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function(base, cfg) |
||||
local calls = base(cfg); |
||||
table.insert(calls, function(cfg) |
||||
if cfg.clr == "Unsafe" then |
||||
premake.w('<AllowUnsafeBlocks>true</AllowUnsafeBlocks>') |
||||
end |
||||
end) |
||||
return calls; |
||||
end) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
DIR=$( cd "$( dirname "$0" )" && pwd ) |
||||
$DIR/build.sh test "$@" |
@ -1,259 +0,0 @@
@@ -1,259 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<doc> |
||||
<assembly> |
||||
<name>NSubstitute</name> |
||||
</assembly> |
||||
<members> |
||||
<member name="T:NSubstitute.Arg"> |
||||
<summary> |
||||
Argument matchers used for specifying calls to substitutes. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Any``1"> |
||||
<summary> |
||||
Match any argument value compatible with type <typeparamref name="T"/>. |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Is``1(``0)"> |
||||
<summary> |
||||
Match argument that is equal to <paramref name="value"/>. |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
<param name="value"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})"> |
||||
<summary> |
||||
Match argument that satisfies <paramref name="predicate"/>. |
||||
If the <paramref name="predicate"/> throws an exception for an argument it will be treated as non-matching. |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
<param name="predicate"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Invoke"> |
||||
<summary> |
||||
Invoke any <see cref="T:System.Action"/> argument as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Invoke``1(``0)"> |
||||
<summary> |
||||
Invoke any <see cref="T:System.Action`1"/> argument with specified argument as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
<param name="arg"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Invoke``2(``0,``1)"> |
||||
<summary> |
||||
Invoke any <see cref="T:System.Action`2"/> argument with specified arguments as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="T1"></typeparam> |
||||
<typeparam name="T2"></typeparam> |
||||
<param name="arg1"></param> |
||||
<param name="arg2"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Invoke``3(``0,``1,``2)"> |
||||
<summary> |
||||
Invoke any <see cref="T:System.Action`3"/> argument with specified arguments as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="T1"></typeparam> |
||||
<typeparam name="T2"></typeparam> |
||||
<typeparam name="T3"></typeparam> |
||||
<param name="arg1"></param> |
||||
<param name="arg2"></param> |
||||
<param name="arg3"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Invoke``4(``0,``1,``2,``3)"> |
||||
<summary> |
||||
Invoke any <see cref="T:System.Action`4"/> argument with specified arguments as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="T1"></typeparam> |
||||
<typeparam name="T2"></typeparam> |
||||
<typeparam name="T3"></typeparam> |
||||
<typeparam name="T4"></typeparam> |
||||
<param name="arg1"></param> |
||||
<param name="arg2"></param> |
||||
<param name="arg3"></param> |
||||
<param name="arg4"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.InvokeDelegate``1(System.Object[])"> |
||||
<summary> |
||||
Invoke any <typeparamref name="TDelegate"/> argument with specified arguments as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="TDelegate"></typeparam> |
||||
<param name="arguments">Arguments to pass to delegate.</param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Arg.Do``1(System.Action{``0})"> |
||||
<summary> |
||||
Capture any argument compatible with type <typeparamref name="T"/> and use it to call the <paramref name="useArgument"/> function |
||||
as soon as a matching call is made to the substitute. |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
<param name="useArgument"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="T:NSubstitute.IArgumentMatcher"> |
||||
<summary> |
||||
Provides a specification for arguments for use with <see ctype="Arg.Matches (IArgumentMatcher)" />. |
||||
Can additionally implement <see ctype="IDescribeNonMatches" /> to give descriptions when arguments do not match. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.IArgumentMatcher.IsSatisfiedBy(System.Object)"> |
||||
<summary> |
||||
Checks whether the <paramref name="argument"/> satisfies the condition of the matcher. |
||||
If this throws an exception the argument will be treated as non-matching. |
||||
</summary> |
||||
<param name="argument"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.IDescribeNonMatches.DescribeFor(System.Object)"> |
||||
<summary> |
||||
Describes how the <paramref name="argument"/> does not match the condition specified by this class, or <see cref="F:System.String.Empty"/> |
||||
if a detailed description can not be provided for the argument. |
||||
</summary> |
||||
<param name="argument"></param> |
||||
<returns>Description of the non-match, or <see cref="F:System.String.Empty"/> if no description can be provided.</returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Core.Extensions.Zip``3(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``1},System.Func{``0,``1,``2})"> |
||||
<summary> |
||||
Combines two enumerables into a new enumerable using the given selector. |
||||
</summary> |
||||
<typeparam name="TFirst"></typeparam> |
||||
<typeparam name="TSecond"></typeparam> |
||||
<typeparam name="TResult"></typeparam> |
||||
<param name="first"></param> |
||||
<param name="second"></param> |
||||
<param name="selector"></param> |
||||
<returns></returns> |
||||
<remarks> |
||||
This implementation was sanity-checked against the |
||||
<a href="http://msmvps.com/blogs/jon_skeet/archive/2011/01/14/reimplementing-linq-to-objects-part-35-zip.aspx">Edulinq implementation</a> and |
||||
<a href="http://blogs.msdn.com/b/ericlippert/archive/2009/05/07/zip-me-up.aspx">Eric Lippert's implementation</a>. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:NSubstitute.Core.Extensions.IsCompatibleWith(System.Object,System.Type)"> |
||||
<summary> |
||||
Checks if the instance can be used when a <paramref name="type"/> is expected. |
||||
</summary> |
||||
<param name="instance"></param> |
||||
<param name="type"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Core.Extensions.Join(System.Collections.Generic.IEnumerable{System.String},System.String)"> |
||||
<summary> |
||||
Join the <paramref name="strings"/> using <paramref name="seperator"/>. |
||||
</summary> |
||||
<param name="strings"></param> |
||||
<param name="seperator"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="T:NSubstitute.Core.RobustThreadLocal`1"> |
||||
<summary> |
||||
Delegates to ThreadLocal<T>, but wraps Value property access in try/catch to swallow ObjectDisposedExceptions. |
||||
These can occur if the Value property is accessed from the finalizer thread. Because we can't detect this, we'll |
||||
just swallow the exception (the finalizer thread won't be using any of the values from thread local storage anyway). |
||||
</summary> |
||||
<typeparam name="T"></typeparam> |
||||
</member> |
||||
<member name="T:NSubstitute.IArgumentMatcher`1"> |
||||
<summary> |
||||
Provides a specification for arguments for use with <see ctype="Arg.Matches < T >(IArgumentMatcher)" />. |
||||
Can additionally implement <see ctype="IDescribeNonMatches" /> to give descriptions when arguments do not match. |
||||
</summary> |
||||
<typeparam name="T">Matches arguments of type <typeparamref name="T"/> or compatible type.</typeparam> |
||||
</member> |
||||
<member name="M:NSubstitute.IArgumentMatcher`1.IsSatisfiedBy(`0)"> |
||||
<summary> |
||||
Checks whether the <paramref name="argument"/> satisfies the condition of the matcher. |
||||
If this throws an exception the argument will be treated as non-matching. |
||||
</summary> |
||||
<param name="argument"></param> |
||||
<returns></returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Raise.EventWith``1(System.Object,``0)"> |
||||
<summary> |
||||
Raise an event for an <c>EventHandler<TEventArgs></c> event with the provided <paramref name="sender"/> and <paramref name="eventArgs"/>. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Raise.EventWith``1(``0)"> |
||||
<summary> |
||||
Raise an event for an <c>EventHandler<TEventArgs></c> event with the substitute as the sender and the provided <paramref name="eventArgs" />. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Raise.EventWith``1"> |
||||
<summary> |
||||
Raise an event for an <c>EventHandler<EventArgsT></c> event with the substitute as the sender |
||||
and with a default instance of <typeparamref name="TEventArgs" />. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Raise.Event"> |
||||
<summary> |
||||
Raise an event for an <c>EventHandler</c> or <c>EventHandler<EventArgs></c> event with the substitute |
||||
as the sender and with empty <c>EventArgs</c>. |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Raise.Event``1(System.Object[])"> |
||||
<summary> |
||||
Raise an event of type <typeparamref name="THandler" /> with the provided arguments. If no arguments are provided |
||||
NSubstitute will try and provide reasonble defaults. |
||||
</summary> |
||||
</member> |
||||
<member name="T:NSubstitute.Substitute"> |
||||
<summary> |
||||
Create a substitute for one or more types. For example: <c>Substitute.For<ISomeType>()</c> |
||||
</summary> |
||||
</member> |
||||
<member name="M:NSubstitute.Substitute.For``1(System.Object[])"> |
||||
<summary> |
||||
Substitute for an interface or class. |
||||
<para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members |
||||
can be recorded or have return values specified.</para> |
||||
</summary> |
||||
<typeparam name="T">The type of interface or class to substitute.</typeparam> |
||||
<param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param> |
||||
<returns>A substitute for the interface or class.</returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Substitute.For``2(System.Object[])"> |
||||
<summary> |
||||
<para>Substitute for multiple interfaces or a class that implements an interface. At most one class can be specified.</para> |
||||
<para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members |
||||
can be recorded or have return values specified.</para> |
||||
</summary> |
||||
<typeparam name="T1">The type of interface or class to substitute.</typeparam> |
||||
<typeparam name="T2">An additional interface or class (maximum of one class) the substitute should implement.</typeparam> |
||||
<param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param> |
||||
<returns>A substitute of type T1, that also implements T2.</returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Substitute.For``3(System.Object[])"> |
||||
<summary> |
||||
<para>Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified.</para> |
||||
If additional interfaces are required use the <see cref="M:For(System.Type[], System.Object[])" /> overload. |
||||
<para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members |
||||
can be recorded or have return values specified.</para> |
||||
</summary> |
||||
<typeparam name="T1">The type of interface or class to substitute.</typeparam> |
||||
<typeparam name="T2">An additional interface or class (maximum of one class) the substitute should implement.</typeparam> |
||||
<typeparam name="T3">An additional interface or class (maximum of one class) the substitute should implement.</typeparam> |
||||
<param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param> |
||||
<returns>A substitute of type T1, that also implements T2 and T3.</returns> |
||||
</member> |
||||
<member name="M:NSubstitute.Substitute.For(System.Type[],System.Object[])"> |
||||
<summary> |
||||
<para>Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified.</para> |
||||
<para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members |
||||
can be recorded or have return values specified.</para> |
||||
</summary> |
||||
<param name="typesToProxy">The types of interfaces or a type of class and multiple interfaces the substitute should implement.</param> |
||||
<param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param> |
||||
<returns>A substitute implementing the specified types.</returns> |
||||
</member> |
||||
</members> |
||||
</doc> |
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,485 +0,0 @@
@@ -1,485 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<doc> |
||||
<assembly> |
||||
<name>Microsoft.VisualStudio.Setup.Configuration.Interop</name> |
||||
</assembly> |
||||
<members> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances"> |
||||
<summary> |
||||
A enumerator of installed <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance"/> objects. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances.Next(System.Int32,Microsoft.VisualStudio.Setup.Configuration.ISetupInstance[],System.Int32@)"> |
||||
<summary> |
||||
Retrieves the next set of product instances in the enumeration sequence. |
||||
</summary> |
||||
<param name="celt">The number of product instances to retrieve.</param> |
||||
<param name="rgelt">A pointer to an array of <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance"/>.</param> |
||||
<param name="pceltFetched">A pointer to the number of product instances retrieved. If celt is 1 this parameter may be NULL.</param> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances.Skip(System.Int32)"> |
||||
<summary> |
||||
Skips the next set of product instances in the enumeration sequence. |
||||
</summary> |
||||
<param name="celt">The number of product instances to skip.</param> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances.Reset"> |
||||
<summary> |
||||
Resets the enumeration sequence to the beginning. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances.Clone"> |
||||
<summary> |
||||
Creates a new enumeration object in the same state as the current enumeration object: the new object points to the same place in the enumeration sequence. |
||||
</summary> |
||||
<returns>A pointer to a pointer to a new <see cref="T:Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances"/> interface. If the method fails, this parameter is undefined.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.InstanceState"> |
||||
<summary> |
||||
The state of an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2"/>. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.None"> |
||||
<summary> |
||||
The instance state has not been determined. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.Local"> |
||||
<summary> |
||||
The instance installation path exists. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.Registered"> |
||||
<summary> |
||||
A product is registered to the instance. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.NoRebootRequired"> |
||||
<summary> |
||||
No reboot is required for the instance. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.NoErrors"> |
||||
<summary> |
||||
No errors were reported for the instance. |
||||
</summary> |
||||
</member> |
||||
<member name="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.Complete"> |
||||
<summary> |
||||
The instance represents a complete install. |
||||
</summary> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2"> |
||||
<summary> |
||||
Gets information about product instances set up on the machine. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.EnumInstances"> |
||||
<summary> |
||||
Enumerates all completed product instances installed. |
||||
</summary> |
||||
<returns>An enumeration of installed product instances.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.GetInstanceForCurrentProcess"> |
||||
<summary> |
||||
Gets the instance for the current process path. |
||||
</summary> |
||||
<returns>The instance for the current process path.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.GetInstanceForPath(System.String)"> |
||||
<summary> |
||||
Gets the instance for the given path. |
||||
</summary> |
||||
<param name="path">Path used to determine instance</param> |
||||
<returns>The instance for the given path.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2.EnumAllInstances"> |
||||
<summary> |
||||
Enumerates all product instances. |
||||
</summary> |
||||
<returns>An enumeration of all product instances.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration"> |
||||
<summary> |
||||
Gets information about product instances set up on the machine. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration.EnumInstances"> |
||||
<summary> |
||||
Enumerates all product instances installed. |
||||
</summary> |
||||
<returns>An enumeration of installed product instances.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration.GetInstanceForCurrentProcess"> |
||||
<summary> |
||||
Gets the instance for the current process path. |
||||
</summary> |
||||
<returns>The instance for the current process path.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration.GetInstanceForPath(System.String)"> |
||||
<summary> |
||||
Gets the instance for the given path. |
||||
</summary> |
||||
<param name="path">Path used to determine instance</param> |
||||
<returns>The instance for the given path.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupErrorState"> |
||||
<summary> |
||||
Information about the error state of the instance. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupErrorState.GetFailedPackages"> |
||||
<summary> |
||||
Gets an array of failed package references. |
||||
</summary> |
||||
<returns>An array of failed package references.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupErrorState.GetSkippedPackages"> |
||||
<summary> |
||||
Gets an array of skipped package references. |
||||
</summary> |
||||
<returns>An array of skipped package references.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference"> |
||||
<summary> |
||||
A reference to a failed package. |
||||
</summary> |
||||
<remarks> |
||||
You can enumerate all properties of basic types by casting to an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"/>. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetId"> |
||||
<summary> |
||||
Gets the general package identifier. |
||||
</summary> |
||||
<returns>The general package identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetVersion"> |
||||
<summary> |
||||
Gets the version of the package. |
||||
</summary> |
||||
<returns>The version of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetChip"> |
||||
<summary> |
||||
Gets the target process architecture of the package. |
||||
</summary> |
||||
<returns>The target process architecture of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetLanguage"> |
||||
<summary> |
||||
Gets the language and optional region identifier. |
||||
</summary> |
||||
<returns>The language and optional region identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetBranch"> |
||||
<summary> |
||||
Gets the build branch of the package. |
||||
</summary> |
||||
<returns>The build branch of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetType"> |
||||
<summary> |
||||
Gets the type of the package. |
||||
</summary> |
||||
<returns>The type of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetUniqueId"> |
||||
<summary> |
||||
Gets the unique identifier consisting of all defined tokens. |
||||
</summary> |
||||
<returns>The unique identifier consisting of all defined tokens.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupFailedPackageReference.GetIsExtension"> |
||||
<summary> |
||||
Gets a value indicating whether the package refers to an external extension. |
||||
</summary> |
||||
<returns>A value indicating whether the package refers to an external extension.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupHelper"> |
||||
<summary> |
||||
Helper functions. |
||||
</summary> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupHelper.ParseVersion(System.String)"> |
||||
<summary> |
||||
Parses a dotted quad version string into a 64-bit unsigned integer. |
||||
</summary> |
||||
<param name="version">The dotted quad version string to parse, e.g. 1.2.3.4.</param> |
||||
<returns>A 64-bit unsigned integer representing the version. You can compare this to other versions.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupHelper.ParseVersionRange(System.String,System.UInt64@,System.UInt64@)"> |
||||
<summary> |
||||
Parses a dotted quad version string into a 64-bit unsigned integer. |
||||
</summary> |
||||
<param name="versionRange">The string containing 1 or 2 dotted quad version strings to parse, e.g. [1.0,) that means 1.0.0.0 or newer.</param> |
||||
<param name="minVersion">A 64-bit unsigned integer representing the minimum version, which may be 0. You can compare this to other versions.</param> |
||||
<param name="maxVersion">A 64-bit unsigned integer representing the maximum version, which may be MAXULONGLONG. You can compare this to other versions.</param> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2"> |
||||
<summary> |
||||
Information about an instance of a product. |
||||
</summary> |
||||
<remarks> |
||||
You can enumerate all properties of basic types by casting to an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"/>. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetInstanceId"> |
||||
<summary> |
||||
Gets the instance identifier (should match the name of the parent instance directory). |
||||
</summary> |
||||
<returns>The instance identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetInstallDate"> |
||||
<summary> |
||||
Gets the local date and time when the installation was originally installed. |
||||
</summary> |
||||
<returns>The local date and time when the installation was originally installed.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetInstallationName"> |
||||
<summary> |
||||
Gets the unique name of the installation, often indicating the branch and other information used for telemetry. |
||||
</summary> |
||||
<returns>The unique name of the installation, often indicating the branch and other information used for telemetry.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetInstallationPath"> |
||||
<summary> |
||||
Gets the path to the installation root of the product. |
||||
</summary> |
||||
<returns>The path to the installation root of the product.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetInstallationVersion"> |
||||
<summary> |
||||
Gets the version of the product installed in this instance. |
||||
</summary> |
||||
<returns>The version of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetDisplayName(System.Int32)"> |
||||
<summary> |
||||
Gets the display name (title) of the product installed in this instance. |
||||
</summary> |
||||
<param name="lcid">The LCID for the display name.</param> |
||||
<returns>The display name (title) of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetDescription(System.Int32)"> |
||||
<summary> |
||||
Gets the description of the product installed in this instance. |
||||
</summary> |
||||
<param name="lcid">The LCID for the description.</param> |
||||
<returns>The description of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.ResolvePath(System.String)"> |
||||
<summary> |
||||
Resolves the optional relative path to the root path of the instance. |
||||
</summary> |
||||
<param name="pwszRelativePath">A relative path within the instance to resolve, or NULL to get the root path.</param> |
||||
<returns>The full path to the optional relative path within the instance. If the relative path is NULL, the root path will always terminate in a backslash.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetState"> |
||||
<summary> |
||||
Gets the state of the instance. |
||||
</summary> |
||||
<returns>The state of the instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetPackages"> |
||||
<summary> |
||||
Gets an array of package references registered to the instance. |
||||
</summary> |
||||
<returns>An array of package references registered to the instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetProduct"> |
||||
<summary> |
||||
Gets a package reference to the product registered to the instance |
||||
</summary> |
||||
<returns>A package reference to the product registered to the instance. This may be null if <see cref="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetState"/> does not return <see cref="F:Microsoft.VisualStudio.Setup.Configuration.InstanceState.Complete"/>.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetProductPath"> |
||||
<summary> |
||||
Gets the relative path to the product application, if available. |
||||
</summary> |
||||
<returns>The relative path to the product application, if available.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetErrors"> |
||||
<summary> |
||||
Gets the error state of the instance, if available. |
||||
</summary> |
||||
<returns>The error state of the instance, if available.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.IsLaunchable"> |
||||
<summary> |
||||
Gets a value indicating whether the instance can be launched. |
||||
</summary> |
||||
<returns>Whether the instance can be launched.</returns> |
||||
<remarks> |
||||
An instance could have had errors during install but still be launched. Some features may not work correctly, but others will. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.IsComplete"> |
||||
<summary> |
||||
Gets a value indicating whether the instance is complete. |
||||
</summary> |
||||
<returns>Whether the instance is complete.</returns> |
||||
<remarks> |
||||
An instance is complete if it had no errors during install, resume, or repair. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetProperties"> |
||||
<summary> |
||||
Gets product-specific properties. |
||||
</summary> |
||||
<returns>An <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"/> of product-specific properties, or null if no properties are defined.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetEnginePath"> |
||||
<summary> |
||||
Gets the directory path to the setup engine that installed the instance. |
||||
</summary> |
||||
<returns>The directory path to the setup engine that installed the instance.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance"> |
||||
<summary> |
||||
Information about an instance of a product. |
||||
</summary> |
||||
<remarks> |
||||
You can enumerate all properties of basic types by casting to an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"/>. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetInstanceId"> |
||||
<summary> |
||||
Gets the instance identifier (should match the name of the parent instance directory). |
||||
</summary> |
||||
<returns>The instance identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetInstallDate"> |
||||
<summary> |
||||
Gets the local date and time when the installation was originally installed. |
||||
</summary> |
||||
<returns>The local date and time when the installation was originally installed.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetInstallationName"> |
||||
<summary> |
||||
Gets the unique name of the installation, often indicating the branch and other information used for telemetry. |
||||
</summary> |
||||
<returns>The unique name of the installation, often indicating the branch and other information used for telemetry.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetInstallationPath"> |
||||
<summary> |
||||
Gets the path to the installation root of the product. |
||||
</summary> |
||||
<returns>The path to the installation root of the product.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetInstallationVersion"> |
||||
<summary> |
||||
Gets the version of the product installed in this instance. |
||||
</summary> |
||||
<returns>The version of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetDisplayName(System.Int32)"> |
||||
<summary> |
||||
Gets the display name (title) of the product installed in this instance. |
||||
</summary> |
||||
<param name="lcid">The LCID for the display name.</param> |
||||
<returns>The display name (title) of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.GetDescription(System.Int32)"> |
||||
<summary> |
||||
Gets the description of the product installed in this instance. |
||||
</summary> |
||||
<param name="lcid">The LCID for the description.</param> |
||||
<returns>The description of the product installed in this instance.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance.ResolvePath(System.String)"> |
||||
<summary> |
||||
Resolves the optional relative path to the root path of the instance. |
||||
</summary> |
||||
<param name="pwszRelativePath">A relative path within the instance to resolve, or NULL to get the root path.</param> |
||||
<returns>The full path to the optional relative path within the instance. If the relative path is NULL, the root path will always terminate in a backslash.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference"> |
||||
<summary> |
||||
A reference to a package. |
||||
</summary> |
||||
<remarks> |
||||
You can enumerate all properties of basic types by casting to an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"/>. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetId"> |
||||
<summary> |
||||
Gets the general package identifier. |
||||
</summary> |
||||
<returns>The general package identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetVersion"> |
||||
<summary> |
||||
Gets the version of the package. |
||||
</summary> |
||||
<returns>The version of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetChip"> |
||||
<summary> |
||||
Gets the target process architecture of the package. |
||||
</summary> |
||||
<returns>The target process architecture of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetLanguage"> |
||||
<summary> |
||||
Gets the language and optional region identifier. |
||||
</summary> |
||||
<returns>The language and optional region identifier.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetBranch"> |
||||
<summary> |
||||
Gets the build branch of the package. |
||||
</summary> |
||||
<returns>The build branch of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetType"> |
||||
<summary> |
||||
Gets the type of the package. |
||||
</summary> |
||||
<returns>The type of the package.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetUniqueId"> |
||||
<summary> |
||||
Gets the unique identifier consisting of all defined tokens. |
||||
</summary> |
||||
<returns>The unique identifier consisting of all defined tokens.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference.GetIsExtension"> |
||||
<summary> |
||||
Gets a value indicating whether the package refers to an external extension. |
||||
</summary> |
||||
<returns>A value indicating whether the package refers to an external extension.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore"> |
||||
<summary> |
||||
Provides named properties. |
||||
</summary> |
||||
<remarks> |
||||
You can get this from an <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupInstance"/>, <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupPackageReference"/>, or derivative. |
||||
</remarks> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore.GetNames"> |
||||
<summary> |
||||
Gets an array of property names in this property store. |
||||
</summary> |
||||
<returns>An array of property names in this property store.</returns> |
||||
</member> |
||||
<member name="M:Microsoft.VisualStudio.Setup.Configuration.ISetupPropertyStore.GetValue(System.String)"> |
||||
<summary> |
||||
Gets the value of a named property in this property store. |
||||
</summary> |
||||
<param name="pwszName">The name of the property to get.</param> |
||||
<returns>The value of the property.</returns> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.SetupConfiguration"> |
||||
<summary> |
||||
The implementation of <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration2"/>. |
||||
</summary> |
||||
</member> |
||||
<member name="T:Microsoft.VisualStudio.Setup.Configuration.SetupConfigurationClass"> |
||||
<summary> |
||||
Class that implements <see cref="T:Microsoft.VisualStudio.Setup.Configuration.ISetupConfiguration"/>. |
||||
</summary> |
||||
</member> |
||||
</members> |
||||
</doc> |
@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
|
||||
include ("CSharp") |
||||
|
||||
if EnableNativeProjects() and os.ishost("windows") and not os.getenv("CI") then |
||||
if EnabledCLIProjects() and not os.getenv("CI") then |
||||
|
||||
include ("CLI") |
||||
|
||||
|
@ -1,15 +1,15 @@
@@ -1,15 +1,15 @@
|
||||
project "CppSharp.Parser.Bootstrap" |
||||
|
||||
SetupManagedProject() |
||||
SetupParser() |
||||
|
||||
kind "ConsoleApp" |
||||
language "C#" |
||||
debugdir "." |
||||
|
||||
files { "*.cs", "*.lua" } |
||||
links { "CppSharp", "CppSharp.AST", "CppSharp.Generator", "CppSharp.Parser" } |
||||
|
||||
filter { "action:not netcore" } |
||||
links { "System", "System.Core" } |
||||
|
||||
SetupParser() |
||||
links { |
||||
"CppSharp", |
||||
"CppSharp.AST", |
||||
"CppSharp.Generator", |
||||
"CppSharp.Parser" |
||||
} |
||||
|
@ -1,6 +1,11 @@
@@ -1,6 +1,11 @@
|
||||
group "Tests/Namespaces" |
||||
SetupTestGeneratorProject("NamespacesDerived") |
||||
SetupTestNativeProject("NamespacesDerived", "NamespacesBase") |
||||
|
||||
if not EnabledManagedProjects() then |
||||
return |
||||
end |
||||
|
||||
SetupTestGeneratorProject("NamespacesDerived") |
||||
SetupTestProjectsCSharp("NamespacesDerived", "NamespacesBase") |
||||
|
||||
project("NamespacesDerived.Tests.CSharp") |
||||
|
Loading…
Reference in new issue