You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
@ -15,6 +15,9 @@ namespace System
|
||||
public static readonly bool ThrowExceptionIfDisposedCancellationTokenSource = false;
|
||||
public static readonly bool SetActorAsReferenceWhenCopyingClaimsIdentity = false;
|
||||
public static readonly bool NoAsyncCurrentCulture = false;
|
||||
public static readonly bool EnforceJapaneseEraYearRanges = false;
|
||||
public static readonly bool FormatJapaneseFirstYearAsANumber = false;
|
||||
public static readonly bool EnforceLegacyJapaneseDateParsing = false;
|
||||
#else
|
||||
private static int _noAsyncCurrentCulture;
|
||||
public static bool NoAsyncCurrentCulture
|
||||
@ -26,6 +29,36 @@ namespace System
|
||||
}
|
||||
}
|
||||
|
||||
// from https://github.com/dotnet/coreclr/pull/18209
|
||||
private static int _enforceJapaneseEraYearRanges;
|
||||
public static bool EnforceJapaneseEraYearRanges
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return GetCachedSwitchValue(AppContextDefaultValues.SwitchEnforceJapaneseEraYearRanges, ref _enforceJapaneseEraYearRanges);
|
||||
}
|
||||
}
|
||||
|
||||
private static int _formatJapaneseFirstYearAsANumber;
|
||||
public static bool FormatJapaneseFirstYearAsANumber
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return GetCachedSwitchValue(AppContextDefaultValues.SwitchFormatJapaneseFirstYearAsANumber, ref _formatJapaneseFirstYearAsANumber);
|
||||
}
|
||||
}
|
||||
private static int _enforceLegacyJapaneseDateParsing;
|
||||
public static bool EnforceLegacyJapaneseDateParsing
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return GetCachedSwitchValue(AppContextDefaultValues.SwitchEnforceLegacyJapaneseDateParsing, ref _enforceLegacyJapaneseDateParsing);
|
||||
}
|
||||
}
|
||||
|
||||
private static int _throwExceptionIfDisposedCancellationTokenSource;
|
||||
public static bool ThrowExceptionIfDisposedCancellationTokenSource
|
||||
{
|
||||
|
Reference in New Issue
Block a user