Skip to content

Commit 616520d

Browse files
Re-add microsoft.csharp.4.7.0 (#347)
1 parent 7d522b7 commit 616520d

File tree

7 files changed

+495
-0
lines changed

7 files changed

+495
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />
3+
4+
<PropertyGroup>
5+
<TargetFrameworks>netstandard1.0;netstandard2.0;netstandard1.3</TargetFrameworks>
6+
<NuspecFile>$(ArtifactsBinDir)microsoft.csharp/4.7.0/microsoft.csharp.nuspec</NuspecFile>
7+
</PropertyGroup>
8+
9+
<PropertyGroup>
10+
<OutputPath>$(ArtifactsBinDir)microsoft.csharp/4.7.0/ref/</OutputPath>
11+
<IntermediateOutputPath>$(ArtifactsObjDir)microsoft.csharp/4.7.0</IntermediateOutputPath>
12+
</PropertyGroup>
13+
14+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
15+
<OutputPath>$(ArtifactsBinDir)microsoft.csharp/4.7.0/lib/</OutputPath>
16+
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<Compile Include="**/ref/$(TargetFramework)/*.cs" />
20+
<Compile Include="**/lib/$(TargetFramework)/*.cs" />
21+
</ItemGroup>
22+
23+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
24+
<PackageReference Include="NETStandard.Library" Version="$(NETStandardImplicitPackageVersion)" />
25+
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
26+
</ItemGroup>
27+
28+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
29+
<PackageReference Include="NETStandard.Library" Version="$(NETStandardImplicitPackageVersion)" />
30+
</ItemGroup>
31+
32+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
33+
<PackageReference Include="NETStandard.Library" Version="$(NETStandardImplicitPackageVersion)" />
34+
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
35+
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
36+
</ItemGroup>
37+
38+
</Project>
Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
8+
using System;
9+
using System.Diagnostics;
10+
using System.Reflection;
11+
using System.Runtime.CompilerServices;
12+
using System.Security;
13+
14+
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
15+
[assembly: AllowPartiallyTrustedCallers]
16+
[assembly: ReferenceAssembly]
17+
[assembly: AssemblyTitle("Microsoft.CSharp")]
18+
[assembly: AssemblyDescription("Microsoft.CSharp")]
19+
[assembly: AssemblyDefaultAlias("Microsoft.CSharp")]
20+
[assembly: AssemblyCompany("Microsoft Corporation")]
21+
[assembly: AssemblyProduct("Microsoft® .NET Framework")]
22+
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
23+
[assembly: AssemblyFileVersion("4.6.24705.01")]
24+
[assembly: AssemblyInformationalVersion("4.6.24705.01 built by: SOURCEBUILD")]
25+
[assembly: CLSCompliant(true)]
26+
[assembly: AssemblyMetadata("", "")]
27+
[assembly: AssemblyVersion("4.0.2.0")]
28+
29+
30+
31+
32+
namespace Microsoft.CSharp.RuntimeBinder
33+
{
34+
public static partial class Binder
35+
{
36+
public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
37+
public static System.Runtime.CompilerServices.CallSiteBinder Convert(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Type type, System.Type context) { throw null; }
38+
public static System.Runtime.CompilerServices.CallSiteBinder GetIndex(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
39+
public static System.Runtime.CompilerServices.CallSiteBinder GetMember(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
40+
public static System.Runtime.CompilerServices.CallSiteBinder Invoke(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
41+
public static System.Runtime.CompilerServices.CallSiteBinder InvokeConstructor(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
42+
public static System.Runtime.CompilerServices.CallSiteBinder InvokeMember(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Collections.Generic.IEnumerable<System.Type> typeArguments, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
43+
public static System.Runtime.CompilerServices.CallSiteBinder IsEvent(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Type context) { throw null; }
44+
public static System.Runtime.CompilerServices.CallSiteBinder SetIndex(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
45+
public static System.Runtime.CompilerServices.CallSiteBinder SetMember(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
46+
public static System.Runtime.CompilerServices.CallSiteBinder UnaryOperation(Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, System.Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo) { throw null; }
47+
}
48+
public sealed partial class CSharpArgumentInfo
49+
{
50+
internal CSharpArgumentInfo() { }
51+
public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create(Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string name) { throw null; }
52+
}
53+
[System.FlagsAttribute]
54+
public enum CSharpArgumentInfoFlags
55+
{
56+
None = 0,
57+
UseCompileTimeType = 1,
58+
Constant = 2,
59+
NamedArgument = 4,
60+
IsRef = 8,
61+
IsOut = 16,
62+
IsStaticType = 32,
63+
}
64+
[System.FlagsAttribute]
65+
public enum CSharpBinderFlags
66+
{
67+
None = 0,
68+
CheckedContext = 1,
69+
InvokeSimpleName = 2,
70+
InvokeSpecialName = 4,
71+
BinaryOperationLogical = 8,
72+
ConvertExplicit = 16,
73+
ConvertArrayIndex = 32,
74+
ResultIndexed = 64,
75+
ValueFromCompoundAssignment = 128,
76+
ResultDiscarded = 256,
77+
}
78+
public partial class RuntimeBinderException : System.Exception
79+
{
80+
public RuntimeBinderException() { }
81+
public RuntimeBinderException(string message) { }
82+
public RuntimeBinderException(string message, System.Exception innerException) { }
83+
}
84+
public partial class RuntimeBinderInternalCompilerException : System.Exception
85+
{
86+
public RuntimeBinderInternalCompilerException() { }
87+
public RuntimeBinderInternalCompilerException(string message) { }
88+
public RuntimeBinderInternalCompilerException(string message, System.Exception innerException) { }
89+
}
90+
}
91+
namespace Microsoft.CSharp.RuntimeBinder.Errors
92+
{
93+
public enum ErrorCode
94+
{
95+
ERR_BadBinaryOps = 19,
96+
ERR_IntDivByZero = 20,
97+
ERR_BadIndexLHS = 21,
98+
ERR_BadIndexCount = 22,
99+
ERR_BadUnaryOp = 23,
100+
ERR_NoImplicitConv = 29,
101+
ERR_NoExplicitConv = 30,
102+
ERR_ConstOutOfRange = 31,
103+
ERR_AmbigBinaryOps = 34,
104+
ERR_AmbigUnaryOp = 35,
105+
ERR_ValueCantBeNull = 37,
106+
ERR_WrongNestedThis = 38,
107+
ERR_NoSuchMember = 117,
108+
ERR_ObjectRequired = 120,
109+
ERR_AmbigCall = 121,
110+
ERR_BadAccess = 122,
111+
ERR_MethDelegateMismatch = 123,
112+
ERR_AssgLvalueExpected = 131,
113+
ERR_NoConstructors = 143,
114+
ERR_BadDelegateConstructor = 148,
115+
ERR_PropertyLacksGet = 154,
116+
ERR_ObjectProhibited = 176,
117+
ERR_AssgReadonly = 191,
118+
ERR_RefReadonly = 192,
119+
ERR_AssgReadonlyStatic = 198,
120+
ERR_RefReadonlyStatic = 199,
121+
ERR_AssgReadonlyProp = 200,
122+
ERR_AbstractBaseCall = 205,
123+
ERR_RefProperty = 206,
124+
ERR_ManagedAddr = 208,
125+
ERR_FixedNotNeeded = 213,
126+
ERR_UnsafeNeeded = 214,
127+
ERR_BadBoolOp = 217,
128+
ERR_MustHaveOpTF = 218,
129+
ERR_CheckedOverflow = 220,
130+
ERR_ConstOutOfRangeChecked = 221,
131+
ERR_AmbigMember = 229,
132+
ERR_SizeofUnsafe = 233,
133+
ERR_FieldInitRefNonstatic = 236,
134+
ERR_CallingFinalizeDepracated = 245,
135+
ERR_CallingBaseFinalizeDeprecated = 250,
136+
ERR_BadCastInFixed = 254,
137+
ERR_NoImplicitConvCast = 266,
138+
ERR_InaccessibleGetter = 271,
139+
ERR_InaccessibleSetter = 272,
140+
ERR_BadArity = 305,
141+
ERR_BadTypeArgument = 306,
142+
ERR_TypeArgsNotAllowed = 307,
143+
ERR_HasNoTypeVars = 308,
144+
ERR_NewConstraintNotSatisfied = 310,
145+
ERR_GenericConstraintNotSatisfiedRefType = 311,
146+
ERR_GenericConstraintNotSatisfiedNullableEnum = 312,
147+
ERR_GenericConstraintNotSatisfiedNullableInterface = 313,
148+
ERR_GenericConstraintNotSatisfiedTyVar = 314,
149+
ERR_GenericConstraintNotSatisfiedValType = 315,
150+
ERR_TypeVarCantBeNull = 403,
151+
ERR_BadRetType = 407,
152+
ERR_CantInferMethTypeArgs = 411,
153+
ERR_MethGrpToNonDel = 428,
154+
ERR_RefConstraintNotSatisfied = 452,
155+
ERR_ValConstraintNotSatisfied = 453,
156+
ERR_CircularConstraint = 454,
157+
ERR_BaseConstraintConflict = 455,
158+
ERR_ConWithValCon = 456,
159+
ERR_AmbigUDConv = 457,
160+
ERR_PredefinedTypeNotFound = 518,
161+
ERR_PredefinedTypeBadType = 520,
162+
ERR_BindToBogus = 570,
163+
ERR_CantCallSpecialMethod = 571,
164+
ERR_BogusType = 648,
165+
ERR_MissingPredefinedMember = 656,
166+
ERR_LiteralDoubleCast = 664,
167+
ERR_UnifyingInterfaceInstantiations = 695,
168+
ERR_ConvertToStaticClass = 716,
169+
ERR_GenericArgIsStaticClass = 718,
170+
ERR_PartialMethodToDelegate = 762,
171+
ERR_IncrementLvalueExpected = 1059,
172+
ERR_NoSuchMemberOrExtension = 1061,
173+
ERR_ValueTypeExtDelegate = 1113,
174+
ERR_BadArgCount = 1501,
175+
ERR_BadArgTypes = 1502,
176+
ERR_BadArgType = 1503,
177+
ERR_RefLvalueExpected = 1510,
178+
ERR_BadProtectedAccess = 1540,
179+
ERR_BindToBogusProp2 = 1545,
180+
ERR_BindToBogusProp1 = 1546,
181+
ERR_BadDelArgCount = 1593,
182+
ERR_BadDelArgTypes = 1594,
183+
ERR_AssgReadonlyLocal = 1604,
184+
ERR_RefReadonlyLocal = 1605,
185+
ERR_ReturnNotLValue = 1612,
186+
ERR_BadArgExtraRef = 1615,
187+
ERR_BadArgRef = 1620,
188+
ERR_AssgReadonly2 = 1648,
189+
ERR_RefReadonly2 = 1649,
190+
ERR_AssgReadonlyStatic2 = 1650,
191+
ERR_RefReadonlyStatic2 = 1651,
192+
ERR_AssgReadonlyLocalCause = 1656,
193+
ERR_RefReadonlyLocalCause = 1657,
194+
ERR_ThisStructNotInAnonMeth = 1673,
195+
ERR_DelegateOnNullable = 1728,
196+
ERR_BadCtorArgCount = 1729,
197+
ERR_BadExtensionArgTypes = 1928,
198+
ERR_BadInstanceArgType = 1929,
199+
ERR_BadArgTypesForCollectionAdd = 1950,
200+
ERR_InitializerAddHasParamModifiers = 1954,
201+
ERR_NonInvocableMemberCalled = 1955,
202+
ERR_NamedArgumentSpecificationBeforeFixedArgument = 5002,
203+
ERR_BadNamedArgument = 5003,
204+
ERR_BadNamedArgumentForDelegateInvoke = 5004,
205+
ERR_DuplicateNamedArgument = 5005,
206+
ERR_NamedArgumentUsedInPositional = 5006,
207+
}
208+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata minClientVersion="2.12">
4+
<id>Microsoft.CSharp</id>
5+
<version>4.7.0</version>
6+
<title>Microsoft.CSharp</title>
7+
<authors>Microsoft</authors>
8+
<owners>microsoft,dotnetframework</owners>
9+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10+
<license type="expression">MIT</license>
11+
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
12+
<projectUrl>https://github.com/dotnet/corefx</projectUrl>
13+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
14+
<description>Provides support for compilation and code generation, including dynamic, using the C# language.
15+
16+
Commonly Used Types:
17+
Microsoft.CSharp.RuntimeBinder.Binder
18+
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
19+
Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo
20+
Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags
21+
Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags
22+
23+
When using NuGet 3.x this package requires at least version 3.4.</description>
24+
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
25+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
26+
<serviceable>true</serviceable>
27+
<dependencies>
28+
<group targetFramework="MonoAndroid1.0" />
29+
<group targetFramework="MonoTouch1.0" />
30+
<group targetFramework=".NETFramework4.5" />
31+
<group targetFramework=".NETCore5.0">
32+
<dependency id="NETStandard.Library" version="1.6.1" />
33+
<dependency id="System.Dynamic.Runtime" version="4.3.0" />
34+
<dependency id="System.Reflection.TypeExtensions" version="4.7.0" exclude="Compile" />
35+
</group>
36+
<group targetFramework=".NETCoreApp2.0" />
37+
<group targetFramework=".NETStandard1.0">
38+
<dependency id="NETStandard.Library" version="1.6.1" />
39+
<dependency id="System.Dynamic.Runtime" version="4.3.0" />
40+
</group>
41+
<group targetFramework=".NETStandard1.3">
42+
<dependency id="NETStandard.Library" version="1.6.1" />
43+
<dependency id="System.Dynamic.Runtime" version="4.3.0" />
44+
<dependency id="System.Reflection.TypeExtensions" version="4.7.0" exclude="Compile" />
45+
</group>
46+
<group targetFramework=".NETStandard2.0" />
47+
<group targetFramework=".NETPortable0.0-Profile259" />
48+
<group targetFramework="UAP10.0.16299" />
49+
<group targetFramework="Windows8.0" />
50+
<group targetFramework="WindowsPhone8.0" />
51+
<group targetFramework="WindowsPhoneApp8.1" />
52+
<group targetFramework="Xamarin.iOS1.0" />
53+
<group targetFramework="Xamarin.Mac2.0" />
54+
<group targetFramework="Xamarin.TVOS1.0" />
55+
<group targetFramework="Xamarin.WatchOS1.0" />
56+
</dependencies>
57+
<frameworkAssemblies>
58+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="MonoAndroid1.0" />
59+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="MonoTouch1.0" />
60+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework=".NETFramework4.5" />
61+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="Xamarin.iOS1.0" />
62+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="Xamarin.Mac2.0" />
63+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="Xamarin.TVOS1.0" />
64+
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework="Xamarin.WatchOS1.0" />
65+
</frameworkAssemblies>
66+
</metadata>
67+
</package>

src/referencePackages/src/microsoft.csharp/4.7.0/ref/net45/_._

Whitespace-only changes.

src/referencePackages/src/microsoft.csharp/4.7.0/ref/netcoreapp2.0/_._

Whitespace-only changes.

0 commit comments

Comments
 (0)