Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Add RuntimeFeature #804

Merged
merged 2 commits into from
Oct 17, 2018
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
5 changes: 5 additions & 0 deletions netstandard/ref/System.Runtime.CompilerServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ public sealed partial class RuntimeCompatibilityAttribute : System.Attribute
public RuntimeCompatibilityAttribute() { }
public bool WrapNonExceptionThrows { get { throw null; } set { } }
}
public static partial class RuntimeFeature
{
public const string PortablePdb = "PortablePdb";
public static bool IsSupported(string feature) { throw null; }
}
public static partial class RuntimeHelpers
{
public static int OffsetToStringData { get { throw null; } }
Expand Down
3 changes: 2 additions & 1 deletion netstandard/src/ApiCompatBaseline.net461.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ CannotMakeMemberNonVirtual : Member 'System.Reflection.TypeInfo.GetDeclaredPrope
CannotMakeMemberNonVirtual : Member 'System.Reflection.TypeInfo.ImplementedInterfaces.get()' is non-virtual in the implementation but is virtual in the contract.
CannotMakeMemberNonVirtual : Member 'System.Reflection.TypeInfo.IsAssignableFrom(System.Reflection.TypeInfo)' is non-virtual in the implementation but is virtual in the contract.
TypesMustExist : Type 'System.Runtime.CompilerServices.ITuple' does not exist in the implementation but it does exist in the contract.
TypesMustExist : Type 'System.Runtime.CompilerServices.RuntimeFeature' does not exist in the implementation but it does exist in the contract.
TypesMustExist : Type 'System.Runtime.Serialization.DataContractSerializerExtensions' does not exist in the implementation but it does exist in the contract.
TypesMustExist : Type 'System.Runtime.Serialization.ISerializationSurrogateProvider' does not exist in the implementation but it does exist in the contract.
TypesMustExist : Type 'System.Security.SecureStringMarshal' does not exist in the implementation but it does exist in the contract.
Expand Down Expand Up @@ -169,4 +170,4 @@ TypesMustExist : Type 'System.Threading.ThreadPoolBoundHandle' does not exist in
MembersMustExist : Member 'System.Threading.Tasks.Task.IsCompletedSuccessfully.get()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Threading.Tasks.TaskCanceledException..ctor(System.String, System.Exception, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract.
TypesMustExist : Type 'System.Xml.XPath.XDocumentExtensions' does not exist in the implementation but it does exist in the contract.
Total Issues: 170
Total Issues: 171
1 change: 1 addition & 0 deletions netstandard/src/GenApi.exclude.net461.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ T:System.Xml.XPath.XDocumentExtensions
T:System.Runtime.CompilerServices.ITuple
T:System.Collections.Generic.CollectionExtensions
T:System.Collections.Generic.KeyValuePair
T:System.Runtime.CompilerServices.RuntimeFeature