aspnetcore/src
Ken Egozi cc0665cb6f
TypeReference usage clarification (#25719)
This change makes TypeReference usage a little bit easier

- Marking it abstract make it so that usages cannot "forget" subclassing (or omitting the { } part). Previously the error message would be confusing as the supertype would be Object.
- Removing the instanceof check and relying on exception since instantiating TypeReference without a type parameter (new TypeReference() ) *is* exceptional as it goes against the intention of this class altogether.
- Added some clarification to the javadoc regarding intended usage, and a link to prior art for further reading.
2020-09-10 15:02:21 -07:00
..
Analyzers Remove extra public API baseline files (#25655) 2020-09-06 16:37:29 -07:00
Antiforgery
Azure
Components Use ICU sharding (#25521) 2020-09-10 10:17:02 -07:00
Configuration.KeyPerFile
DataProtection
DefaultBuilder
Features/JsonPatch
FileProviders
Framework Strip duplicate files from SharedFx input to Nuget Pack (#25733) 2020-09-09 14:15:17 -07:00
Grpc
HealthChecks
Hosting [release/5.0-rc2] Update dependencies from dotnet/arcade dotnet/runtime dotnet/efcore (#25555) 2020-09-08 23:34:53 +00:00
Html/Abstractions [release/5.0-rc2] Add public API baselines for HTML and HTTP (#25638) 2020-09-06 14:26:02 -07:00
Http Update DfaMatcherBuilder to use the correct behavior (#25616) 2020-09-10 10:18:32 -07:00
Identity Accessibility fixes (#25678) 2020-09-09 11:08:10 -07:00
Installers Enable ARM64 installers build. (#25579) 2020-09-10 10:59:37 -07:00
JSInterop
Localization
Logging.AzureAppServices
Middleware Add PublicAPI baselines for Middleware (#25602) 2020-09-05 15:41:20 -07:00
MusicStore
Mvc Use JsonSerializerDefaults instead of specifying individual options (#25747) 2020-09-10 11:54:00 -07:00
ObjectPool Add Public API baselines for Razor (#25637) 2020-09-10 13:27:09 -07:00
ProjectTemplates Update error page (#25706) 2020-09-10 10:20:19 -07:00
Razor Add Public API baselines for Razor (#25637) 2020-09-10 13:27:09 -07:00
Security Add Public API baselines for Security (#25651) 2020-09-09 21:07:15 -07:00
Servers Add public API baselines for Servers (#25652) 2020-09-09 21:07:55 -07:00
Shared Update JSCallResultTypeHelper.cs (#25628) 2020-09-09 13:33:47 -07:00
SignalR TypeReference usage clarification (#25719) 2020-09-10 15:02:21 -07:00
SiteExtensions Add public API baselines for SiteExtensions, Testing, WebEncoders (#25654) 2020-09-10 11:45:01 -07:00
Testing Add public API baselines for SiteExtensions, Testing, WebEncoders (#25654) 2020-09-10 11:45:01 -07:00
Tools
WebEncoders Add public API baselines for SiteExtensions, Testing, WebEncoders (#25654) 2020-09-10 11:45:01 -07:00
submodules