diff --git a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj index cdf33b7f09e1e..da35db4f3001f 100644 --- a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj +++ b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj @@ -3,14 +3,11 @@ netstandard2.0;net461 enable - - - true - - + + - + diff --git a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.net461.cs b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.net461.cs new file mode 100644 index 0000000000000..1fb81f88a9a28 --- /dev/null +++ b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.net461.cs @@ -0,0 +1,21 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RegistryAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RegistryAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RegistryRights))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RegistrySecurity))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.Registry))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryHive))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryKey))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryKeyPermissionCheck))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryOptions))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryValueKind))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryValueOptions))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.RegistryView))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeRegistryHandle))] diff --git a/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj b/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj index e0413852fedaf..026cc93872332 100644 --- a/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj +++ b/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.csproj @@ -3,11 +3,8 @@ netstandard2.0;net461 enable - - - true - - + + \ No newline at end of file diff --git a/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.net461.cs b/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.net461.cs new file mode 100644 index 0000000000000..9106816e28e05 --- /dev/null +++ b/src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.net461.cs @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.PowerModeChangedEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.PowerModeChangedEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.PowerModes))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionEndedEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionEndedEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionEndingEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionEndingEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionEndReasons))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionSwitchEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionSwitchEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SessionSwitchReason))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SystemEvents))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.TimerElapsedEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.TimerElapsedEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.UserPreferenceCategory))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.UserPreferenceChangedEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.UserPreferenceChangedEventHandler))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.UserPreferenceChangingEventArgs))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.UserPreferenceChangingEventHandler))] diff --git a/src/libraries/System.CodeDom/ref/System.CodeDom.csproj b/src/libraries/System.CodeDom/ref/System.CodeDom.csproj index fdc597d599ccd..a32fa0a3e062b 100644 --- a/src/libraries/System.CodeDom/ref/System.CodeDom.csproj +++ b/src/libraries/System.CodeDom/ref/System.CodeDom.csproj @@ -2,14 +2,11 @@ netstandard2.0;net461 - - - true - - + + - + \ No newline at end of file diff --git a/src/libraries/System.CodeDom/ref/System.CodeDom.net461.cs b/src/libraries/System.CodeDom/ref/System.CodeDom.net461.cs new file mode 100644 index 0000000000000..0e13f831f5ffb --- /dev/null +++ b/src/libraries/System.CodeDom/ref/System.CodeDom.net461.cs @@ -0,0 +1,113 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeArgumentReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeArrayCreateExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeArrayIndexerExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAssignStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAttachEventStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAttributeArgument))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAttributeArgumentCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAttributeDeclaration))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeAttributeDeclarationCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeBaseReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeBinaryOperatorExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeBinaryOperatorType))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCastExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCatchClause))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCatchClauseCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeChecksumPragma))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeComment))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCommentStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCommentStatementCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeCompileUnit))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeConditionStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeConstructor))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDefaultValueExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDelegateCreateExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDelegateInvokeExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDirectionExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDirective))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeDirectiveCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeEntryPointMethod))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeEventReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeExpressionCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeExpressionStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeFieldReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeGotoStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeIndexerExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeIterationStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeLabeledStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeLinePragma))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMemberEvent))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMemberField))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMemberMethod))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMemberProperty))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMethodInvokeExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMethodReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeMethodReturnStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeNamespace))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeNamespaceCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeNamespaceImport))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeNamespaceImportCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeObject))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeObjectCreateExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeParameterDeclarationExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeParameterDeclarationExpressionCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodePrimitiveExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodePropertyReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodePropertySetValueReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeRegionDirective))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeRegionMode))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeRemoveEventStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeSnippetCompileUnit))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeSnippetExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeSnippetStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeSnippetTypeMember))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeStatementCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeThisReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeThrowExceptionStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTryCatchFinallyStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeConstructor))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeDeclaration))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeDeclarationCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeDelegate))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeMember))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeMemberCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeOfExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeParameter))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeParameterCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeReference))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeReferenceCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeTypeReferenceOptions))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeVariableDeclarationStatement))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.CodeVariableReferenceExpression))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.FieldDirection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.MemberAttributes))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CodeCompiler))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CodeDomProvider))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CodeGenerator))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CodeGeneratorOptions))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CodeParser))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CompilerError))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CompilerErrorCollection))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CompilerInfo))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CompilerParameters))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.CompilerResults))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.Executor))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.GeneratorSupport))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.ICodeCompiler))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.ICodeGenerator))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.ICodeParser))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.LanguageOptions))] +[assembly: TypeForwardedTo(typeof(System.CodeDom.Compiler.TempFileCollection))] +[assembly: TypeForwardedTo(typeof(Microsoft.VisualBasic.VBCodeProvider))] +[assembly: TypeForwardedTo(typeof(Microsoft.CSharp.CSharpCodeProvider))] diff --git a/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.csproj b/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.csproj index 6c5e8cd2f0bc9..f1892d24df175 100644 --- a/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.csproj +++ b/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.csproj @@ -3,18 +3,15 @@ netstandard2.0;net461 $(NoWarn);CS0618 - - - true - - + + + + + - - - \ No newline at end of file diff --git a/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.net461.cs b/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.net461.cs new file mode 100644 index 0000000000000..02756b1d4ae16 --- /dev/null +++ b/src/libraries/System.Configuration.ConfigurationManager/ref/System.Configuration.ConfigurationManager.net461.cs @@ -0,0 +1,171 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.UriIdnScope))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Configuration.SystemDrawingSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ApplicationScopedSettingAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ApplicationSettingsBase))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ApplicationSettingsGroup))] +[assembly: TypeForwardedTo(typeof(System.Configuration.AppSettingsReader))] +[assembly: TypeForwardedTo(typeof(System.Configuration.AppSettingsSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.CallbackValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.CallbackValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ClientSettingsSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.CommaDelimitedStringCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.CommaDelimitedStringCollectionConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Configuration))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationAllowDefinition))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationAllowExeDefinition))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationCollectionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationConverterBase))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationElementCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationElementCollectionType))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationElementProperty))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationErrorsException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationFileMap))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationLocation))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationLocationCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationLockCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationManager))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationProperty))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationPropertyAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationPropertyCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationPropertyOptions))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSaveMode))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSectionCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSectionGroup))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSectionGroupCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationSettings))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationUserLevel))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationValidatorBase))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigXmlDocument))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConnectionStringSettings))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConnectionStringSettingsCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConnectionStringsSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ContextInformation))] +[assembly: TypeForwardedTo(typeof(System.Configuration.DefaultSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.DefaultSettingValueAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.DefaultValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.DictionarySectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.DpapiProtectedConfigurationProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ElementInformation))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ExeConfigurationFileMap))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ExeContext))] +[assembly: TypeForwardedTo(typeof(System.Configuration.GenericEnumConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IApplicationSettingsProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IConfigurationSectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IConfigurationSystem))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IdnElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IgnoreSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IgnoreSectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.InfiniteIntConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.InfiniteTimeSpanConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IntegerValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IntegerValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IPersistComponentSettings))] +[assembly: TypeForwardedTo(typeof(System.Configuration.IriParsingElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ISettingsProviderService))] +[assembly: TypeForwardedTo(typeof(System.Configuration.KeyValueConfigurationCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.KeyValueConfigurationElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.LocalFileSettingsProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.LongValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.LongValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.NameValueConfigurationCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.NameValueConfigurationElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.NameValueFileSectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.NameValueSectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.NoSettingsVersionUpgradeAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.OverrideMode))] +[assembly: TypeForwardedTo(typeof(System.Configuration.PositiveTimeSpanValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.PositiveTimeSpanValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.PropertyInformation))] +[assembly: TypeForwardedTo(typeof(System.Configuration.PropertyInformationCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.PropertyValueOrigin))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProtectedConfiguration))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProtectedConfigurationProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProtectedConfigurationProviderCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProtectedConfigurationSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProtectedProviderSettings))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProviderSettings))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ProviderSettingsCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.RegexStringValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.RegexStringValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.RsaProtectedConfigurationProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SchemeSettingElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SchemeSettingElementCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SectionInformation))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingChangingEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingChangingEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingElementCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsAttributeDictionary))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsBase))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsContext))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsDescriptionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsGroupDescriptionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsGroupNameAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsLoadedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsLoadedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsManageability))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsManageabilityAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsProperty))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyIsReadOnlyException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyNotFoundException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyValue))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyValueCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsPropertyWrongTypeException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsProvider))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsProviderAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsProviderCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsSavingEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsSerializeAs))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingsSerializeAsAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SettingValueElement))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SingleTagSectionHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SpecialSetting))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SpecialSettingAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.StringValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.StringValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SubclassTypeValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.SubclassTypeValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanMinutesConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanMinutesOrInfiniteConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanSecondsConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanSecondsOrInfiniteConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanValidator))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TimeSpanValidatorAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.TypeNameConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.UriSection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.UserScopedSettingAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.UserSettingsGroup))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ValidatorCallback))] +[assembly: TypeForwardedTo(typeof(System.Configuration.WhiteSpaceTrimStringConverter))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Provider.ProviderBase))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Provider.ProviderCollection))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Provider.ProviderException))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.DelegatingConfigHost))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IConfigErrorInfo))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IConfigSystem))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IConfigurationManagerHelper))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IConfigurationManagerInternal))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigClientHost))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigConfigurationFactory))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigHost))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigRecord))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigRoot))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigSettingsFactory))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.IInternalConfigSystem))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.InternalConfigEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.InternalConfigEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Configuration.Internal.StreamChangeCallback))] diff --git a/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.csproj b/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.csproj index a36f4ed64a8b0..1f7688c91119c 100644 --- a/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.csproj +++ b/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.csproj @@ -3,11 +3,8 @@ netstandard2.0;net461 enable - - - true - - + + diff --git a/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.net461.cs b/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.net461.cs new file mode 100644 index 0000000000000..5821a30109b48 --- /dev/null +++ b/src/libraries/System.Data.Odbc/ref/System.Data.Odbc.net461.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcCommand))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcCommandBuilder))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcConnection))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcConnectionStringBuilder))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcDataAdapter))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcDataReader))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcError))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcErrorCollection))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcException))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcFactory))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcInfoMessageEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcInfoMessageEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcMetaDataCollectionNames))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcMetaDataColumnNames))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcParameter))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcParameterCollection))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcRowUpdatedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcRowUpdatedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcRowUpdatingEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcRowUpdatingEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcTransaction))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcType))] diff --git a/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.csproj b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.csproj index 912dfa3acf23f..e3202214d8843 100644 --- a/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.csproj +++ b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.csproj @@ -4,18 +4,15 @@ $(NoWarn);0618 enable - - - true - - + - + - + + - + diff --git a/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.net461.cs b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.net461.cs new file mode 100644 index 0000000000000..3405d98ba8493 --- /dev/null +++ b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.net461.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbCommand))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbCommandBuilder))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbConnection))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbConnectionStringBuilder))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbDataAdapter))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbDataReader))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbError))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbErrorCollection))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbException))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbFactory))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbInfoMessageEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbInfoMessageEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbLiteral))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbMetaDataCollectionNames))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbMetaDataColumnNames))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbParameter))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbParameterCollection))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbRowUpdatedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbRowUpdatedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbRowUpdatingEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbRowUpdatingEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbSchemaGuid))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbTransaction))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbType))] diff --git a/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.csproj b/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.csproj index 3413c45fda3e0..2d78eb78addf9 100644 --- a/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.csproj +++ b/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.csproj @@ -2,14 +2,11 @@ netstandard2.0;net461 - - - true - - + + - + diff --git a/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.net461.cs b/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.net461.cs new file mode 100644 index 0000000000000..926b17822f518 --- /dev/null +++ b/src/libraries/System.Diagnostics.EventLog/ref/System.Diagnostics.EventLog.net461.cs @@ -0,0 +1,52 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EntryWrittenEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EntryWrittenEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventInstance))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLog))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogEntry))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogEntryCollection))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogEntryType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogTraceListener))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventSourceCreationData))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.OverflowAction))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventBookmark))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventKeyword))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLevel))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogConfiguration))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogException))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogInformation))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogInvalidDataException))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogIsolation))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogLink))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogMode))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogNotFoundException))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogPropertySelector))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogQuery))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogReader))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogReadingException))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogRecord))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogSession))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogStatus))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogWatcher))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventMetadata))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventOpcode))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventProperty))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventRecord))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventTask))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.PathType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.ProviderMetadata))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.SessionAuthentication))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.StandardEventKeywords))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.StandardEventLevel))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.StandardEventOpcode))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.StandardEventTask))] diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.csproj b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.csproj index 7a9aa75f8c3e8..dd9d4370bcbdb 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.csproj +++ b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.csproj @@ -3,11 +3,8 @@ netstandard2.0;net461 true - - - true - - + + \ No newline at end of file diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.net461.cs b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.net461.cs new file mode 100644 index 0000000000000..e79adb14b4c39 --- /dev/null +++ b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.net461.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Diagnostics.CounterCreationData))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.CounterCreationDataCollection))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.CounterSample))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.CounterSampleCalculator))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.ICollectData))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.InstanceData))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.InstanceDataCollection))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.InstanceDataCollectionCollection))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounter))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterCategory))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterCategoryType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterInstanceLifetime))] +#pragma warning disable 0618 +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterManager))] +#pragma warning restore 0618 +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterData))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterSet))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterSetInstance))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSet))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterSetInstanceType))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterType))] diff --git a/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.csproj b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.csproj index 012d4f7f39134..36c2fab6898a8 100644 --- a/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.csproj +++ b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.csproj @@ -5,15 +5,12 @@ true enable - - - true - - + - + + diff --git a/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.net461.cs b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.net461.cs new file mode 100644 index 0000000000000..1f82e953c74ce --- /dev/null +++ b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.net461.cs @@ -0,0 +1,149 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Drawing.Bitmap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.BitmapSuffixInSameAssemblyAttribute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.BitmapSuffixInSatelliteAssemblyAttribute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Brush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Brushes))] +[assembly: TypeForwardedTo(typeof(System.Drawing.BufferedGraphics))] +[assembly: TypeForwardedTo(typeof(System.Drawing.BufferedGraphicsContext))] +[assembly: TypeForwardedTo(typeof(System.Drawing.BufferedGraphicsManager))] +[assembly: TypeForwardedTo(typeof(System.Drawing.CharacterRange))] +[assembly: TypeForwardedTo(typeof(System.Drawing.ColorTranslator))] +[assembly: TypeForwardedTo(typeof(System.Drawing.ContentAlignment))] +[assembly: TypeForwardedTo(typeof(System.Drawing.CopyPixelOperation))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Font))] +[assembly: TypeForwardedTo(typeof(System.Drawing.FontFamily))] +[assembly: TypeForwardedTo(typeof(System.Drawing.FontStyle))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Graphics))] +[assembly: TypeForwardedTo(typeof(System.Drawing.GraphicsUnit))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Icon))] +[assembly: TypeForwardedTo(typeof(System.Drawing.IDeviceContext))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Image))] +[assembly: TypeForwardedTo(typeof(System.Drawing.ImageAnimator))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Pen))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Pens))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Region))] +[assembly: TypeForwardedTo(typeof(System.Drawing.RotateFlipType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SolidBrush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringAlignment))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringDigitSubstitute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringFormat))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringFormatFlags))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringTrimming))] +[assembly: TypeForwardedTo(typeof(System.Drawing.StringUnit))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SystemBrushes))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SystemColors))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SystemFonts))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SystemIcons))] +[assembly: TypeForwardedTo(typeof(System.Drawing.SystemPens))] +[assembly: TypeForwardedTo(typeof(System.Drawing.TextureBrush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.ToolboxBitmapAttribute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.FontCollection))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.GenericFontFamilies))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.HotkeyPrefix))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.InstalledFontCollection))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.PrivateFontCollection))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Text.TextRenderingHint))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.Duplex))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.InvalidPrinterException))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.Margins))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PageSettings))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PaperKind))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PaperSize))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PaperSource))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PaperSourceKind))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PreviewPageInfo))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PreviewPrintController))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintAction))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintController))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintDocument))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrinterResolution))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrinterResolutionKind))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrinterSettings))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrinterUnit))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrinterUnitConvert))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintPageEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintPageEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintRange))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.QueryPageSettingsEventArgs))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.QueryPageSettingsEventHandler))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.StandardPrintController))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.BitmapData))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorAdjustType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorChannelFlag))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMapType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMatrix))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMatrixFlag))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ColorPalette))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EmfPlusRecordType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EmfType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.Encoder))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EncoderParameter))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EncoderParameters))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EncoderParameterValueType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.EncoderValue))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.FrameDimension))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageAttributes))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageCodecFlags))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageCodecInfo))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageFlags))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageFormat))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.ImageLockMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.Metafile))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.MetafileFrameUnit))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.MetafileHeader))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.MetafileType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.MetaHeader))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.PaletteFlags))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.PixelFormat))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.PlayRecordCallback))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.PropertyItem))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Imaging.WmfPlaceableFileHeader))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.AdjustableArrowCap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.Blend))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.ColorBlend))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.CombineMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.CompositingMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.CompositingQuality))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.CoordinateSpace))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.CustomLineCap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.DashCap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.DashStyle))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.FillMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.FlushIntention))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsContainer))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsPath))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsPathIterator))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.GraphicsState))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.HatchBrush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.HatchStyle))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.InterpolationMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.LinearGradientBrush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.LinearGradientMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.LineCap))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.LineJoin))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.Matrix))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.MatrixOrder))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PathData))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PathGradientBrush))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PathPointType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PenAlignment))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PenType))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.PixelOffsetMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.QualityMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.RegionData))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.SmoothingMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.WarpMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Drawing2D.WrapMode))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Design.CategoryNameCollection))] diff --git a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.FileSystemAclExtensions.cs b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.FileSystemAclExtensions.cs new file mode 100644 index 0000000000000..7bba41856ed22 --- /dev/null +++ b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.FileSystemAclExtensions.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +namespace System.IO +{ + public static partial class FileSystemAclExtensions + { + public static void Create(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) { } + public static System.IO.FileStream Create(this System.IO.FileInfo fileInfo, System.IO.FileMode mode, System.Security.AccessControl.FileSystemRights rights, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options, System.Security.AccessControl.FileSecurity fileSecurity) { throw null; } + public static System.IO.DirectoryInfo CreateDirectory(this System.Security.AccessControl.DirectorySecurity directorySecurity, string path) { throw null; } + public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo) { throw null; } + public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.AccessControlSections includeSections) { throw null; } + public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo) { throw null; } + public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.AccessControlSections includeSections) { throw null; } + public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileStream fileStream) { throw null; } + public static void SetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) { } + public static void SetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.FileSecurity fileSecurity) { } + public static void SetAccessControl(this System.IO.FileStream fileStream, System.Security.AccessControl.FileSecurity fileSecurity) { } + } +} diff --git a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.cs b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.cs index 64455bbc92ccb..01990765c3afb 100644 --- a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.cs +++ b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.cs @@ -4,23 +4,6 @@ // Changes to this file must follow the https://aka.ms/api-review process. // ------------------------------------------------------------------------------ -namespace System.IO -{ - public static partial class FileSystemAclExtensions - { - public static void Create(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) { } - public static System.IO.FileStream Create(this System.IO.FileInfo fileInfo, System.IO.FileMode mode, System.Security.AccessControl.FileSystemRights rights, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options, System.Security.AccessControl.FileSecurity fileSecurity) { throw null; } - public static System.IO.DirectoryInfo CreateDirectory(this System.Security.AccessControl.DirectorySecurity directorySecurity, string path) { throw null; } - public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo) { throw null; } - public static System.Security.AccessControl.DirectorySecurity GetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.AccessControlSections includeSections) { throw null; } - public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo) { throw null; } - public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.AccessControlSections includeSections) { throw null; } - public static System.Security.AccessControl.FileSecurity GetAccessControl(this System.IO.FileStream fileStream) { throw null; } - public static void SetAccessControl(this System.IO.DirectoryInfo directoryInfo, System.Security.AccessControl.DirectorySecurity directorySecurity) { } - public static void SetAccessControl(this System.IO.FileInfo fileInfo, System.Security.AccessControl.FileSecurity fileSecurity) { } - public static void SetAccessControl(this System.IO.FileStream fileStream, System.Security.AccessControl.FileSecurity fileSecurity) { } - } -} namespace System.Security.AccessControl { public abstract partial class DirectoryObjectSecurity : System.Security.AccessControl.ObjectSecurity diff --git a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj index 33c93c6d81950..48ce7b7289990 100644 --- a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj +++ b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj @@ -3,14 +3,12 @@ netstandard2.0;net461 enable - - - true - - + + + - + diff --git a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.net461.cs b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.net461.cs new file mode 100644 index 0000000000000..29364199c2385 --- /dev/null +++ b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.net461.cs @@ -0,0 +1,15 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.DirectoryObjectSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.DirectorySecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.FileSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.FileSystemAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.FileSystemAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.FileSystemRights))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.FileSystemSecurity))] diff --git a/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj index bcee4b7c113d8..94936bb92e45a 100644 --- a/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj +++ b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj @@ -1,21 +1,19 @@ netstandard2.0;netstandard1.3;net46 - - - - $(DefineConstants);netcoreapp - true enable - + - + + + + - + \ No newline at end of file diff --git a/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.net46.cs b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.net46.cs new file mode 100644 index 0000000000000..206404b37d8a5 --- /dev/null +++ b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.net46.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.IO.FileFormatException))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.CompressionOption))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.EncryptionOption))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.Package))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackagePart))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackagePartCollection))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackageProperties))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackageRelationship))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackageRelationshipCollection))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackageRelationshipSelector))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackageRelationshipSelectorType))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.PackUriHelper))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.TargetMode))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.ZipPackage))] +[assembly: TypeForwardedTo(typeof(System.IO.Packaging.ZipPackagePart))] diff --git a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.PipesAclExtensions.cs b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.PipesAclExtensions.cs new file mode 100644 index 0000000000000..cced321ba5ed6 --- /dev/null +++ b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.PipesAclExtensions.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +namespace System.IO.Pipes +{ + public static partial class PipesAclExtensions + { + public static System.IO.Pipes.PipeSecurity GetAccessControl(this System.IO.Pipes.PipeStream stream) { throw null; } + public static void SetAccessControl(this System.IO.Pipes.PipeStream stream, System.IO.Pipes.PipeSecurity pipeSecurity) { } + } +} diff --git a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.cs b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.cs index 9622622cd7bae..22c07faa6e764 100644 --- a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.cs +++ b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.cs @@ -39,11 +39,6 @@ public sealed partial class PipeAuditRule : System.Security.AccessControl.AuditR public PipeAuditRule(string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AuditFlags flags) : base (default(System.Security.Principal.IdentityReference), default(int), default(bool), default(System.Security.AccessControl.InheritanceFlags), default(System.Security.AccessControl.PropagationFlags), default(System.Security.AccessControl.AuditFlags)) { } public System.IO.Pipes.PipeAccessRights PipeAccessRights { get { throw null; } } } - public static partial class PipesAclExtensions - { - public static System.IO.Pipes.PipeSecurity GetAccessControl(this System.IO.Pipes.PipeStream stream) { throw null; } - public static void SetAccessControl(this System.IO.Pipes.PipeStream stream, System.IO.Pipes.PipeSecurity pipeSecurity) { } - } public partial class PipeSecurity : System.Security.AccessControl.NativeObjectSecurity { public PipeSecurity() : base (default(bool), default(System.Security.AccessControl.ResourceType)) { } diff --git a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj index 5bbb7c362090a..06496ad316466 100644 --- a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj +++ b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj @@ -3,12 +3,10 @@ net5.0;netstandard2.0;net461 enable - - - true - - + + + diff --git a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.net461.cs b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.net461.cs new file mode 100644 index 0000000000000..1268f736387ed --- /dev/null +++ b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.net461.cs @@ -0,0 +1,12 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.IO.Pipes.PipeAccessRights))] +[assembly: TypeForwardedTo(typeof(System.IO.Pipes.PipeAccessRule))] +[assembly: TypeForwardedTo(typeof(System.IO.Pipes.PipeAuditRule))] +[assembly: TypeForwardedTo(typeof(System.IO.Pipes.PipeSecurity))] diff --git a/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.Forwards.cs b/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.Forwards.cs new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/src/libraries/System.IO.Ports/ref/System.IO.Ports.csproj b/src/libraries/System.IO.Ports/ref/System.IO.Ports.csproj index bb26f9be9a089..85b352191c9c8 100644 --- a/src/libraries/System.IO.Ports/ref/System.IO.Ports.csproj +++ b/src/libraries/System.IO.Ports/ref/System.IO.Ports.csproj @@ -2,11 +2,8 @@ netstandard2.0;net461 - - - true - - + + \ No newline at end of file diff --git a/src/libraries/System.IO.Ports/ref/System.IO.Ports.net461.cs b/src/libraries/System.IO.Ports/ref/System.IO.Ports.net461.cs new file mode 100644 index 0000000000000..8f6b1ffa7cb6f --- /dev/null +++ b/src/libraries/System.IO.Ports/ref/System.IO.Ports.net461.cs @@ -0,0 +1,21 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.IO.Ports.Handshake))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.Parity))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialData))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialDataReceivedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialDataReceivedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialError))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialErrorReceivedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialErrorReceivedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialPinChange))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialPinChangedEventArgs))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialPinChangedEventHandler))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.SerialPort))] +[assembly: TypeForwardedTo(typeof(System.IO.Ports.StopBits))] diff --git a/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.csproj b/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.csproj index b586ad2705374..403a6436ed2bd 100644 --- a/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.csproj +++ b/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.csproj @@ -4,14 +4,11 @@ true enable - - - true - - + + - + diff --git a/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.net461.cs b/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.net461.cs new file mode 100644 index 0000000000000..9fa292c50bbb7 --- /dev/null +++ b/src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.net461.cs @@ -0,0 +1,52 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessControlActions))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessControlModification))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessControlSections))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessControlType))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AccessRule<>))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AceEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AceFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AceQualifier))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AceType))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AuditFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AuditRule<>))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AuthorizationRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.AuthorizationRuleCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CommonAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CommonAcl))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CommonObjectSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CommonSecurityDescriptor))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CompoundAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CompoundAceType))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ControlFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.CustomAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.DiscretionaryAcl))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.GenericAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.GenericAcl))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.GenericSecurityDescriptor))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.InheritanceFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.KnownAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.NativeObjectSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectAceFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ObjectSecurity<>))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.PrivilegeNotHeldException))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.PropagationFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.QualifiedAce))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RawAcl))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.RawSecurityDescriptor))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.ResourceType))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SecurityInfos))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SystemAcl))] diff --git a/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj index f3079cd3ff753..fffb9009122e2 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj +++ b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj @@ -4,12 +4,9 @@ true enable - - - true - - + + diff --git a/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.net461.cs b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.net461.cs new file mode 100644 index 0000000000000..f75c1c20ff285 --- /dev/null +++ b/src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.net461.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicAttributeObject))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicAttributeObjectCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicAttributeObjectEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.X509IssuerSerial))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.AlgorithmIdentifier))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsRecipient))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsRecipientCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsRecipientEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsSigner))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.ContentInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.EnvelopedCms))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.KeyTransRecipientInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9AttributeObject))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9ContentType))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentDescription))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9DocumentName))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9MessageDigest))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.Pkcs9SigningTime))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.PublicKeyInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.RecipientInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.RecipientInfoCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.RecipientInfoEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.RecipientInfoType))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SignedCms))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SignerInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SignerInfoCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SignerInfoEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifier))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierOrKeyType))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.SubjectIdentifierType))] diff --git a/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.csproj b/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.csproj index ac9410e6b68f9..96113201a7a08 100644 --- a/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.csproj +++ b/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.csproj @@ -3,14 +3,11 @@ netstandard2.0;net461 enable - - - true - - + + - + \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.net461.cs b/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.net461.cs new file mode 100644 index 0000000000000..bb981d841278d --- /dev/null +++ b/src/libraries/System.Security.Cryptography.ProtectedData/ref/System.Security.Cryptography.ProtectedData.net461.cs @@ -0,0 +1,10 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.DataProtectionScope))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.ProtectedData))] diff --git a/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.csproj b/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.csproj index 2ce349313da0e..d2c219bdb0d10 100644 --- a/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.csproj +++ b/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.csproj @@ -2,17 +2,14 @@ netstandard2.0;net461 - - - true - - + - + - + + \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.net461.cs b/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.net461.cs new file mode 100644 index 0000000000000..9841827dc8d02 --- /dev/null +++ b/src/libraries/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.net461.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.CipherData))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.CipherReference))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.DataObject))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.DataReference))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.DSAKeyValue))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptedData))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptedKey))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptedReference))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptedType))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptedXml))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptionMethod))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptionProperty))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.EncryptionPropertyCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.IRelDecryptor))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoClause))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoEncryptedKey))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoName))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoNode))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoRetrievalMethod))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyInfoX509Data))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.KeyReference))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.Reference))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.ReferenceList))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.RSAKeyValue))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.Signature))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.SignedInfo))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.SignedXml))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.Transform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.TransformChain))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDecryptionTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigBase64Transform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigC14NTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigExcC14NTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigXPathTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlDsigXsltTransform))] +[assembly: TypeForwardedTo(typeof(System.Security.Cryptography.Xml.XmlLicenseTransform))] diff --git a/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.csproj b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.csproj index 8693fb512f083..a024bfc9d1a0e 100644 --- a/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.csproj +++ b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.csproj @@ -2,18 +2,17 @@ net5.0;netstandard2.0;net461;netcoreapp3.0 - - - true - - + - + + + + @@ -23,7 +22,7 @@ - + diff --git a/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.net461.cs b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.net461.cs new file mode 100644 index 0000000000000..f97228600911b --- /dev/null +++ b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.net461.cs @@ -0,0 +1,204 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.IPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.ISecurityEncodable))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.CodeAccessSecurityAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SecurityAction))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SecurityAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermissionFlag))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityElement))] +[assembly: TypeForwardedTo(typeof(System.ApplicationIdentity))] +[assembly: TypeForwardedTo(typeof(System.Web.AspNetHostingPermission))] +[assembly: TypeForwardedTo(typeof(System.Web.AspNetHostingPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Web.AspNetHostingPermissionLevel))] +[assembly: TypeForwardedTo(typeof(System.Transactions.DistributedTransactionPermission))] +[assembly: TypeForwardedTo(typeof(System.Transactions.DistributedTransactionPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerPermission))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerPermissionEntry))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerPermissionEntryCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.CodeAccessPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.HostProtectionException))] +[assembly: TypeForwardedTo(typeof(System.Security.HostSecurityManager))] +[assembly: TypeForwardedTo(typeof(System.Security.HostSecurityManagerOptions))] +[assembly: TypeForwardedTo(typeof(System.Security.IEvidenceFactory))] +[assembly: TypeForwardedTo(typeof(System.Security.ISecurityPolicyEncodable))] +[assembly: TypeForwardedTo(typeof(System.Security.IStackWalk))] +[assembly: TypeForwardedTo(typeof(System.Security.NamedPermissionSet))] +[assembly: TypeForwardedTo(typeof(System.Security.PermissionSet))] +[assembly: TypeForwardedTo(typeof(System.Security.PolicyLevelType))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityContext))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityContextSource))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityManager))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityState))] +[assembly: TypeForwardedTo(typeof(System.Security.SecurityZone))] +[assembly: TypeForwardedTo(typeof(System.Security.XmlSyntaxException))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.AllMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationDirectory))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationDirectoryMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationTrust))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationTrustCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationTrustEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ApplicationVersionMatch))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.CodeConnectAccess))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.CodeGroup))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Evidence))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.EvidenceBase))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.FileCodeGroup))] +#pragma warning disable 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.FirstMatchCodeGroup))] +#pragma warning restore 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.GacInstalled))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.GacMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Hash))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.HashMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.IIdentityPermissionFactory))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.IMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.NetCodeGroup))] +#pragma warning disable 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PermissionRequestEvidence))] +#pragma warning restore 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PolicyException))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PolicyLevel))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PolicyStatement))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PolicyStatementAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Publisher))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.PublisherMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Site))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.SiteMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.StrongName))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.StrongNameMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.TrustManagerContext))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.TrustManagerUIContext))] +#pragma warning disable 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.UnionCodeGroup))] +#pragma warning restore 0618 +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Url))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.UrlMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.Zone))] +[assembly: TypeForwardedTo(typeof(System.Security.Policy.ZoneMembershipCondition))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.DataProtectionPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.DataProtectionPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.DataProtectionPermissionFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.EnvironmentPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.EnvironmentPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.EnvironmentPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileDialogPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileDialogPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileDialogPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileIOPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileIOPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.FileIOPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.GacIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.GacIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.HostProtectionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.HostProtectionResource))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IsolatedStorageContainment))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IsolatedStorageFilePermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IsolatedStorageFilePermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IsolatedStoragePermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IsolatedStoragePermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.IUnrestrictedPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermissionAccessEntry))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermissionAccessEntryCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermissionAccessEntryEnumerator))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.KeyContainerPermissionFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.MediaPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.MediaPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.MediaPermissionAudio))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.MediaPermissionImage))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.MediaPermissionVideo))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PermissionSetAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PermissionState))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PrincipalPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PrincipalPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PublisherIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.PublisherIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ReflectionPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ReflectionPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ReflectionPermissionFlag))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.RegistryPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.RegistryPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.RegistryPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ResourcePermissionBase))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ResourcePermissionBaseEntry))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SecurityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SiteIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.SiteIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StorePermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StorePermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StorePermissionFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StrongNameIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StrongNameIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.StrongNamePublicKeyBlob))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.TypeDescriptorPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.TypeDescriptorPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.TypeDescriptorPermissionFlags))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UIPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UIPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UIPermissionClipboard))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UIPermissionWindow))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UrlIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.UrlIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.WebBrowserPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.WebBrowserPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.WebBrowserPermissionLevel))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ZoneIdentityPermission))] +[assembly: TypeForwardedTo(typeof(System.Security.Permissions.ZoneIdentityPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.DnsPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.DnsPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.EndpointPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.NetworkAccess))] +[assembly: TypeForwardedTo(typeof(System.Net.SocketPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.SocketPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.TransportType))] +[assembly: TypeForwardedTo(typeof(System.Net.WebPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.WebPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.PeerToPeer.PnrpPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.PeerToPeer.PnrpPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.PeerToPeer.PnrpScope))] +[assembly: TypeForwardedTo(typeof(System.Net.PeerToPeer.Collaboration.PeerCollaborationPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.PeerToPeer.Collaboration.PeerCollaborationPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInformationAccess))] +[assembly: TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInformationPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.NetworkInformation.NetworkInformationPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Net.Mail.SmtpAccess))] +[assembly: TypeForwardedTo(typeof(System.Net.Mail.SmtpPermission))] +[assembly: TypeForwardedTo(typeof(System.Net.Mail.SmtpPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintingPermission))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintingPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Drawing.Printing.PrintingPermissionLevel))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogPermission))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogPermissionEntry))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.EventLogPermissionEntryCollection))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterPermission))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterPermissionAccess))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterPermissionEntry))] +[assembly: TypeForwardedTo(typeof(System.Diagnostics.PerformanceCounterPermissionEntryCollection))] +[assembly: TypeForwardedTo(typeof(System.Data.SqlClient.SqlClientPermission))] +[assembly: TypeForwardedTo(typeof(System.Data.SqlClient.SqlClientPermissionAttribute))] +#pragma warning disable 0618 +[assembly: TypeForwardedTo(typeof(System.Data.OracleClient.OraclePermission))] +[assembly: TypeForwardedTo(typeof(System.Data.OracleClient.OraclePermissionAttribute))] +#pragma warning restore 0618 +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbPermission))] +[assembly: TypeForwardedTo(typeof(System.Data.OleDb.OleDbPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcPermission))] +[assembly: TypeForwardedTo(typeof(System.Data.Odbc.OdbcPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Data.Common.DBDataPermission))] +[assembly: TypeForwardedTo(typeof(System.Data.Common.DBDataPermissionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationPermission))] +[assembly: TypeForwardedTo(typeof(System.Configuration.ConfigurationPermissionAttribute))] diff --git a/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj b/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj index fe63b0436d4ab..f1a59cde9bf70 100644 --- a/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj +++ b/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj @@ -4,12 +4,9 @@ true enable - - - true - - + + diff --git a/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.net461.cs b/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.net461.cs new file mode 100644 index 0000000000000..d29b0e76555c8 --- /dev/null +++ b/src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.net461.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.Principal.IdentityNotMappedException))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.IdentityReference))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.IdentityReferenceCollection))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.NTAccount))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.SecurityIdentifier))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.TokenAccessLevels))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.WellKnownSidType))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.WindowsAccountType))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.WindowsBuiltInRole))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.WindowsIdentity))] +[assembly: TypeForwardedTo(typeof(System.Security.Principal.WindowsPrincipal))] +[assembly: TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeAccessTokenHandle))] diff --git a/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.csproj b/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.csproj index 9c9fcf889142f..1bc22f820512e 100644 --- a/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.csproj +++ b/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.csproj @@ -3,17 +3,14 @@ $(NetCoreAppCurrent);net461;netcoreapp2.1;netstandard2.0 true - - - true - - + + - + diff --git a/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.net461.cs b/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.net461.cs new file mode 100644 index 0000000000000..ccb77ea39e173 --- /dev/null +++ b/src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.net461.cs @@ -0,0 +1,42 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Atom10FeedFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Atom10FeedFormatter<>))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Atom10ItemFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Atom10ItemFormatter<>))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<>))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.CategoriesDocument))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.CategoriesDocumentFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.InlineCategoriesDocument))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.ReferencedCategoriesDocument))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.ResourceCollectionInfo))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Rss20FeedFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Rss20FeedFormatter<>))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Rss20ItemFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Rss20ItemFormatter<>))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.ServiceDocument))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.ServiceDocumentFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationCategory))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationContent))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationElementExtension))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationElementExtensionCollection))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationFeed))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationFeedFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationItem))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationItemFormatter))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationLink))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationPerson))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.SyndicationVersions))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.TextSyndicationContent))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.TextSyndicationContentKind))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.UrlSyndicationContent))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.Workspace))] +[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.XmlSyndicationContent))] diff --git a/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.csproj b/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.csproj index 50d5af47646b6..57dffa178d8ea 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.csproj +++ b/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.csproj @@ -3,14 +3,11 @@ netstandard2.0;net461 enable - - - true - - + + - + diff --git a/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.net461.cs b/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.net461.cs new file mode 100644 index 0000000000000..80b4edba2c3db --- /dev/null +++ b/src/libraries/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.net461.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.PowerBroadcastStatus))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceBase))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceController))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceControllerStatus))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceProcessDescriptionAttribute))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceStartMode))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.ServiceType))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.SessionChangeDescription))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.SessionChangeReason))] +[assembly: TypeForwardedTo(typeof(System.ServiceProcess.TimeoutException))] diff --git a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.Extensions.cs b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.Extensions.cs new file mode 100644 index 0000000000000..0aa5823e7c2b8 --- /dev/null +++ b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.Extensions.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +namespace System.Threading +{ + public static partial class EventWaitHandleAcl + { + public static System.Threading.EventWaitHandle Create(bool initialState, System.Threading.EventResetMode mode, string? name, out bool createdNew, System.Security.AccessControl.EventWaitHandleSecurity? eventSecurity) { throw null; } + public static System.Threading.EventWaitHandle OpenExisting(string name, System.Security.AccessControl.EventWaitHandleRights rights) { throw null; } + public static bool TryOpenExisting(string name, System.Security.AccessControl.EventWaitHandleRights rights, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Threading.EventWaitHandle? result) { throw null; } + } + public static partial class MutexAcl + { + public static System.Threading.Mutex Create(bool initiallyOwned, string? name, out bool createdNew, System.Security.AccessControl.MutexSecurity? mutexSecurity) { throw null; } + public static System.Threading.Mutex OpenExisting(string name, System.Security.AccessControl.MutexRights rights) { throw null; } + public static bool TryOpenExisting(string name, System.Security.AccessControl.MutexRights rights, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Threading.Mutex? result) { throw null; } + } + public static partial class SemaphoreAcl + { + public static System.Threading.Semaphore Create(int initialCount, int maximumCount, string? name, out bool createdNew, System.Security.AccessControl.SemaphoreSecurity? semaphoreSecurity) { throw null; } + public static System.Threading.Semaphore OpenExisting(string name, System.Security.AccessControl.SemaphoreRights rights) { throw null; } + public static bool TryOpenExisting(string name, System.Security.AccessControl.SemaphoreRights rights, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Threading.Semaphore? result) { throw null; } + } + public static partial class ThreadingAclExtensions + { + public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl(this System.Threading.EventWaitHandle handle) { throw null; } + public static System.Security.AccessControl.MutexSecurity GetAccessControl(this System.Threading.Mutex mutex) { throw null; } + public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl(this System.Threading.Semaphore semaphore) { throw null; } + public static void SetAccessControl(this System.Threading.EventWaitHandle handle, System.Security.AccessControl.EventWaitHandleSecurity eventSecurity) { } + public static void SetAccessControl(this System.Threading.Mutex mutex, System.Security.AccessControl.MutexSecurity mutexSecurity) { } + public static void SetAccessControl(this System.Threading.Semaphore semaphore, System.Security.AccessControl.SemaphoreSecurity semaphoreSecurity) { } + } +} diff --git a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.csproj b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.csproj index 561c79249b279..123b81cae4101 100644 --- a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.csproj +++ b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.csproj @@ -3,14 +3,11 @@ netstandard2.0;net461 enable - - - true - - + + - + diff --git a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.net461.cs b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.net461.cs new file mode 100644 index 0000000000000..d07e80cc45749 --- /dev/null +++ b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.net461.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the https://aka.ms/api-review process. +// ------------------------------------------------------------------------------ + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.EventWaitHandleAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.EventWaitHandleAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.EventWaitHandleRights))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.EventWaitHandleSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.MutexAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.MutexAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.MutexRights))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.MutexSecurity))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SemaphoreAccessRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SemaphoreAuditRule))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SemaphoreRights))] +[assembly: TypeForwardedTo(typeof(System.Security.AccessControl.SemaphoreSecurity))]