What are the equivalent classes for ContractClass and ContractClassFor in .Net standard Library 1.2

AnkitaGoelAnkitaGoel USMember
edited February 2017 in Cross Platform with Xamarin


I am converting my .Net 4.5 class library to .Net Standard Library 1.2 (as we want to support Cross platform.

Few of my classes and interfaces use attributes ContractClassFor and ContractClass. These classes belongs to System.Diagnostics.Contracts. But I can not find thess classes in XAMARIN.
What are the equivalent classes for those I can use? Or if no classes present, how can I replace the code with ?

Thanks so much

Sign In or Register to comment.