|
| 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 | +} |
0 commit comments