Skip to content

Commit

Permalink
Remove FEATURE_NETCORE_REFLECTION_API and related code
Browse files Browse the repository at this point in the history
This is dead code; with the previous switch to netstandard2.0, the missing functions became available  and this code stopped being built.

castleproject#612 - Updating Windsor to support Castle.Core@5.0.0 and modern TFMs
  • Loading branch information
Jevonius committed May 14, 2022
1 parent c36f01d commit 846af16
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 66 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Symbol | .NET 4.5 | .NET Standard
`FEATURE_GAC` | :white_check_mark: | :no_entry_sign:
`FEATURE_GETCALLINGASSEMBLY` | :white_check_mark: | :no_entry_sign:
`FEATURE_ISUPPORTINITIALIZE` | :white_check_mark: | :no_entry_sign:
`FEATURE_NETCORE_REFLECTION_API` | :no_entry_sign: | :white_check_mark:
`FEATURE_PERFCOUNTERS`            | :white_check_mark: | :no_entry_sign:
`FEATURE_REMOTING` | :white_check_mark: | :no_entry_sign:
`FEATURE_SECURITY_PERMISSIONS` | :white_check_mark: | :no_entry_sign:
Expand All @@ -52,7 +51,6 @@ Symbol | .NET 4.5 | .NET Standard
* `FEATURE_GAC` - enables support for obtaining assemblies using an assembly's long form name.
* `FEATURE_GETCALLINGASSEMBLY` - enables code that uses `System.Reflection.Assembly.GetCallingAssembly()`.
* `FEATURE_ISUPPORTINITIALIZE` - enables support for features that make use of `System.ComponentModel.ISupportInitialize`.
* `FEATURE_NETCORE_REFLECTION_API` - provides shims to implement missing functionality in .NET Core that have no alternatives.
* `FEATURE_PERFCOUNTERS` - enables code that uses Windows Performance Counters.
* `FEATURE_REMOTING` - supports remoting on various types including inheriting from `MarshalByRefObject`.
* `FEATURE_SECURITY_PERMISSIONS` - enables the use of CAS and `Security[Critical|SafeCritical|Transparent]`.
Expand Down
4 changes: 0 additions & 4 deletions buildscripts/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
<DefineConstants>$(DefineConstants);FEATURE_PERFCOUNTERS;FEATURE_GAC;FEATURE_ISUPPORTINITIALIZE;FEATURE_REMOTING;FEATURE_SECURITY_PERMISSIONS;FEATURE_SYSTEM_CONFIGURATION;FEATURE_SERIALIZATION;FEATURE_URIMEMBERS;FEATURE_GETCALLINGASSEMBLY;FEATURE_APPDOMAIN;FEATURE_CODEDOM;FEATURE_ASSEMBLIES;CASTLE_SERVICES_LOGGING;FEATURE_EVENTLOG</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.6'">
<DefineConstants>$(DefineConstants);FEATURE_NETCORE_REFLECTION_API</DefineConstants>
</PropertyGroup>

<ItemGroup>
<Content Include="..\..\CHANGELOG.md" />
<Content Include="..\..\LICENSE">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@

<ItemGroup>
<Compile Include="..\..\buildscripts\CommonAssemblyInfo.cs" />
<Compile Include="..\Castle.Windsor\Compatibility\NetCoreReflectionExtensions.cs" />
</ItemGroup>
</Project>
59 changes: 0 additions & 59 deletions src/Castle.Windsor/Compatibility/NetCoreReflectionExtensions.cs

This file was deleted.

0 comments on commit 846af16

Please sign in to comment.