Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C#: Regenerate Microsoft.NetCore.App stubs
Browse files Browse the repository at this point in the history
hvitved committed Sep 5, 2023
1 parent 2c9d261 commit ddb3f95
Showing 163 changed files with 28,599 additions and 32,993 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file contains auto-generated code.
// Generated from `Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.

namespace Microsoft
{
namespace CSharp
@@ -21,55 +20,49 @@ public static class Binder
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;
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;
}

public class CSharpArgumentInfo
public sealed class CSharpArgumentInfo
{
public static Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo Create(Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags flags, string name) => throw null;
}

[System.Flags]
public enum CSharpArgumentInfoFlags : int
public enum CSharpArgumentInfoFlags
{
None = 0,
UseCompileTimeType = 1,
Constant = 2,
IsOut = 16,
NamedArgument = 4,
IsRef = 8,
IsOut = 16,
IsStaticType = 32,
NamedArgument = 4,
None = 0,
UseCompileTimeType = 1,
}

[System.Flags]
public enum CSharpBinderFlags : int
public enum CSharpBinderFlags
{
BinaryOperationLogical = 8,
None = 0,
CheckedContext = 1,
ConvertArrayIndex = 32,
ConvertExplicit = 16,
InvokeSimpleName = 2,
InvokeSpecialName = 4,
None = 0,
ResultDiscarded = 256,
BinaryOperationLogical = 8,
ConvertExplicit = 16,
ConvertArrayIndex = 32,
ResultIndexed = 64,
ValueFromCompoundAssignment = 128,
ResultDiscarded = 256,
}

public class RuntimeBinderException : System.Exception
{
public RuntimeBinderException() => throw null;
protected RuntimeBinderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public RuntimeBinderException(string message) => throw null;
public RuntimeBinderException(string message, System.Exception innerException) => throw null;
}

public class RuntimeBinderInternalCompilerException : System.Exception
{
public RuntimeBinderInternalCompilerException() => throw null;
protected RuntimeBinderInternalCompilerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public RuntimeBinderInternalCompilerException(string message) => throw null;
public RuntimeBinderInternalCompilerException(string message, System.Exception innerException) => throw null;
}

}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This file contains auto-generated code.
// Generated from `Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
// This file contains auto-generated code.
// Generated from `Microsoft.Win32.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.

namespace System
{
namespace ComponentModel
{
public class Win32Exception : System.Runtime.InteropServices.ExternalException, System.Runtime.Serialization.ISerializable
{
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public int NativeErrorCode { get => throw null; }
public override string ToString() => throw null;
public Win32Exception() => throw null;
protected Win32Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public Win32Exception(int error) => throw null;
public Win32Exception(int error, string message) => throw null;
protected Win32Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public Win32Exception(string message) => throw null;
public Win32Exception(string message, System.Exception innerException) => throw null;
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
public override string ToString() => throw null;
public int NativeErrorCode { get => throw null; }
}

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file contains auto-generated code.
// Generated from `Microsoft.Win32.Registry, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.

namespace Microsoft
{
namespace Win32
@@ -10,25 +9,23 @@ public static class Registry
public static Microsoft.Win32.RegistryKey ClassesRoot;
public static Microsoft.Win32.RegistryKey CurrentConfig;
public static Microsoft.Win32.RegistryKey CurrentUser;
public static object GetValue(string keyName, string valueName, object defaultValue) => throw null;
public static Microsoft.Win32.RegistryKey LocalMachine;
public static Microsoft.Win32.RegistryKey PerformanceData;
public static Microsoft.Win32.RegistryKey Users;
public static object GetValue(string keyName, string valueName, object defaultValue) => throw null;
public static void SetValue(string keyName, string valueName, object value) => throw null;
public static void SetValue(string keyName, string valueName, object value, Microsoft.Win32.RegistryValueKind valueKind) => throw null;
public static Microsoft.Win32.RegistryKey Users;
}

public enum RegistryHive : int
public enum RegistryHive
{
ClassesRoot = -2147483648,
CurrentConfig = -2147483643,
CurrentUser = -2147483647,
LocalMachine = -2147483646,
PerformanceData = -2147483644,
Users = -2147483645,
PerformanceData = -2147483644,
CurrentConfig = -2147483643,
}

public class RegistryKey : System.MarshalByRefObject, System.IDisposable
public sealed class RegistryKey : System.MarshalByRefObject, System.IDisposable
{
public void Close() => throw null;
public Microsoft.Win32.RegistryKey CreateSubKey(string subkey) => throw null;
@@ -56,74 +53,67 @@ public class RegistryKey : System.MarshalByRefObject, System.IDisposable
public object GetValue(string name, object defaultValue, Microsoft.Win32.RegistryValueOptions options) => throw null;
public Microsoft.Win32.RegistryValueKind GetValueKind(string name) => throw null;
public string[] GetValueNames() => throw null;
public Microsoft.Win32.SafeHandles.SafeRegistryHandle Handle { get => throw null; }
public string Name { get => throw null; }
public static Microsoft.Win32.RegistryKey OpenBaseKey(Microsoft.Win32.RegistryHive hKey, Microsoft.Win32.RegistryView view) => throw null;
public static Microsoft.Win32.RegistryKey OpenRemoteBaseKey(Microsoft.Win32.RegistryHive hKey, string machineName) => throw null;
public static Microsoft.Win32.RegistryKey OpenRemoteBaseKey(Microsoft.Win32.RegistryHive hKey, string machineName, Microsoft.Win32.RegistryView view) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, System.Security.AccessControl.RegistryRights rights) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name, System.Security.AccessControl.RegistryRights rights) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name, bool writable) => throw null;
public Microsoft.Win32.RegistryKey OpenSubKey(string name, System.Security.AccessControl.RegistryRights rights) => throw null;
public void SetAccessControl(System.Security.AccessControl.RegistrySecurity registrySecurity) => throw null;
public void SetValue(string name, object value) => throw null;
public void SetValue(string name, object value, Microsoft.Win32.RegistryValueKind valueKind) => throw null;
public int SubKeyCount { get => throw null; }
public override string ToString() => throw null;
public Microsoft.Win32.SafeHandles.SafeRegistryHandle Handle { get => throw null; }
public string Name { get => throw null; }
public int SubKeyCount { get => throw null; }
public int ValueCount { get => throw null; }
public Microsoft.Win32.RegistryView View { get => throw null; }
}

public enum RegistryKeyPermissionCheck : int
public enum RegistryKeyPermissionCheck
{
Default = 0,
ReadSubTree = 1,
ReadWriteSubTree = 2,
}

[System.Flags]
public enum RegistryOptions : int
public enum RegistryOptions
{
None = 0,
Volatile = 1,
}

public enum RegistryValueKind : int
public enum RegistryValueKind
{
None = -1,
Unknown = 0,
String = 1,
ExpandString = 2,
Binary = 3,
DWord = 4,
ExpandString = 2,
MultiString = 7,
None = -1,
QWord = 11,
String = 1,
Unknown = 0,
}

[System.Flags]
public enum RegistryValueOptions : int
public enum RegistryValueOptions
{
DoNotExpandEnvironmentNames = 1,
None = 0,
DoNotExpandEnvironmentNames = 1,
}

public enum RegistryView : int
public enum RegistryView
{
Default = 0,
Registry32 = 512,
Registry64 = 256,
Registry32 = 512,
}

namespace SafeHandles
{
public class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
public sealed class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
{
protected override bool ReleaseHandle() => throw null;
public SafeRegistryHandle() : base(default(bool)) => throw null;
public SafeRegistryHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null;
public SafeRegistryHandle(nint preexistingHandle, bool ownsHandle) : base(default(bool)) => throw null;
protected override bool ReleaseHandle() => throw null;
}

}
}
}
@@ -133,51 +123,45 @@ namespace Security
{
namespace AccessControl
{
public class RegistryAccessRule : System.Security.AccessControl.AccessRule
public sealed class RegistryAccessRule : System.Security.AccessControl.AccessRule
{
public RegistryAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null;
public RegistryAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null;
public RegistryAccessRule(string identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null;
public RegistryAccessRule(string identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AccessControlType)) => throw null;
public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; }
}

public class RegistryAuditRule : System.Security.AccessControl.AuditRule
public sealed class RegistryAuditRule : System.Security.AccessControl.AuditRule
{
public RegistryAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null;
public RegistryAuditRule(string identity, System.Security.AccessControl.RegistryRights registryRights, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags) : base(default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) => throw null;
public System.Security.AccessControl.RegistryRights RegistryRights { get => throw null; }
}

[System.Flags]
public enum RegistryRights : int
public enum RegistryRights
{
ChangePermissions = 262144,
CreateLink = 32,
QueryValues = 1,
SetValue = 2,
CreateSubKey = 4,
Delete = 65536,
EnumerateSubKeys = 8,
ExecuteKey = 131097,
FullControl = 983103,
Notify = 16,
QueryValues = 1,
ReadKey = 131097,
CreateLink = 32,
Delete = 65536,
ReadPermissions = 131072,
SetValue = 2,
TakeOwnership = 524288,
WriteKey = 131078,
ExecuteKey = 131097,
ReadKey = 131097,
ChangePermissions = 262144,
TakeOwnership = 524288,
FullControl = 983103,
}

public class RegistrySecurity : System.Security.AccessControl.NativeObjectSecurity
public sealed class RegistrySecurity : System.Security.AccessControl.NativeObjectSecurity
{
public override System.Type AccessRightType { get => throw null; }
public RegistrySecurity() : base(default(bool), default(System.Security.AccessControl.ResourceType)) => throw null;
public override System.Security.AccessControl.AccessRule AccessRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type) => throw null;
public override System.Type AccessRuleType { get => throw null; }
public void AddAccessRule(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
public void AddAuditRule(System.Security.AccessControl.RegistryAuditRule rule) => throw null;
public override System.Security.AccessControl.AuditRule AuditRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags) => throw null;
public override System.Type AuditRuleType { get => throw null; }
public RegistrySecurity() : base(default(bool), default(System.Security.AccessControl.ResourceType)) => throw null;
public bool RemoveAccessRule(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
public void RemoveAccessRuleAll(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
public void RemoveAccessRuleSpecific(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
@@ -187,8 +171,10 @@ public class RegistrySecurity : System.Security.AccessControl.NativeObjectSecuri
public void ResetAccessRule(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
public void SetAccessRule(System.Security.AccessControl.RegistryAccessRule rule) => throw null;
public void SetAuditRule(System.Security.AccessControl.RegistryAuditRule rule) => throw null;
public override System.Type AccessRightType { get => throw null; }
public override System.Type AccessRuleType { get => throw null; }
public override System.Type AuditRuleType { get => throw null; }
}

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This file contains auto-generated code.
// Generated from `System.AppContext, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This file contains auto-generated code.
// Generated from `System.Buffers, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`.
Loading

0 comments on commit ddb3f95

Please sign in to comment.