File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/OpenTelemetry.Contrib.Shared.Tests Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
44#nullable enable
55
6- #if NET8_0_OR_GREATER
6+ #if NET
77using System . Collections . Frozen ;
88#endif
99using System . Diagnostics ;
@@ -21,7 +21,7 @@ internal sealed class RequestDataHelper
2121
2222 private static readonly char [ ] SplitChars = new [ ] { ',' } ;
2323
24- #if NET8_0_OR_GREATER
24+ #if NET
2525 private readonly FrozenDictionary < string , string > knownHttpMethods ;
2626#else
2727 private readonly Dictionary < string , string > knownHttpMethods ;
@@ -46,7 +46,7 @@ public RequestDataHelper(bool configureByHttpKnownMethodsEnvironmentalVariable)
4646 [ "CONNECT" ] = "CONNECT" ,
4747 } ;
4848
49- #if NET8_0_OR_GREATER
49+ #if NET
5050 this . knownHttpMethods = knownMethodSet . ToFrozenDictionary ( StringComparer . OrdinalIgnoreCase ) ;
5151#else
5252 this . knownHttpMethods = knownMethodSet ;
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
5- <TargetFrameworks >$(SupportedNetTargets )</TargetFrameworks >
5+ <TargetFrameworks >$(SupportedNetTargetsWithoutNet6 )</TargetFrameworks >
66 <TargetFrameworks Condition =" $(OS) == 'Windows_NT'" >$(TargetFrameworks);$(NetFrameworkMinimumSupportedVersion)</TargetFrameworks >
77 </PropertyGroup >
88
You can’t perform that action at this time.
0 commit comments