Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions PolyShim/NetCore10/CallerFilePathAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#if (NETFRAMEWORK && !NET45_OR_GREATER)
#nullable enable
// ReSharper disable RedundantUsingDirective
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePart

using System.Diagnostics.CodeAnalysis;

namespace System.Runtime.CompilerServices;

// https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callerfilepathattribute
[AttributeUsage(AttributeTargets.Parameter)]
[ExcludeFromCodeCoverage]
internal class CallerFilePathAttribute : Attribute;
#endif
16 changes: 16 additions & 0 deletions PolyShim/NetCore10/CallerLineNumberAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#if (NETFRAMEWORK && !NET45_OR_GREATER)
#nullable enable
// ReSharper disable RedundantUsingDirective
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePart

using System.Diagnostics.CodeAnalysis;

namespace System.Runtime.CompilerServices;

// https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callerlinenumberattribute
[AttributeUsage(AttributeTargets.Parameter)]
[ExcludeFromCodeCoverage]
internal class CallerLineNumberAttribute : Attribute;
#endif
16 changes: 16 additions & 0 deletions PolyShim/NetCore10/CallerMemberNameAttribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#if (NETFRAMEWORK && !NET45_OR_GREATER)
#nullable enable
// ReSharper disable RedundantUsingDirective
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePart

using System.Diagnostics.CodeAnalysis;

namespace System.Runtime.CompilerServices;

// https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callermembernameattribute
[AttributeUsage(AttributeTargets.Parameter)]
[ExcludeFromCodeCoverage]
internal class CallerMemberNameAttribute : Attribute;
#endif
10 changes: 8 additions & 2 deletions PolyShim/Signatures.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Signatures

- **Total:** 330
- **Types:** 71
- **Total:** 333
- **Types:** 74
- **Members:** 259

___
Expand All @@ -26,6 +26,12 @@ ___
- [`bool TryParse(string, IFormatProvider?, out byte)`](https://learn.microsoft.com/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-string-system-iformatprovider-system-byte@)) <sup><sub>.NET 7.0</sub></sup>
- `CallerArgumentExpressionAttribute`
- [**[class]**](https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callerargumentexpressionattribute) <sup><sub>.NET Core 3.0</sub></sup>
- `CallerFilePathAttribute`
- [**[class]**](https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callerfilepathattribute) <sup><sub>.NET Core 1.0</sub></sup>
- `CallerLineNumberAttribute`
- [**[class]**](https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callerlinenumberattribute) <sup><sub>.NET Core 1.0</sub></sup>
- `CallerMemberNameAttribute`
- [**[class]**](https://learn.microsoft.com/dotnet/api/system.runtime.compilerservices.callermembernameattribute) <sup><sub>.NET Core 1.0</sub></sup>
- `CancellationTokenSource`
- [`Task CancelAsync()`](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtokensource.cancelasync) <sup><sub>.NET 8.0</sub></sup>
- `CompilerFeatureRequiredAttribute`
Expand Down
Loading