diff --git a/eng/Build.props b/eng/Build.props index 36b05abfa..201168eb3 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -26,6 +26,16 @@ + + + + + + + + + + diff --git a/src/referencePackages/Directory.Build.targets b/src/referencePackages/Directory.Build.targets index f3a329ec0..94669bd12 100644 --- a/src/referencePackages/Directory.Build.targets +++ b/src/referencePackages/Directory.Build.targets @@ -112,16 +112,15 @@ AfterTargets="CopyFilesToOutputDirectory"> - - + - + diff --git a/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.0/System.Collections.cs b/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.0/System.Collections.cs index 836699354..093410fb4 100644 --- a/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.0/System.Collections.cs +++ b/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.0/System.Collections.cs @@ -104,7 +104,7 @@ public Dictionary(int capacity) { } public TValue this[TKey key] { get { throw null; } set { } } - public Dictionary.KeyCollection Keys { get { throw null; } } + public KeyCollection Keys { get { throw null; } } bool ICollection>.IsReadOnly { get { throw null; } } @@ -130,7 +130,7 @@ public Dictionary(int capacity) { } ICollection IDictionary.Values { get { throw null; } } - public Dictionary.ValueCollection Values { get { throw null; } } + public ValueCollection Values { get { throw null; } } public void Add(TKey key, TValue value) { } @@ -140,7 +140,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public Dictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(TKey key) { throw null; } @@ -201,7 +201,7 @@ public KeyCollection(Dictionary dictionary) { } public void CopyTo(TKey[] array, int index) { } - public Dictionary.KeyCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TKey item) { } @@ -245,7 +245,7 @@ public ValueCollection(Dictionary dictionary) { } public void CopyTo(TValue[] array, int index) { } - public Dictionary.ValueCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TValue item) { } @@ -317,7 +317,7 @@ public void CopyTo(T[] array) { } public void ExceptWith(IEnumerable other) { } - public HashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public void IntersectWith(IEnumerable other) { } @@ -420,7 +420,7 @@ public void CopyTo(T[] array, int index) { } public LinkedListNode FindLast(T value) { throw null; } - public LinkedList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(T value) { throw null; } @@ -518,7 +518,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public int FindLastIndex(Predicate match) { throw null; } - public List.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public List GetRange(int index, int count) { throw null; } @@ -618,7 +618,7 @@ public void CopyTo(T[] array, int arrayIndex) { } public void Enqueue(T item) { } - public Queue.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -662,7 +662,7 @@ public SortedDictionary(IDictionary dictionary) { } public TValue this[TKey key] { get { throw null; } set { } } - public SortedDictionary.KeyCollection Keys { get { throw null; } } + public KeyCollection Keys { get { throw null; } } bool ICollection>.IsReadOnly { get { throw null; } } @@ -684,7 +684,7 @@ public SortedDictionary(IDictionary dictionary) { } ICollection IDictionary.Values { get { throw null; } } - public SortedDictionary.ValueCollection Values { get { throw null; } } + public ValueCollection Values { get { throw null; } } public void Add(TKey key, TValue value) { } @@ -696,7 +696,7 @@ public void Clear() { } public void CopyTo(KeyValuePair[] array, int index) { } - public SortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(TKey key) { throw null; } @@ -755,7 +755,7 @@ public KeyCollection(SortedDictionary dictionary) { } public void CopyTo(TKey[] array, int index) { } - public SortedDictionary.KeyCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TKey item) { } @@ -799,7 +799,7 @@ public ValueCollection(SortedDictionary dictionary) { } public void CopyTo(TValue[] array, int index) { } - public SortedDictionary.ValueCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TValue item) { } @@ -868,7 +868,7 @@ public void CopyTo(T[] array) { } public void ExceptWith(IEnumerable other) { } - public SortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public virtual SortedSet GetViewBetween(T lowerValue, T upperValue) { throw null; } @@ -938,7 +938,7 @@ public void Clear() { } public void CopyTo(T[] array, int arrayIndex) { } - public Stack.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } diff --git a/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.3/System.Collections.cs b/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.3/System.Collections.cs index 8393ef7f5..5d0085724 100644 --- a/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.3/System.Collections.cs +++ b/src/referencePackages/src/system.collections/4.3.0/ref/netstandard1.3/System.Collections.cs @@ -107,7 +107,7 @@ public Dictionary(int capacity) { } public TValue this[TKey key] { get { throw null; } set { } } - public Dictionary.KeyCollection Keys { get { throw null; } } + public KeyCollection Keys { get { throw null; } } bool ICollection>.IsReadOnly { get { throw null; } } @@ -133,7 +133,7 @@ public Dictionary(int capacity) { } ICollection IDictionary.Values { get { throw null; } } - public Dictionary.ValueCollection Values { get { throw null; } } + public ValueCollection Values { get { throw null; } } public void Add(TKey key, TValue value) { } @@ -143,7 +143,7 @@ public void Clear() { } public bool ContainsValue(TValue value) { throw null; } - public Dictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(TKey key) { throw null; } @@ -204,7 +204,7 @@ public KeyCollection(Dictionary dictionary) { } public void CopyTo(TKey[] array, int index) { } - public Dictionary.KeyCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TKey item) { } @@ -248,7 +248,7 @@ public ValueCollection(Dictionary dictionary) { } public void CopyTo(TValue[] array, int index) { } - public Dictionary.ValueCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TValue item) { } @@ -320,7 +320,7 @@ public void CopyTo(T[] array) { } public void ExceptWith(IEnumerable other) { } - public HashSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public void IntersectWith(IEnumerable other) { } @@ -423,7 +423,7 @@ public void CopyTo(T[] array, int index) { } public LinkedListNode FindLast(T value) { throw null; } - public LinkedList.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(T value) { throw null; } @@ -525,7 +525,7 @@ public void CopyTo(int index, T[] array, int arrayIndex, int count) { } public void ForEach(Action action) { } - public List.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public List GetRange(int index, int count) { throw null; } @@ -625,7 +625,7 @@ public void CopyTo(T[] array, int arrayIndex) { } public void Enqueue(T item) { } - public Queue.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -669,7 +669,7 @@ public SortedDictionary(IDictionary dictionary) { } public TValue this[TKey key] { get { throw null; } set { } } - public SortedDictionary.KeyCollection Keys { get { throw null; } } + public KeyCollection Keys { get { throw null; } } bool ICollection>.IsReadOnly { get { throw null; } } @@ -695,7 +695,7 @@ public SortedDictionary(IDictionary dictionary) { } ICollection IDictionary.Values { get { throw null; } } - public SortedDictionary.ValueCollection Values { get { throw null; } } + public ValueCollection Values { get { throw null; } } public void Add(TKey key, TValue value) { } @@ -707,7 +707,7 @@ public void Clear() { } public void CopyTo(KeyValuePair[] array, int index) { } - public SortedDictionary.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public bool Remove(TKey key) { throw null; } @@ -766,7 +766,7 @@ public KeyCollection(SortedDictionary dictionary) { } public void CopyTo(TKey[] array, int index) { } - public SortedDictionary.KeyCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TKey item) { } @@ -810,7 +810,7 @@ public ValueCollection(SortedDictionary dictionary) { } public void CopyTo(TValue[] array, int index) { } - public SortedDictionary.ValueCollection.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } void ICollection.Add(TValue item) { } @@ -974,7 +974,7 @@ public void CopyTo(T[] array) { } public void ExceptWith(IEnumerable other) { } - public SortedSet.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public virtual SortedSet GetViewBetween(T lowerValue, T upperValue) { throw null; } @@ -1044,7 +1044,7 @@ public void Clear() { } public void CopyTo(T[] array, int arrayIndex) { } - public Stack.Enumerator GetEnumerator() { throw null; } + public Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/System.Composition.AttributedModel.8.0.0.csproj b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/System.Composition.AttributedModel.8.0.0.csproj new file mode 100644 index 000000000..64a8e78f9 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/System.Composition.AttributedModel.8.0.0.csproj @@ -0,0 +1,8 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Composition.AttributedModel + + + diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net6.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net6.0/System.Composition.AttributedModel.cs new file mode 100644 index 000000000..727e6a42c --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net6.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides common attributes used by System.Composition types.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.ExportAttribute\r\nSystem.Composition.ImportAttribute\r\nSystem.Composition.Convention.AttributedModelProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net7.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net7.0/System.Composition.AttributedModel.cs new file mode 100644 index 000000000..aa52fe08b --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net7.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides common attributes used by System.Composition types.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.ExportAttribute\r\nSystem.Composition.ImportAttribute\r\nSystem.Composition.Convention.AttributedModelProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net8.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net8.0/System.Composition.AttributedModel.cs new file mode 100644 index 000000000..ce7b8a802 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/net8.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides common attributes used by System.Composition types.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.ExportAttribute\r\nSystem.Composition.ImportAttribute\r\nSystem.Composition.Convention.AttributedModelProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs new file mode 100644 index 000000000..2c4a3d195 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides common attributes used by System.Composition types.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.ExportAttribute\r\nSystem.Composition.ImportAttribute\r\nSystem.Composition.Convention.AttributedModelProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/8.0.0/system.composition.attributedmodel.nuspec b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/system.composition.attributedmodel.nuspec new file mode 100644 index 000000000..ebc742ad2 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/8.0.0/system.composition.attributedmodel.nuspec @@ -0,0 +1,27 @@ + + + + System.Composition.AttributedModel + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides common attributes used by System.Composition types. + +Commonly Used Types: +System.Composition.ExportAttribute +System.Composition.ImportAttribute +System.Composition.Convention.AttributedModelProvider + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/System.Composition.Convention.8.0.0.csproj b/src/referencePackages/src/system.composition.convention/8.0.0/System.Composition.Convention.8.0.0.csproj new file mode 100644 index 000000000..d1a70999f --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/System.Composition.Convention.8.0.0.csproj @@ -0,0 +1,24 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Composition.Convention + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/lib/net6.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net6.0/System.Composition.Convention.cs new file mode 100644 index 000000000..865191d97 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net6.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework with a convention-based configuration model.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Convention.ConventionBuilder\r\nSystem.Composition.Convention.ExportConventionBuilder\r\nSystem.Composition.Convention.ImportConventionBuilder\r\nSystem.Composition.Convention.PartConventionBuilder\r\nSystem.Composition.Convention.ParameterImportConventionBuilder")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/lib/net7.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net7.0/System.Composition.Convention.cs new file mode 100644 index 000000000..70cff703d --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net7.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework with a convention-based configuration model.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Convention.ConventionBuilder\r\nSystem.Composition.Convention.ExportConventionBuilder\r\nSystem.Composition.Convention.ImportConventionBuilder\r\nSystem.Composition.Convention.PartConventionBuilder\r\nSystem.Composition.Convention.ParameterImportConventionBuilder")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/lib/net8.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net8.0/System.Composition.Convention.cs new file mode 100644 index 000000000..c96c7c078 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/lib/net8.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework with a convention-based configuration model.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Convention.ConventionBuilder\r\nSystem.Composition.Convention.ExportConventionBuilder\r\nSystem.Composition.Convention.ImportConventionBuilder\r\nSystem.Composition.Convention.PartConventionBuilder\r\nSystem.Composition.Convention.ParameterImportConventionBuilder")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/lib/netstandard2.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/8.0.0/lib/netstandard2.0/System.Composition.Convention.cs new file mode 100644 index 000000000..10d6bf013 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/lib/netstandard2.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework with a convention-based configuration model.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Convention.ConventionBuilder\r\nSystem.Composition.Convention.ExportConventionBuilder\r\nSystem.Composition.Convention.ImportConventionBuilder\r\nSystem.Composition.Convention.PartConventionBuilder\r\nSystem.Composition.Convention.ParameterImportConventionBuilder")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/8.0.0/system.composition.convention.nuspec b/src/referencePackages/src/system.composition.convention/8.0.0/system.composition.convention.nuspec new file mode 100644 index 000000000..e1481057f --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/8.0.0/system.composition.convention.nuspec @@ -0,0 +1,37 @@ + + + + System.Composition.Convention + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types that support using Managed Extensibility Framework with a convention-based configuration model. + +Commonly Used Types: +System.Composition.Convention.ConventionBuilder +System.Composition.Convention.ExportConventionBuilder +System.Composition.Convention.ImportConventionBuilder +System.Composition.Convention.PartConventionBuilder +System.Composition.Convention.ParameterImportConventionBuilder + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/System.Composition.Hosting.8.0.0.csproj b/src/referencePackages/src/system.composition.hosting/8.0.0/System.Composition.Hosting.8.0.0.csproj new file mode 100644 index 000000000..e20c971ed --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/System.Composition.Hosting.8.0.0.csproj @@ -0,0 +1,24 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Composition.Hosting + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net6.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net6.0/System.Composition.Hosting.cs new file mode 100644 index 000000000..0ef44e08b --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net6.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework types that are useful to developers of extensible applications, or hosts.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Hosting.CompositionHost")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net7.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net7.0/System.Composition.Hosting.cs new file mode 100644 index 000000000..7b9a63681 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net7.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework types that are useful to developers of extensible applications, or hosts.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Hosting.CompositionHost")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net8.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net8.0/System.Composition.Hosting.cs new file mode 100644 index 000000000..19dc4fd68 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/net8.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework types that are useful to developers of extensible applications, or hosts.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Hosting.CompositionHost")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/lib/netstandard2.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/netstandard2.0/System.Composition.Hosting.cs new file mode 100644 index 000000000..b893ae3f6 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/lib/netstandard2.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework types that are useful to developers of extensible applications, or hosts.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.Hosting.CompositionHost")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/8.0.0/system.composition.hosting.nuspec b/src/referencePackages/src/system.composition.hosting/8.0.0/system.composition.hosting.nuspec new file mode 100644 index 000000000..2805dc7ee --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/8.0.0/system.composition.hosting.nuspec @@ -0,0 +1,33 @@ + + + + System.Composition.Hosting + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides Managed Extensibility Framework types that are useful to developers of extensible applications, or hosts. + +Commonly Used Types: +System.Composition.Hosting.CompositionHost + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/System.Composition.Runtime.8.0.0.csproj b/src/referencePackages/src/system.composition.runtime/8.0.0/System.Composition.Runtime.8.0.0.csproj new file mode 100644 index 000000000..63372dbb5 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/System.Composition.Runtime.8.0.0.csproj @@ -0,0 +1,8 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Composition.Runtime + + + diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net6.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net6.0/System.Composition.Runtime.cs new file mode 100644 index 000000000..6e7d90a04 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net6.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContext")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net7.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net7.0/System.Composition.Runtime.cs new file mode 100644 index 000000000..e4ac9ec28 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net7.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContext")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net8.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net8.0/System.Composition.Runtime.cs new file mode 100644 index 000000000..052a0f620 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/net8.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContext")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/lib/netstandard2.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/netstandard2.0/System.Composition.Runtime.cs new file mode 100644 index 000000000..1bce924eb --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/lib/netstandard2.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContext")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/8.0.0/system.composition.runtime.nuspec b/src/referencePackages/src/system.composition.runtime/8.0.0/system.composition.runtime.nuspec new file mode 100644 index 000000000..bbe84e834 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/8.0.0/system.composition.runtime.nuspec @@ -0,0 +1,25 @@ + + + + System.Composition.Runtime + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Contains runtime components of the Managed Extensibility Framework. + +Commonly Used Types: +System.Composition.CompositionContext + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/System.Composition.TypedParts.8.0.0.csproj b/src/referencePackages/src/system.composition.typedparts/8.0.0/System.Composition.TypedParts.8.0.0.csproj new file mode 100644 index 000000000..3ef5786fc --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/System.Composition.TypedParts.8.0.0.csproj @@ -0,0 +1,32 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Composition.TypedParts + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net6.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net6.0/System.Composition.TypedParts.cs new file mode 100644 index 000000000..eaa79b73f --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net6.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides some extension methods for the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContextExtensions\r\nSystem.Composition.Hosting.ContainerConfiguration")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net7.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net7.0/System.Composition.TypedParts.cs new file mode 100644 index 000000000..214484fa5 --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net7.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides some extension methods for the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContextExtensions\r\nSystem.Composition.Hosting.ContainerConfiguration")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net8.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net8.0/System.Composition.TypedParts.cs new file mode 100644 index 000000000..e488c1159 --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/net8.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides some extension methods for the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContextExtensions\r\nSystem.Composition.Hosting.ContainerConfiguration")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs new file mode 100644 index 000000000..e18f9d23a --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides some extension methods for the Managed Extensibility Framework.\r\n\r\nCommonly Used Types:\r\nSystem.Composition.CompositionContextExtensions\r\nSystem.Composition.Hosting.ContainerConfiguration")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/8.0.0/system.composition.typedparts.nuspec b/src/referencePackages/src/system.composition.typedparts/8.0.0/system.composition.typedparts.nuspec new file mode 100644 index 000000000..d40574974 --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/8.0.0/system.composition.typedparts.nuspec @@ -0,0 +1,42 @@ + + + + System.Composition.TypedParts + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides some extension methods for the Managed Extensibility Framework. + +Commonly Used Types: +System.Composition.CompositionContextExtensions +System.Composition.Hosting.ContainerConfiguration + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/System.IO.Pipelines.8.0.0.csproj b/src/referencePackages/src/system.io.pipelines/8.0.0/System.IO.Pipelines.8.0.0.csproj new file mode 100644 index 000000000..111cc9933 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/System.IO.Pipelines.8.0.0.csproj @@ -0,0 +1,15 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.IO.Pipelines + Open + + + + + + + + + diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net6.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net6.0/System.IO.Pipelines.cs new file mode 100644 index 000000000..ef5ef338c --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net6.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net7.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net7.0/System.IO.Pipelines.cs new file mode 100644 index 000000000..c690126ce --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net7.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net8.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net8.0/System.IO.Pipelines.cs new file mode 100644 index 000000000..4eb4ad125 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/net8.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/lib/netstandard2.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/netstandard2.0/System.IO.Pipelines.cs new file mode 100644 index 000000000..20e9e96e8 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/lib/netstandard2.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/8.0.0/system.io.pipelines.nuspec b/src/referencePackages/src/system.io.pipelines/8.0.0/system.io.pipelines.nuspec new file mode 100644 index 000000000..758a9a724 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/8.0.0/system.io.pipelines.nuspec @@ -0,0 +1,31 @@ + + + + System.IO.Pipelines + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Single producer single consumer byte buffer management. + +Commonly Used Types: +System.IO.Pipelines.Pipe +System.IO.Pipelines.PipeWriter +System.IO.Pipelines.PipeReader + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.memory/4.5.5/lib/netstandard1.1/System.Memory.cs b/src/referencePackages/src/system.memory/4.5.5/lib/netstandard1.1/System.Memory.cs index 61956f693..487cb4cc4 100644 --- a/src/referencePackages/src/system.memory/4.5.5/lib/netstandard1.1/System.Memory.cs +++ b/src/referencePackages/src/system.memory/4.5.5/lib/netstandard1.1/System.Memory.cs @@ -327,7 +327,7 @@ public readonly void CopyTo(Span destination) { } [Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")] public override readonly bool Equals(object obj) { throw null; } - public readonly ReadOnlySpan.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -408,7 +408,7 @@ public readonly void CopyTo(Span destination) { } public readonly void Fill(T value) { } - public readonly Span.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on Span will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -562,7 +562,7 @@ public ReadOnlySequence(ReadOnlyMemory memory) { } public SequencePosition Start { get { throw null; } } - public readonly ReadOnlySequence.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } diff --git a/src/referencePackages/src/system.memory/4.5.5/lib/netstandard2.0/System.Memory.cs b/src/referencePackages/src/system.memory/4.5.5/lib/netstandard2.0/System.Memory.cs index 61956f693..487cb4cc4 100644 --- a/src/referencePackages/src/system.memory/4.5.5/lib/netstandard2.0/System.Memory.cs +++ b/src/referencePackages/src/system.memory/4.5.5/lib/netstandard2.0/System.Memory.cs @@ -327,7 +327,7 @@ public readonly void CopyTo(Span destination) { } [Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")] public override readonly bool Equals(object obj) { throw null; } - public readonly ReadOnlySpan.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -408,7 +408,7 @@ public readonly void CopyTo(Span destination) { } public readonly void Fill(T value) { } - public readonly Span.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } [Obsolete("GetHashCode() on Span will always throw an exception.")] public override readonly int GetHashCode() { throw null; } @@ -562,7 +562,7 @@ public ReadOnlySequence(ReadOnlyMemory memory) { } public SequencePosition Start { get { throw null; } } - public readonly ReadOnlySequence.Enumerator GetEnumerator() { throw null; } + public readonly Enumerator GetEnumerator() { throw null; } public readonly SequencePosition GetPosition(long offset, SequencePosition origin) { throw null; } diff --git a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.0/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.0/System.Runtime.cs index c933960c3..f5e205052 100644 --- a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.0/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.0/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: System.Runtime.CompilerServices.ReferenceAssembly] [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] @@ -4306,4 +4303,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.2/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.2/System.Runtime.cs index 77dace6ce..97ede2a44 100644 --- a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.2/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.2/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("BuildLabel", "130703.2")] [assembly: AssemblyMetadata("BuildBranch", "Release\\ReferenceAssemblies\\1.0")] [assembly: AssemblyProduct("Microsoft® .NET Framework")] @@ -4318,4 +4315,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.3/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.3/System.Runtime.cs index bd8c149e1..b307e5799 100644 --- a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.3/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.3/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -5168,4 +5165,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.5/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.5/System.Runtime.cs index 67b19fcad..3d9f1e171 100644 --- a/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.5/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.1.0/ref/netstandard1.5/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -5174,4 +5171,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.0/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.0/System.Runtime.cs index c933960c3..2fc78e4cc 100644 --- a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.0/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.0/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: System.Runtime.CompilerServices.ReferenceAssembly] [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] diff --git a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.2/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.2/System.Runtime.cs index 77dace6ce..78483a1bb 100644 --- a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.2/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.2/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("BuildLabel", "130703.2")] [assembly: AssemblyMetadata("BuildBranch", "Release\\ReferenceAssemblies\\1.0")] [assembly: AssemblyProduct("Microsoft® .NET Framework")] diff --git a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.3/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.3/System.Runtime.cs index bd8c149e1..ece0a7614 100644 --- a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.3/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.3/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -4676,7 +4673,7 @@ public void Add(TKey key, TValue value) { } public TValue GetOrCreateValue(TKey key) { throw null; } - public TValue GetValue(TKey key, ConditionalWeakTable.CreateValueCallback createValueCallback) { throw null; } + public TValue GetValue(TKey key, CreateValueCallback createValueCallback) { throw null; } public Boolean Remove(TKey key) { throw null; } diff --git a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.cs index 67b19fcad..aac42e328 100644 --- a/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -4682,7 +4679,7 @@ public void Add(TKey key, TValue value) { } public TValue GetOrCreateValue(TKey key) { throw null; } - public TValue GetValue(TKey key, ConditionalWeakTable.CreateValueCallback createValueCallback) { throw null; } + public TValue GetValue(TKey key, CreateValueCallback createValueCallback) { throw null; } public Boolean Remove(TKey key) { throw null; } diff --git a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.0/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.0/System.Runtime.cs index c933960c3..f5e205052 100644 --- a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.0/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.0/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: System.Runtime.CompilerServices.ReferenceAssembly] [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] @@ -4306,4 +4303,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.2/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.2/System.Runtime.cs index 77dace6ce..97ede2a44 100644 --- a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.2/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.2/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("BuildLabel", "130703.2")] [assembly: AssemblyMetadata("BuildBranch", "Release\\ReferenceAssemblies\\1.0")] [assembly: AssemblyProduct("Microsoft® .NET Framework")] @@ -4318,4 +4315,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.3/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.3/System.Runtime.cs index bd8c149e1..b307e5799 100644 --- a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.3/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.3/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -5168,4 +5165,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.5/System.Runtime.cs b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.5/System.Runtime.cs index 67b19fcad..3d9f1e171 100644 --- a/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.5/System.Runtime.cs +++ b/src/referencePackages/src/system.runtime/4.3.1/ref/netstandard1.5/System.Runtime.cs @@ -4,9 +4,6 @@ // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; [assembly: CompilationRelaxations(8)] [assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] @@ -5174,4 +5171,4 @@ protected virtual void Dispose(Boolean explicitDisposing) { } public virtual Boolean WaitOne(TimeSpan timeout) { throw null; } } -} \ No newline at end of file +} diff --git a/src/referencePackages/src/system.runtime/Directory.Build.props b/src/referencePackages/src/system.runtime/Directory.Build.props index 3a1cf2877..1befcf3c1 100644 --- a/src/referencePackages/src/system.runtime/Directory.Build.props +++ b/src/referencePackages/src/system.runtime/Directory.Build.props @@ -6,4 +6,10 @@ System.Runtime + + + + + + diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/System.Text.Encoding.CodePages.8.0.0.csproj b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/System.Text.Encoding.CodePages.8.0.0.csproj new file mode 100644 index 000000000..f43721b69 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/System.Text.Encoding.CodePages.8.0.0.csproj @@ -0,0 +1,17 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0 + System.Text.Encoding.CodePages + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net6.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net6.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 000000000..d13164754 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net6.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + + public override Encoding? GetEncoding(string name) { throw null; } + + public override Collections.Generic.IEnumerable GetEncodings() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net7.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net7.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 000000000..52c397f31 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net7.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + + public override Encoding? GetEncoding(string name) { throw null; } + + public override Collections.Generic.IEnumerable GetEncodings() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 000000000..7aeab64a6 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/net8.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + + public override Encoding? GetEncoding(string name) { throw null; } + + public override Collections.Generic.IEnumerable GetEncodings() { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs new file mode 100644 index 000000000..9e8666855 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/lib/netstandard2.0/System.Text.Encoding.CodePages.cs @@ -0,0 +1,41 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Text.Encoding.CodePages")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312.\r\n\r\nCommonly Used Types:\r\nSystem.Text.CodePagesEncodingProvider")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Text.Encoding.CodePages")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Text +{ + public sealed partial class CodePagesEncodingProvider : EncodingProvider + { + internal CodePagesEncodingProvider() { } + + public static EncodingProvider Instance { get { throw null; } } + + public override Encoding? GetEncoding(int codepage) { throw null; } + + public override Encoding? GetEncoding(string name) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.text.encoding.codepages/8.0.0/system.text.encoding.codepages.nuspec b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/system.text.encoding.codepages.nuspec new file mode 100644 index 000000000..4dd81ca76 --- /dev/null +++ b/src/referencePackages/src/system.text.encoding.codepages/8.0.0/system.text.encoding.codepages.nuspec @@ -0,0 +1,30 @@ + + + + System.Text.Encoding.CodePages + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides support for code-page based encodings, including Windows-1252, Shift-JIS, and GB2312. + +Commonly Used Types: +System.Text.CodePagesEncodingProvider + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/System.Threading.Channels.8.0.0.csproj b/src/referencePackages/src/system.threading.channels/8.0.0/System.Threading.Channels.8.0.0.csproj new file mode 100644 index 000000000..7d9741717 --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/System.Threading.Channels.8.0.0.csproj @@ -0,0 +1,13 @@ + + + + net6.0;net7.0;net8.0;netstandard2.0;netstandard2.1 + System.Threading.Channels + Open + + + + + + + diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/lib/net6.0/System.Threading.Channels.cs b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net6.0/System.Threading.Channels.cs new file mode 100644 index 000000000..0d578acd8 --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net6.0/System.Threading.Channels.cs @@ -0,0 +1,132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Channels")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types for passing data between producers and consumers.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Channel\r\nSystem.Threading.Channel")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Channels")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Channels +{ + public enum BoundedChannelFullMode + { + Wait = 0, + DropNewest = 1, + DropOldest = 2, + DropWrite = 3 + } + + public sealed partial class BoundedChannelOptions : ChannelOptions + { + public BoundedChannelOptions(int capacity) { } + + public int Capacity { get { throw null; } set { } } + + public BoundedChannelFullMode FullMode { get { throw null; } set { } } + } + + public static partial class Channel + { + public static Channel CreateBounded(int capacity) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options, Action? itemDropped) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options) { throw null; } + + public static Channel CreateUnbounded() { throw null; } + + public static Channel CreateUnbounded(UnboundedChannelOptions options) { throw null; } + } + + public partial class ChannelClosedException : InvalidOperationException + { + public ChannelClosedException() { } + + public ChannelClosedException(Exception? innerException) { } + + protected ChannelClosedException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ChannelClosedException(string? message, Exception? innerException) { } + + public ChannelClosedException(string? message) { } + } + + public abstract partial class ChannelOptions + { + public bool AllowSynchronousContinuations { get { throw null; } set { } } + + public bool SingleReader { get { throw null; } set { } } + + public bool SingleWriter { get { throw null; } set { } } + } + + public abstract partial class ChannelReader + { + public virtual bool CanCount { get { throw null; } } + + public virtual bool CanPeek { get { throw null; } } + + public virtual Tasks.Task Completion { get { throw null; } } + + public virtual int Count { get { throw null; } } + + public virtual Collections.Generic.IAsyncEnumerable ReadAllAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual Tasks.ValueTask ReadAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual bool TryPeek(out T item) { throw null; } + + public abstract bool TryRead(out T item); + public abstract Tasks.ValueTask WaitToReadAsync(CancellationToken cancellationToken = default); + } + + public abstract partial class ChannelWriter + { + public void Complete(Exception? error = null) { } + + public virtual bool TryComplete(Exception? error = null) { throw null; } + + public abstract bool TryWrite(T item); + public abstract Tasks.ValueTask WaitToWriteAsync(CancellationToken cancellationToken = default); + public virtual Tasks.ValueTask WriteAsync(T item, CancellationToken cancellationToken = default) { throw null; } + } + + public abstract partial class Channel : Channel + { + } + + public abstract partial class Channel + { + public ChannelReader Reader { get { throw null; } protected set { } } + + public ChannelWriter Writer { get { throw null; } protected set { } } + + public static implicit operator ChannelReader(Channel channel) { throw null; } + + public static implicit operator ChannelWriter(Channel channel) { throw null; } + } + + public sealed partial class UnboundedChannelOptions : ChannelOptions + { + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/lib/net7.0/System.Threading.Channels.cs b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net7.0/System.Threading.Channels.cs new file mode 100644 index 000000000..57bf3b13e --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net7.0/System.Threading.Channels.cs @@ -0,0 +1,132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Channels")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types for passing data between producers and consumers.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Channel\r\nSystem.Threading.Channel")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Channels")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Channels +{ + public enum BoundedChannelFullMode + { + Wait = 0, + DropNewest = 1, + DropOldest = 2, + DropWrite = 3 + } + + public sealed partial class BoundedChannelOptions : ChannelOptions + { + public BoundedChannelOptions(int capacity) { } + + public int Capacity { get { throw null; } set { } } + + public BoundedChannelFullMode FullMode { get { throw null; } set { } } + } + + public static partial class Channel + { + public static Channel CreateBounded(int capacity) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options, Action? itemDropped) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options) { throw null; } + + public static Channel CreateUnbounded() { throw null; } + + public static Channel CreateUnbounded(UnboundedChannelOptions options) { throw null; } + } + + public partial class ChannelClosedException : InvalidOperationException + { + public ChannelClosedException() { } + + public ChannelClosedException(Exception? innerException) { } + + protected ChannelClosedException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ChannelClosedException(string? message, Exception? innerException) { } + + public ChannelClosedException(string? message) { } + } + + public abstract partial class ChannelOptions + { + public bool AllowSynchronousContinuations { get { throw null; } set { } } + + public bool SingleReader { get { throw null; } set { } } + + public bool SingleWriter { get { throw null; } set { } } + } + + public abstract partial class ChannelReader + { + public virtual bool CanCount { get { throw null; } } + + public virtual bool CanPeek { get { throw null; } } + + public virtual Tasks.Task Completion { get { throw null; } } + + public virtual int Count { get { throw null; } } + + public virtual Collections.Generic.IAsyncEnumerable ReadAllAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual Tasks.ValueTask ReadAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual bool TryPeek(out T item) { throw null; } + + public abstract bool TryRead(out T item); + public abstract Tasks.ValueTask WaitToReadAsync(CancellationToken cancellationToken = default); + } + + public abstract partial class ChannelWriter + { + public void Complete(Exception? error = null) { } + + public virtual bool TryComplete(Exception? error = null) { throw null; } + + public abstract bool TryWrite(T item); + public abstract Tasks.ValueTask WaitToWriteAsync(CancellationToken cancellationToken = default); + public virtual Tasks.ValueTask WriteAsync(T item, CancellationToken cancellationToken = default) { throw null; } + } + + public abstract partial class Channel : Channel + { + } + + public abstract partial class Channel + { + public ChannelReader Reader { get { throw null; } protected set { } } + + public ChannelWriter Writer { get { throw null; } protected set { } } + + public static implicit operator ChannelReader(Channel channel) { throw null; } + + public static implicit operator ChannelWriter(Channel channel) { throw null; } + } + + public sealed partial class UnboundedChannelOptions : ChannelOptions + { + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/lib/net8.0/System.Threading.Channels.cs b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net8.0/System.Threading.Channels.cs new file mode 100644 index 000000000..eeac2f8c0 --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/lib/net8.0/System.Threading.Channels.cs @@ -0,0 +1,132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Channels")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types for passing data between producers and consumers.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Channel\r\nSystem.Threading.Channel")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Channels")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Channels +{ + public enum BoundedChannelFullMode + { + Wait = 0, + DropNewest = 1, + DropOldest = 2, + DropWrite = 3 + } + + public sealed partial class BoundedChannelOptions : ChannelOptions + { + public BoundedChannelOptions(int capacity) { } + + public int Capacity { get { throw null; } set { } } + + public BoundedChannelFullMode FullMode { get { throw null; } set { } } + } + + public static partial class Channel + { + public static Channel CreateBounded(int capacity) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options, Action? itemDropped) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options) { throw null; } + + public static Channel CreateUnbounded() { throw null; } + + public static Channel CreateUnbounded(UnboundedChannelOptions options) { throw null; } + } + + public partial class ChannelClosedException : InvalidOperationException + { + public ChannelClosedException() { } + + public ChannelClosedException(Exception? innerException) { } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ChannelClosedException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ChannelClosedException(string? message, Exception? innerException) { } + + public ChannelClosedException(string? message) { } + } + + public abstract partial class ChannelOptions + { + public bool AllowSynchronousContinuations { get { throw null; } set { } } + + public bool SingleReader { get { throw null; } set { } } + + public bool SingleWriter { get { throw null; } set { } } + } + + public abstract partial class ChannelReader + { + public virtual bool CanCount { get { throw null; } } + + public virtual bool CanPeek { get { throw null; } } + + public virtual Tasks.Task Completion { get { throw null; } } + + public virtual int Count { get { throw null; } } + + public virtual Collections.Generic.IAsyncEnumerable ReadAllAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual Tasks.ValueTask ReadAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual bool TryPeek(out T item) { throw null; } + + public abstract bool TryRead(out T item); + public abstract Tasks.ValueTask WaitToReadAsync(CancellationToken cancellationToken = default); + } + + public abstract partial class ChannelWriter + { + public void Complete(Exception? error = null) { } + + public virtual bool TryComplete(Exception? error = null) { throw null; } + + public abstract bool TryWrite(T item); + public abstract Tasks.ValueTask WaitToWriteAsync(CancellationToken cancellationToken = default); + public virtual Tasks.ValueTask WriteAsync(T item, CancellationToken cancellationToken = default) { throw null; } + } + + public abstract partial class Channel : Channel + { + } + + public abstract partial class Channel + { + public ChannelReader Reader { get { throw null; } protected set { } } + + public ChannelWriter Writer { get { throw null; } protected set { } } + + public static implicit operator ChannelReader(Channel channel) { throw null; } + + public static implicit operator ChannelWriter(Channel channel) { throw null; } + } + + public sealed partial class UnboundedChannelOptions : ChannelOptions + { + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.0/System.Threading.Channels.cs b/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.0/System.Threading.Channels.cs new file mode 100644 index 000000000..c61dadfa0 --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.0/System.Threading.Channels.cs @@ -0,0 +1,128 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Channels")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types for passing data between producers and consumers.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Channel\r\nSystem.Threading.Channel")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Channels")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Channels +{ + public enum BoundedChannelFullMode + { + Wait = 0, + DropNewest = 1, + DropOldest = 2, + DropWrite = 3 + } + + public sealed partial class BoundedChannelOptions : ChannelOptions + { + public BoundedChannelOptions(int capacity) { } + + public int Capacity { get { throw null; } set { } } + + public BoundedChannelFullMode FullMode { get { throw null; } set { } } + } + + public static partial class Channel + { + public static Channel CreateBounded(int capacity) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options, Action? itemDropped) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options) { throw null; } + + public static Channel CreateUnbounded() { throw null; } + + public static Channel CreateUnbounded(UnboundedChannelOptions options) { throw null; } + } + + public partial class ChannelClosedException : InvalidOperationException + { + public ChannelClosedException() { } + + public ChannelClosedException(Exception? innerException) { } + + public ChannelClosedException(string? message, Exception? innerException) { } + + public ChannelClosedException(string? message) { } + } + + public abstract partial class ChannelOptions + { + public bool AllowSynchronousContinuations { get { throw null; } set { } } + + public bool SingleReader { get { throw null; } set { } } + + public bool SingleWriter { get { throw null; } set { } } + } + + public abstract partial class ChannelReader + { + public virtual bool CanCount { get { throw null; } } + + public virtual bool CanPeek { get { throw null; } } + + public virtual Tasks.Task Completion { get { throw null; } } + + public virtual int Count { get { throw null; } } + + public virtual Tasks.ValueTask ReadAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual bool TryPeek(out T item) { throw null; } + + public abstract bool TryRead(out T item); + public abstract Tasks.ValueTask WaitToReadAsync(CancellationToken cancellationToken = default); + } + + public abstract partial class ChannelWriter + { + public void Complete(Exception? error = null) { } + + public virtual bool TryComplete(Exception? error = null) { throw null; } + + public abstract bool TryWrite(T item); + public abstract Tasks.ValueTask WaitToWriteAsync(CancellationToken cancellationToken = default); + public virtual Tasks.ValueTask WriteAsync(T item, CancellationToken cancellationToken = default) { throw null; } + } + + public abstract partial class Channel : Channel + { + } + + public abstract partial class Channel + { + public ChannelReader Reader { get { throw null; } protected set { } } + + public ChannelWriter Writer { get { throw null; } protected set { } } + + public static implicit operator ChannelReader(Channel channel) { throw null; } + + public static implicit operator ChannelWriter(Channel channel) { throw null; } + } + + public sealed partial class UnboundedChannelOptions : ChannelOptions + { + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.1/System.Threading.Channels.cs b/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.1/System.Threading.Channels.cs new file mode 100644 index 000000000..324ab06c2 --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/lib/netstandard2.1/System.Threading.Channels.cs @@ -0,0 +1,132 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Threading.Channels")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types for passing data between producers and consumers.\r\n\r\nCommonly Used Types:\r\nSystem.Threading.Channel\r\nSystem.Threading.Channel")] +[assembly: System.Reflection.AssemblyFileVersion("8.0.23.53103")] +[assembly: System.Reflection.AssemblyInformationalVersion("8.0.0+5535e31a712343a63f5d7d796cd874e563e5ac14")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Threading.Channels")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Threading.Channels +{ + public enum BoundedChannelFullMode + { + Wait = 0, + DropNewest = 1, + DropOldest = 2, + DropWrite = 3 + } + + public sealed partial class BoundedChannelOptions : ChannelOptions + { + public BoundedChannelOptions(int capacity) { } + + public int Capacity { get { throw null; } set { } } + + public BoundedChannelFullMode FullMode { get { throw null; } set { } } + } + + public static partial class Channel + { + public static Channel CreateBounded(int capacity) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options, Action? itemDropped) { throw null; } + + public static Channel CreateBounded(BoundedChannelOptions options) { throw null; } + + public static Channel CreateUnbounded() { throw null; } + + public static Channel CreateUnbounded(UnboundedChannelOptions options) { throw null; } + } + + public partial class ChannelClosedException : InvalidOperationException + { + public ChannelClosedException() { } + + public ChannelClosedException(Exception? innerException) { } + + protected ChannelClosedException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ChannelClosedException(string? message, Exception? innerException) { } + + public ChannelClosedException(string? message) { } + } + + public abstract partial class ChannelOptions + { + public bool AllowSynchronousContinuations { get { throw null; } set { } } + + public bool SingleReader { get { throw null; } set { } } + + public bool SingleWriter { get { throw null; } set { } } + } + + public abstract partial class ChannelReader + { + public virtual bool CanCount { get { throw null; } } + + public virtual bool CanPeek { get { throw null; } } + + public virtual Tasks.Task Completion { get { throw null; } } + + public virtual int Count { get { throw null; } } + + public virtual Collections.Generic.IAsyncEnumerable ReadAllAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual Tasks.ValueTask ReadAsync(CancellationToken cancellationToken = default) { throw null; } + + public virtual bool TryPeek(out T item) { throw null; } + + public abstract bool TryRead(out T item); + public abstract Tasks.ValueTask WaitToReadAsync(CancellationToken cancellationToken = default); + } + + public abstract partial class ChannelWriter + { + public void Complete(Exception? error = null) { } + + public virtual bool TryComplete(Exception? error = null) { throw null; } + + public abstract bool TryWrite(T item); + public abstract Tasks.ValueTask WaitToWriteAsync(CancellationToken cancellationToken = default); + public virtual Tasks.ValueTask WriteAsync(T item, CancellationToken cancellationToken = default) { throw null; } + } + + public abstract partial class Channel : Channel + { + } + + public abstract partial class Channel + { + public ChannelReader Reader { get { throw null; } protected set { } } + + public ChannelWriter Writer { get { throw null; } protected set { } } + + public static implicit operator ChannelReader(Channel channel) { throw null; } + + public static implicit operator ChannelWriter(Channel channel) { throw null; } + } + + public sealed partial class UnboundedChannelOptions : ChannelOptions + { + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.channels/8.0.0/system.threading.channels.nuspec b/src/referencePackages/src/system.threading.channels/8.0.0/system.threading.channels.nuspec new file mode 100644 index 000000000..86c13761b --- /dev/null +++ b/src/referencePackages/src/system.threading.channels/8.0.0/system.threading.channels.nuspec @@ -0,0 +1,29 @@ + + + + System.Threading.Channels + 8.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types for passing data between producers and consumers. + +Commonly Used Types: +System.Threading.Channel +System.Threading.Channel<T> + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.cs b/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.cs index 8738e792f..9a71d3561 100644 --- a/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.cs +++ b/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.cs @@ -105,7 +105,7 @@ public readonly partial struct ConfiguredValueTaskAwaitable private readonly Threading.Tasks.ValueTask _value; private readonly object _dummy; private readonly int _dummyPrimitive; - public readonly ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } + public readonly ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } public readonly partial struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion { diff --git a/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs b/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs index 8738e792f..9a71d3561 100644 --- a/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs +++ b/src/referencePackages/src/system.threading.tasks.extensions/4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.cs @@ -105,7 +105,7 @@ public readonly partial struct ConfiguredValueTaskAwaitable private readonly Threading.Tasks.ValueTask _value; private readonly object _dummy; private readonly int _dummyPrimitive; - public readonly ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } + public readonly ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } public readonly partial struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion { diff --git a/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs index 863bdd01d..573831a3b 100644 --- a/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs +++ b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.0/System.Threading.Tasks.cs @@ -150,7 +150,7 @@ public void UnsafeOnCompleted(Action continuation) { } public partial struct ConfiguredTaskAwaitable { - public ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public ConfiguredTaskAwaiter GetAwaiter() { throw null; } public partial struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion { diff --git a/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs index 62bec954d..671bb04d9 100644 --- a/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs +++ b/src/referencePackages/src/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.cs @@ -153,7 +153,7 @@ public void UnsafeOnCompleted(Action continuation) { } public partial struct ConfiguredTaskAwaitable { - public ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; } + public ConfiguredTaskAwaiter GetAwaiter() { throw null; } public partial struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion {