diff options
51 files changed, 1376 insertions, 1269 deletions
diff --git a/src/inc/clrconfigvalues.h b/src/inc/clrconfigvalues.h index 701df31ccf..19b9fa79c3 100644 --- a/src/inc/clrconfigvalues.h +++ b/src/inc/clrconfigvalues.h @@ -1026,6 +1026,8 @@ RETAIL_CONFIG_DWORD_INFO(EXTERNAL_ReadyToRun, W("ReadyToRun"), 0, "Enable/disabl #if defined(FEATURE_EVENT_TRACE) || defined(FEATURE_EVENTSOURCE_XPLAT) RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableEventLog, W("EnableEventLog"), 0, "Enable/disable use of EnableEventLogging mechanism ") // Off by default +RETAIL_CONFIG_STRING_INFO(INTERNAL_EventSourceFilter, W("EventSourceFilter"), "") +RETAIL_CONFIG_STRING_INFO(INTERNAL_EventNameFilter, W("EventNameFilter"), "") #endif //defined(FEATURE_EVENT_TRACE) || defined(FEATURE_EVENTSOURCE_XPLAT) // diff --git a/src/inc/eventtracebase.h b/src/inc/eventtracebase.h index 82332b5437..f773a7c375 100644 --- a/src/inc/eventtracebase.h +++ b/src/inc/eventtracebase.h @@ -298,12 +298,6 @@ extern "C" { #include "clretwallmain.h" -// The bulk type event is too complex for MC.exe to auto-generate proper code. -// Use code:BulkTypeEventLogger instead. -#ifdef FireEtwBulkType -#undef FireEtwBulkType -#endif // FireEtwBulkType - #endif // FEATURE_EVENT_TRACE /**************************/ diff --git a/src/mscorlib/System.Private.CoreLib.csproj b/src/mscorlib/System.Private.CoreLib.csproj index 4529f45657..468b69406c 100644 --- a/src/mscorlib/System.Private.CoreLib.csproj +++ b/src/mscorlib/System.Private.CoreLib.csproj @@ -30,7 +30,6 @@ <HighEntropyVA>true</HighEntropyVA> <ErrorReport>prompt</ErrorReport> <Optimize Condition="'$(Optimize)' == ''">true</Optimize> - <GenerateNativeVersionInfo Condition="'$(OsEnvironment)'=='Windows_NT'">true</GenerateNativeVersionInfo> <CLSCompliant>true</CLSCompliant> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> diff --git a/src/mscorlib/facade/mscorlib.csproj b/src/mscorlib/facade/mscorlib.csproj index a3d673f277..d163967d43 100644 --- a/src/mscorlib/facade/mscorlib.csproj +++ b/src/mscorlib/facade/mscorlib.csproj @@ -26,6 +26,9 @@ though still use the 'x64' output path (see use of BuildArch below) --> <Platform Condition=" '$(Platform)' == 'x64' ">amd64</Platform> <Platform Condition=" '$(Platform)' == 'arm-softfp' ">arm</Platform> + + <!-- We want to exclude the transitive closure of the packages pulled in via project.json as that introduces ambiguity --> + <OmitTransitiveCompileReferences>true</OmitTransitiveCompileReferences> </PropertyGroup> <!-- Default configurations to help VS understand the options --> diff --git a/src/mscorlib/facade/project.json b/src/mscorlib/facade/project.json new file mode 100644 index 0000000000..c3a0e7de9b --- /dev/null +++ b/src/mscorlib/facade/project.json @@ -0,0 +1,13 @@ +{ + "dependencies": { + "System.Security.Cryptography.Primitives": "4.0.0-rc2-24027", + "System.Security.Claims": "4.0.0-rc2-24027" + }, + "frameworks": { + "netstandard1.3": { + "imports": [ + "dotnet5.4" + ] + } + } +}
\ No newline at end of file diff --git a/src/mscorlib/mscorlib.csproj b/src/mscorlib/mscorlib.csproj index eca1790ea5..ec96bf1db3 100644 --- a/src/mscorlib/mscorlib.csproj +++ b/src/mscorlib/mscorlib.csproj @@ -30,7 +30,6 @@ <HighEntropyVA>true</HighEntropyVA> <ErrorReport>prompt</ErrorReport> <Optimize Condition="'$(Optimize)' == ''">true</Optimize> - <GenerateNativeVersionInfo Condition="'$(OsEnvironment)'=='Windows_NT'">true</GenerateNativeVersionInfo> <CLSCompliant>true</CLSCompliant> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> diff --git a/src/mscorlib/ref/mscorlib.cs b/src/mscorlib/ref/mscorlib.cs index 5d62087524..25222410f5 100644 --- a/src/mscorlib/ref/mscorlib.cs +++ b/src/mscorlib/ref/mscorlib.cs @@ -1,3 +1,5 @@ +[assembly:System.Runtime.CompilerServices.InternalsVisibleTo("System.Runtime.WindowsRuntime, PublicKey=00000000000000000400000000000000")] + namespace Microsoft.Win32.SafeHandles { [System.Security.SecurityCriticalAttribute] @@ -17,6 +19,12 @@ namespace Microsoft.Win32.SafeHandles } namespace System { + [System.Runtime.InteropServices.ComVisible(true)] + public interface ICloneable + { + object Clone(); + } + [System.Runtime.InteropServices.ComVisibleAttribute(true)] public partial class AccessViolationException : System.SystemException { @@ -1749,6 +1757,9 @@ namespace System public virtual System.Exception GetBaseException() { return default(System.Exception); } [System.Security.SecuritySafeCriticalAttribute] public override string ToString() { return default(string); } + + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal void AddExceptionDataForRestrictedErrorInfo(string restrictedError, string restrictedErrorReference, string restrictedCapabilitySid, object restrictedErrorObject, bool hasrestrictedLanguageErrorObject = false) { } } [System.ObsoleteAttribute("This type previously indicated an unspecified fatal error in the runtime. The runtime no longer raises this exception so this type is obsolete.")] [System.Runtime.InteropServices.ComVisibleAttribute(true)] @@ -4806,6 +4817,60 @@ namespace System.Diagnostics.SymbolStore } namespace System.Diagnostics.Tracing { + [System.Diagnostics.Tracing.EventSourceAttribute(Guid = "8E9F5090-2D75-4d03-8A81-E5AFBF85DAF1", Name = "System.Diagnostics.Eventing.FrameworkEventSource")] + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal sealed partial class FrameworkEventSource : System.Diagnostics.Tracing.EventSource + { + internal static readonly System.Diagnostics.Tracing.FrameworkEventSource Log; + private FrameworkEventSource() { } + internal static bool IsInitialized { get { return default(bool); } } + [System.Diagnostics.Tracing.EventAttribute(31, Level = (System.Diagnostics.Tracing.EventLevel)(5), Keywords = (System.Diagnostics.Tracing.EventKeywords)(18))] + internal void ThreadPoolDequeueWork(long workID) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal void ThreadPoolDequeueWorkObject(object workID) { } + [System.Diagnostics.Tracing.EventAttribute(30, Level = (System.Diagnostics.Tracing.EventLevel)(5), Keywords = (System.Diagnostics.Tracing.EventKeywords)(18))] + internal void ThreadPoolEnqueueWork(long workID) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal void ThreadPoolEnqueueWorkObject(object workID) { } + [System.Diagnostics.Tracing.EventAttribute(151, Level = (System.Diagnostics.Tracing.EventLevel)(4), Keywords = (System.Diagnostics.Tracing.EventKeywords)(16), Task = (System.Diagnostics.Tracing.EventTask)(3), Opcode = (System.Diagnostics.Tracing.EventOpcode)(240))] + internal void ThreadTransferReceive(long id, int kind, string info) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal void ThreadTransferReceiveObj(object id, int kind, string info) { } + [System.Diagnostics.Tracing.EventAttribute(150, Level = (System.Diagnostics.Tracing.EventLevel)(4), Keywords = (System.Diagnostics.Tracing.EventKeywords)(16), Task = (System.Diagnostics.Tracing.EventTask)(3), Opcode = (System.Diagnostics.Tracing.EventOpcode)(9))] + internal void ThreadTransferSend(long id, int kind, string info, bool multiDequeues) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal void ThreadTransferSendObj(object id, int kind, string info, bool multiDequeues) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + private void WriteEvent(int eventId, long arg1, int arg2, string arg3) { } + [System.Diagnostics.Tracing.NonEventAttribute] + [System.Security.SecuritySafeCriticalAttribute] + private void WriteEvent(int eventId, long arg1, int arg2, string arg3, bool arg4) { } + public static partial class Keywords + { + public const System.Diagnostics.Tracing.EventKeywords DynamicTypeUsage = (System.Diagnostics.Tracing.EventKeywords)8; + public const System.Diagnostics.Tracing.EventKeywords Loader = (System.Diagnostics.Tracing.EventKeywords)1; + public const System.Diagnostics.Tracing.EventKeywords NetClient = (System.Diagnostics.Tracing.EventKeywords)4; + public const System.Diagnostics.Tracing.EventKeywords ThreadPool = (System.Diagnostics.Tracing.EventKeywords)2; + public const System.Diagnostics.Tracing.EventKeywords ThreadTransfer = (System.Diagnostics.Tracing.EventKeywords)16; + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + public static partial class Opcodes + { + public const System.Diagnostics.Tracing.EventOpcode ReceiveHandled = (System.Diagnostics.Tracing.EventOpcode)11; + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + public static partial class Tasks + { + public const System.Diagnostics.Tracing.EventTask GetRequestStream = (System.Diagnostics.Tracing.EventTask) 2; + public const System.Diagnostics.Tracing.EventTask GetResponse = (System.Diagnostics.Tracing.EventTask)1; + public const System.Diagnostics.Tracing.EventTask ThreadTransfer = (System.Diagnostics.Tracing.EventTask)3; + } + } [System.FlagsAttribute] public enum EventActivityOptions { @@ -5132,6 +5197,386 @@ namespace System.Diagnostics.Tracing } namespace System.Globalization { + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal partial class CultureData + { + private bool bNeutral; + private bool bUseOverrides; + private System.Globalization.CalendarData[] calendars; + private int iCurrency; + private int iCurrencyDigits; + private int iDigits; + private int iDigitSubstitution; + private int iFirstDayOfWeek; + private int iFirstWeekOfYear; + private int iGeoId; + private int iLeadingZeros; + private int iMeasure; + private int iNegativeCurrency; + private int iNegativeNumber; + private int iNegativePercent; + private int iPositivePercent; + private int iReadingLayout; + private const uint LOCALE_FONTSIGNATURE = (uint)88; + private const uint LOCALE_ICALENDARTYPE = (uint)4105; + private const uint LOCALE_ICENTURY = (uint)36; + private const uint LOCALE_ICOUNTRY = (uint)5; + private const uint LOCALE_ICURRDIGITS = (uint)25; + private const uint LOCALE_ICURRENCY = (uint)27; + private const uint LOCALE_IDATE = (uint)33; + private const uint LOCALE_IDAYLZERO = (uint)38; + private const uint LOCALE_IDEFAULTANSICODEPAGE = (uint)4100; + private const uint LOCALE_IDEFAULTCODEPAGE = (uint)11; + private const uint LOCALE_IDEFAULTCOUNTRY = (uint)10; + private const uint LOCALE_IDEFAULTEBCDICCODEPAGE = (uint)4114; + private const uint LOCALE_IDEFAULTLANGUAGE = (uint)9; + private const uint LOCALE_IDEFAULTMACCODEPAGE = (uint)4113; + private const uint LOCALE_IDIGITS = (uint)17; + private const uint LOCALE_IDIGITSUBSTITUTION = (uint)4116; + private const uint LOCALE_IFIRSTDAYOFWEEK = (uint)4108; + private const uint LOCALE_IFIRSTWEEKOFYEAR = (uint)4109; + private const uint LOCALE_IGEOID = (uint)91; + private const uint LOCALE_IINTLCURRDIGITS = (uint)26; + private const uint LOCALE_ILDATE = (uint)34; + private const uint LOCALE_ILZERO = (uint)18; + private const uint LOCALE_IMEASURE = (uint)13; + private const uint LOCALE_IMONLZERO = (uint)39; + private const uint LOCALE_INEGATIVEPERCENT = (uint)116; + private const uint LOCALE_INEGCURR = (uint)28; + private const uint LOCALE_INEGNUMBER = (uint)4112; + private const uint LOCALE_INEGSEPBYSPACE = (uint)87; + private const uint LOCALE_INEGSIGNPOSN = (uint)83; + private const uint LOCALE_INEGSYMPRECEDES = (uint)86; + private const uint LOCALE_INEUTRAL = (uint)113; + private const uint LOCALE_IOPTIONALCALENDAR = (uint)4107; + private const uint LOCALE_IPAPERSIZE = (uint)4106; + private const uint LOCALE_IPOSITIVEPERCENT = (uint)117; + private const uint LOCALE_IPOSSEPBYSPACE = (uint)85; + private const uint LOCALE_IPOSSIGNPOSN = (uint)82; + private const uint LOCALE_IPOSSYMPRECEDES = (uint)84; + private const uint LOCALE_IREADINGLAYOUT = (uint)112; + private const uint LOCALE_ITIME = (uint)35; + private const uint LOCALE_ITIMEMARKPOSN = (uint)4101; + private const uint LOCALE_ITLZERO = (uint)37; + private const uint LOCALE_NOUSEROVERRIDE = (uint)2147483648; + private const uint LOCALE_RETURN_GENITIVE_NAMES = (uint)268435456; + private const uint LOCALE_RETURN_NUMBER = (uint)536870912; + private const uint LOCALE_S1159 = (uint)40; + private const uint LOCALE_S2359 = (uint)41; + private const uint LOCALE_SABBREVCTRYNAME = (uint)7; + private const uint LOCALE_SABBREVDAYNAME1 = (uint)49; + private const uint LOCALE_SABBREVDAYNAME2 = (uint)50; + private const uint LOCALE_SABBREVDAYNAME3 = (uint)51; + private const uint LOCALE_SABBREVDAYNAME4 = (uint)52; + private const uint LOCALE_SABBREVDAYNAME5 = (uint)53; + private const uint LOCALE_SABBREVDAYNAME6 = (uint)54; + private const uint LOCALE_SABBREVDAYNAME7 = (uint)55; + private const uint LOCALE_SABBREVLANGNAME = (uint)3; + private const uint LOCALE_SABBREVMONTHNAME1 = (uint)68; + private const uint LOCALE_SABBREVMONTHNAME10 = (uint)77; + private const uint LOCALE_SABBREVMONTHNAME11 = (uint)78; + private const uint LOCALE_SABBREVMONTHNAME12 = (uint)79; + private const uint LOCALE_SABBREVMONTHNAME13 = (uint)4111; + private const uint LOCALE_SABBREVMONTHNAME2 = (uint)69; + private const uint LOCALE_SABBREVMONTHNAME3 = (uint)70; + private const uint LOCALE_SABBREVMONTHNAME4 = (uint)71; + private const uint LOCALE_SABBREVMONTHNAME5 = (uint)72; + private const uint LOCALE_SABBREVMONTHNAME6 = (uint)73; + private const uint LOCALE_SABBREVMONTHNAME7 = (uint)74; + private const uint LOCALE_SABBREVMONTHNAME8 = (uint)75; + private const uint LOCALE_SABBREVMONTHNAME9 = (uint)76; + private const uint LOCALE_SCONSOLEFALLBACKNAME = (uint)110; + private const uint LOCALE_SCURRENCY = (uint)20; + private const uint LOCALE_SDATE = (uint)29; + private const uint LOCALE_SDAYNAME1 = (uint)42; + private const uint LOCALE_SDAYNAME2 = (uint)43; + private const uint LOCALE_SDAYNAME3 = (uint)44; + private const uint LOCALE_SDAYNAME4 = (uint)45; + private const uint LOCALE_SDAYNAME5 = (uint)46; + private const uint LOCALE_SDAYNAME6 = (uint)47; + private const uint LOCALE_SDAYNAME7 = (uint)48; + private const uint LOCALE_SDECIMAL = (uint)14; + private const uint LOCALE_SDURATION = (uint)93; + private const uint LOCALE_SENGCURRNAME = (uint)4103; + private const uint LOCALE_SENGLISHCOUNTRYNAME = (uint)4098; + private const uint LOCALE_SENGLISHDISPLAYNAME = (uint)114; + private const uint LOCALE_SENGLISHLANGUAGENAME = (uint)4097; + private const uint LOCALE_SGROUPING = (uint)16; + private const uint LOCALE_SINTLSYMBOL = (uint)21; + private const uint LOCALE_SISO3166CTRYNAME = (uint)90; + private const uint LOCALE_SISO3166CTRYNAME2 = (uint)104; + private const uint LOCALE_SISO639LANGNAME = (uint)89; + private const uint LOCALE_SISO639LANGNAME2 = (uint)103; + private const uint LOCALE_SKEYBOARDSTOINSTALL = (uint)94; + private const uint LOCALE_SLIST = (uint)12; + private const uint LOCALE_SLOCALIZEDCOUNTRYNAME = (uint)6; + private const uint LOCALE_SLOCALIZEDDISPLAYNAME = (uint)2; + private const uint LOCALE_SLOCALIZEDLANGUAGENAME = (uint)111; + private const uint LOCALE_SLONGDATE = (uint)32; + private const uint LOCALE_SMONDECIMALSEP = (uint)22; + private const uint LOCALE_SMONGROUPING = (uint)24; + private const uint LOCALE_SMONTHDAY = (uint)120; + private const uint LOCALE_SMONTHNAME1 = (uint)56; + private const uint LOCALE_SMONTHNAME10 = (uint)65; + private const uint LOCALE_SMONTHNAME11 = (uint)66; + private const uint LOCALE_SMONTHNAME12 = (uint)67; + private const uint LOCALE_SMONTHNAME13 = (uint)4110; + private const uint LOCALE_SMONTHNAME2 = (uint)57; + private const uint LOCALE_SMONTHNAME3 = (uint)58; + private const uint LOCALE_SMONTHNAME4 = (uint)59; + private const uint LOCALE_SMONTHNAME5 = (uint)60; + private const uint LOCALE_SMONTHNAME6 = (uint)61; + private const uint LOCALE_SMONTHNAME7 = (uint)62; + private const uint LOCALE_SMONTHNAME8 = (uint)63; + private const uint LOCALE_SMONTHNAME9 = (uint)64; + private const uint LOCALE_SMONTHOUSANDSEP = (uint)23; + private const uint LOCALE_SNAME = (uint)92; + private const uint LOCALE_SNAN = (uint)105; + private const uint LOCALE_SNATIVECOUNTRYNAME = (uint)8; + private const uint LOCALE_SNATIVECURRNAME = (uint)4104; + private const uint LOCALE_SNATIVEDIGITS = (uint)19; + private const uint LOCALE_SNATIVEDISPLAYNAME = (uint)115; + private const uint LOCALE_SNATIVELANGUAGENAME = (uint)4; + private const uint LOCALE_SNEGATIVESIGN = (uint)81; + private const uint LOCALE_SNEGINFINITY = (uint)107; + private const uint LOCALE_SOPENTYPELANGUAGETAG = (uint)122; + private const uint LOCALE_SPARENT = (uint)109; + private const uint LOCALE_SPERCENT = (uint)118; + private const uint LOCALE_SPERMILLE = (uint)119; + private const uint LOCALE_SPOSINFINITY = (uint)106; + private const uint LOCALE_SPOSITIVESIGN = (uint)80; + private const uint LOCALE_SSCRIPTS = (uint)108; + private const uint LOCALE_SSHORTDATE = (uint)31; + private const uint LOCALE_SSHORTESTDAYNAME1 = (uint)96; + private const uint LOCALE_SSHORTESTDAYNAME2 = (uint)97; + private const uint LOCALE_SSHORTESTDAYNAME3 = (uint)98; + private const uint LOCALE_SSHORTESTDAYNAME4 = (uint)99; + private const uint LOCALE_SSHORTESTDAYNAME5 = (uint)100; + private const uint LOCALE_SSHORTESTDAYNAME6 = (uint)101; + private const uint LOCALE_SSHORTESTDAYNAME7 = (uint)102; + private const uint LOCALE_SSHORTTIME = (uint)121; + private const uint LOCALE_SSORTLOCALE = (uint)123; + private const uint LOCALE_SSORTNAME = (uint)4115; + private const uint LOCALE_STHOUSAND = (uint)15; + private const uint LOCALE_STIME = (uint)30; + private const uint LOCALE_STIMEFORMAT = (uint)4099; + private const uint LOCALE_SYEARMONTH = (uint)4102; + private static System.Collections.Generic.Dictionary<string, System.Globalization.CultureData> s_cachedCultures; + private static System.Collections.Generic.Dictionary<string, System.Globalization.CultureData> s_cachedRegions; + private static System.Globalization.CultureData s_Invariant; + private string[] saDurationFormats; + private string[] saLongTimes; + private string sAM1159; + private string[] saNativeDigits; + private string[] saShortTimes; + private string sCompareInfo; + private string sCurrency; + private string sDecimalSeparator; + private string sEnglishCountry; + private string sEnglishCurrency; + private string sEnglishDisplayName; + private string sEnglishLanguage; + private string sIntlMonetarySymbol; + private string sISO3166CountryName; + private string sISO639Language; + private string sListSeparator; + private string sLocalizedCountry; + private string sLocalizedDisplayName; + private string sLocalizedLanguage; + private string sMonetaryDecimal; + private string sMonetaryThousand; + private string sName; + private string sNaN; + private string sNativeCountry; + private string sNativeCurrency; + private string sNativeDisplayName; + private string sNativeLanguage; + private string sNegativeInfinity; + private string sNegativeSign; + private string sParent; + internal static System.Globalization.CultureInfo[] specificCultures; + private string sPercent; + private string sPerMille; + private string sPM2359; + private string sPositiveInfinity; + private string sPositiveSign; + private string sRealName; + private string sRegionName; + private string sScripts; + private string sSpecificCulture; + private string sTextInfo; + private string sThousandSeparator; + private string sTimeSeparator; + private string sWindowsName; + internal const uint TIME_NOSECONDS = (uint)2; + private const int undef = -1; + private int[] waCalendars; + private int[] waGrouping; + private int[] waMonetaryGrouping; + public CultureData() { } + internal int[] CalendarIds { get { return default(int[]); } } + internal string CultureName { get { return default(string); } } + internal System.Globalization.Calendar DefaultCalendar { get { return default(System.Globalization.Calendar); } } + internal int IFIRSTDAYOFWEEK { get { return default(int); } } + internal int IFIRSTWEEKOFYEAR { get { return default(int); } } + internal int IMEASURE { get { return default(int); } } + internal int INEGATIVEPERCENT { get { return default(int); } } + internal static System.Globalization.CultureData Invariant { get { return default(System.Globalization.CultureData); } } + internal int IPOSITIVEPERCENT { get { return default(int); } } + private int IREADINGLAYOUT { get { return default(int); } } + internal bool IsInvariantCulture { get { return default(bool); } } + internal bool IsNeutralCulture { get { return default(bool); } } + internal bool IsRightToLeft { get { return default(bool); } } + internal string[] LongTimes { get { return default(string[]); } } + internal string SAM1159 { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SCOMPAREINFO { get { return default(string); } } + internal string SCURRENCY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SENGCOUNTRY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SENGDISPLAYNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SENGLISHLANGUAGE { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string[] ShortTimes { get { return default(string[]); } } + internal string SINTLSYMBOL { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SISO3166CTRYNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SISO639LANGNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SLIST { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SLOCALIZEDCOUNTRY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SLOCALIZEDDISPLAYNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SLOCALIZEDLANGUAGE { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SNAME { get { return default(string); } } + internal string SNAN { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SNATIVECOUNTRY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SNATIVEDISPLAYNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SNATIVELANGUAGE { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SNEGINFINITY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SPARENT { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + private static System.Globalization.CultureInfo[] SpecificCultures { get { return default(System.Globalization.CultureInfo[]); } } + internal string SPERCENT { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SPERMILLE { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SPM2359 { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SPOSINFINITY { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string SREGIONNAME { [System.Security.SecurityCriticalAttribute]get { return default(string); } } + internal string STEXTINFO { get { return default(string); } } + internal string TimeSeparator { [System.Security.SecuritySafeCriticalAttribute]get { return default(string); } } + internal bool UseUserOverride { get { return default(bool); } } + internal int[] WAGROUPING { [System.Security.SecurityCriticalAttribute]get { return default(int[]); } } + internal int[] WAMONGROUPING { [System.Security.SecurityCriticalAttribute]get { return default(int[]); } } + internal string[] AbbrevEraNames(int calendarId) { return default(string[]); } + internal string[] AbbreviatedDayNames(int calendarId) { return default(string[]); } + internal string[] AbbreviatedEnglishEraNames(int calendarId) { return default(string[]); } + internal string[] AbbreviatedGenitiveMonthNames(int calendarId) { return default(string[]); } + internal string[] AbbreviatedMonthNames(int calendarId) { return default(string[]); } + internal static string AnsiToLower(string testString) { return default(string); } + private static int ConvertFirstDayOfWeekMonToSun(int iTemp) { return default(int); } + private static int[] ConvertWin32GroupString(string win32Str) { return default(int[]); } + private static System.Globalization.CultureData CreateCultureData(string cultureName, bool useUserOverride) { return default(System.Globalization.CultureData); } + internal string DateSeparator(int calendarId) { return default(string); } + internal string[] DayNames(int calendarId) { return default(string[]); } + private string[] DeriveShortTimesFromLong() { return default(string[]); } + private string[] DoEnumShortTimeFormats() { return default(string[]); } + private string[] DoEnumTimeFormats() { return default(string[]); } + [System.Security.SecurityCriticalAttribute] + private string DoGetLocaleInfo(string localeName, uint lctype) { return default(string); } + [System.Security.SecurityCriticalAttribute] + private string DoGetLocaleInfo(uint lctype) { return default(string); } + private int DoGetLocaleInfoInt(uint lctype) { return default(int); } + internal string[] EraNames(int calendarId) { return default(string[]); } + internal string[] GenitiveMonthNames(int calendarId) { return default(string[]); } + internal System.Globalization.CalendarData GetCalendar(int calendarId) { return default(System.Globalization.CalendarData); } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static System.Globalization.CultureData GetCultureData(string cultureName, bool useUserOverride) { return default(System.Globalization.CultureData); } + [System.Security.SecurityCriticalAttribute] + internal static System.Globalization.CultureData GetCultureDataForRegion(string cultureName, bool useUserOverride) { return default(System.Globalization.CultureData); } + [System.Security.SecuritySafeCriticalAttribute] + internal static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { return default(System.Globalization.CultureInfo[]); } + private static string GetDateSeparator(string format) { return default(string); } + private static int GetIndexOfNextTokenAfterSeconds(string time, int index, out bool containsSpace) { containsSpace = default(bool); return default(int); } + [System.Security.SecurityCriticalAttribute] + internal void GetNFIValues(System.Globalization.NumberFormatInfo nfi) { } + private static string GetSeparator(string format, string timeParts) { return default(string); } + private static string GetTimeSeparator(string format) { return default(string); } + private static int IndexOfTimePart(string format, int startIndex, string timeParts) { return default(int); } + private bool InitCultureData() { return default(bool); } + internal string[] LeapYearMonthNames(int calendarId) { return default(string[]); } + internal string[] LongDates(int calendarId) { return default(string[]); } + internal string MonthDay(int calendarId) { return default(string); } + internal string[] MonthNames(int calendarId) { return default(string[]); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)] + [System.Security.SecurityCriticalAttribute] + internal static int nativeEnumCultureNames(int cultureTypes, System.Runtime.CompilerServices.ObjectHandleOnStack retStringArray) { return default(int); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecuritySafeCriticalAttribute] + private static string[] nativeEnumTimeFormats(string localeName, uint dwFlags, bool useUserOverride) { return default(string[]); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecuritySafeCriticalAttribute] + internal static bool nativeGetNumberFormatInfoValues(string localeName, System.Globalization.NumberFormatInfo nfi, bool useUserOverride) { return default(bool); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecuritySafeCriticalAttribute] + internal static bool nativeInitCultureData(System.Globalization.CultureData cultureData) { return default(bool); } + internal static string ReescapeWin32String(string str) { return default(string); } + internal static string[] ReescapeWin32Strings(string[] array) { return default(string[]); } + internal string[] ShortDates(int calendarId) { return default(string[]); } + private static string StripSecondsFromPattern(string time) { return default(string); } + internal string[] SuperShortDayNames(int calendarId) { return default(string[]); } + private static string UnescapeNlsString(string str, int start, int end) { return default(string); } + internal string[] YearMonths(int calendarId) { return default(string[]); } + } + + internal partial class CalendarData + { + internal bool bUseUserOverrides; + internal int iCurrentEra; + internal static System.Globalization.CalendarData Invariant; + internal int iTwoDigitYearMax; + internal const int MAX_CALENDARS = 23; + internal string[] saAbbrevDayNames; + internal string[] saAbbrevEnglishEraNames; + internal string[] saAbbrevEraNames; + internal string[] saAbbrevMonthGenitiveNames; + internal string[] saAbbrevMonthNames; + internal string[] saDayNames; + internal string[] saEraNames; + internal string[] saLeapYearMonthNames; + internal string[] saLongDates; + internal string[] saMonthGenitiveNames; + internal string[] saMonthNames; + internal string[] saShortDates; + internal string[] saSuperShortDayNames; + internal string[] saYearMonths; + internal string sMonthDay; + internal string sNativeName; + private CalendarData() { } + internal CalendarData(string localeName, int calendarId, bool bUseUserOverrides) { } + private static string CalendarIdToCultureName(int calendarId) { return default(string); } + internal static System.Globalization.CalendarData GetCalendarData(int calendarId) { return default(System.Globalization.CalendarData); } + private void InitializeAbbreviatedEraNames(string localeName, int calendarId) { } + private void InitializeEraNames(string localeName, int calendarId) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecuritySafeCriticalAttribute] + private static bool nativeGetCalendarData(System.Globalization.CalendarData data, string localeName, int calendar) { return default(bool); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecuritySafeCriticalAttribute] + internal static int nativeGetCalendars(string localeName, bool useUserOverride, int[] calendars) { calendars = default(int[]); return default(int); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecurityCriticalAttribute] + internal static int nativeGetTwoDigitYearMax(int calID) { return default(int); } + } + + [System.FlagsAttribute] + [System.Runtime.InteropServices.ComVisibleAttribute(true)] + internal enum CultureTypes + { + AllCultures = 7, + [System.ObsoleteAttribute("This value has been deprecated. Please use other values in CultureTypes.")] + FrameworkCultures = 64, + InstalledWin32Cultures = 4, + NeutralCultures = 1, + ReplacementCultures = 16, + SpecificCultures = 2, + UserCustomCulture = 8, + [System.ObsoleteAttribute("This value has been deprecated. Please use other values in CultureTypes.")] + WindowsOnlyCultures = 32, + } + [System.Runtime.InteropServices.ComVisibleAttribute(true)] public abstract partial class Calendar { @@ -5966,6 +6411,67 @@ namespace System.Globalization } namespace System.IO { + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Runtime.InteropServices.ComVisibleAttribute(true)] + internal sealed partial class BufferedStream : System.IO.Stream + { + private byte[] _buffer; + private readonly int _bufferSize; + private const int _DefaultBufferSize = 4096; + private System.Threading.Tasks.Task<int> _lastSyncCompletedReadTask; + private int _readLen; + private int _readPos; + private System.IO.Stream _stream; + private int _writePos; + private const int MaxShadowBufferSize = 81920; + private BufferedStream() { } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal BufferedStream(System.IO.Stream stream, int bufferSize) { } + internal int BufferSize { [System.Runtime.CompilerServices.FriendAccessAllowedAttribute]get { return default(int); } } + public override bool CanRead { get { return default(bool); } } + public override bool CanSeek { get { return default(bool); } } + public override bool CanWrite { get { return default(bool); } } + public override long Length { get { return default(long); } } + public override long Position { get { return default(long); } set { } } + internal System.IO.Stream UnderlyingStream { [System.Runtime.CompilerServices.FriendAccessAllowedAttribute]get { return default(System.IO.Stream); } } + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { return default(System.IAsyncResult); } + private System.IAsyncResult BeginReadFromUnderlyingStream(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state, int bytesAlreadySatisfied, System.Threading.Tasks.Task semaphoreLockTask) { return default(System.IAsyncResult); } + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { return default(System.IAsyncResult); } + private System.IAsyncResult BeginWriteToUnderlyingStream(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state, System.Threading.Tasks.Task semaphoreLockTask) { return default(System.IAsyncResult); } + private void ClearReadBufferBeforeWrite() { } + protected override void Dispose(bool disposing) { } + public override int EndRead(System.IAsyncResult asyncResult) { return default(int); } + public override void EndWrite(System.IAsyncResult asyncResult) { } + private void EnsureBeginEndAwaitableAllocated() { } + private void EnsureBufferAllocated() { } + private void EnsureCanRead() { } + private void EnsureCanSeek() { } + private void EnsureCanWrite() { } + private void EnsureNotClosed() { } + private void EnsureShadowBufferAllocated() { } + public override void Flush() { } + public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { return default(System.Threading.Tasks.Task); } + private static System.Threading.Tasks.Task FlushAsyncInternal(System.Threading.CancellationToken cancellationToken, System.IO.BufferedStream _this, System.IO.Stream stream, int writePos, int readPos, int readLen) { return default(System.Threading.Tasks.Task); } + private void FlushRead() { } + private void FlushWrite() { } + private System.Threading.Tasks.Task FlushWriteAsync(System.Threading.CancellationToken cancellationToken) { return default(System.Threading.Tasks.Task); } + private System.Threading.Tasks.Task<int> LastSyncCompletedReadTask(int val) { return default(System.Threading.Tasks.Task<int>); } + public override int Read(byte[] array, int offset, int count) { array = default(byte[]); return default(int); } + public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { return default(System.Threading.Tasks.Task<int>); } + public override int ReadByte() { return default(int); } + private int ReadFromBuffer(byte[] array, int offset, int count) { return default(int); } + private int ReadFromBuffer(byte[] array, int offset, int count, out System.Exception error) { error = default(System.Exception); return default(int); } + private System.Threading.Tasks.Task<int> ReadFromUnderlyingStreamAsync(byte[] array, int offset, int count, System.Threading.CancellationToken cancellationToken, int bytesAlreadySatisfied, System.Threading.Tasks.Task semaphoreLockTask, bool useApmPattern) { return default(System.Threading.Tasks.Task<int>); } + public override long Seek(long offset, System.IO.SeekOrigin origin) { return default(long); } + public override void SetLength(long value) { } + public override void Write(byte[] array, int offset, int count) { } + public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { return default(System.Threading.Tasks.Task); } + public override void WriteByte(byte value) { } + private void WriteToBuffer(byte[] array, ref int offset, ref int count) { } + private void WriteToBuffer(byte[] array, ref int offset, ref int count, out System.Exception error) { error = default(System.Exception); } + private System.Threading.Tasks.Task WriteToUnderlyingStreamAsync(byte[] array, int offset, int count, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.Task semaphoreLockTask, bool useApmPattern) { return default(System.Threading.Tasks.Task); } + } + [System.Runtime.InteropServices.ComVisibleAttribute(true)] public partial class BinaryReader : System.IDisposable { @@ -8889,6 +9395,28 @@ namespace System.Reflection.Metadata } namespace System.Resources { + [System.Security.SecurityCriticalAttribute] + internal partial class WindowsRuntimeResourceManagerBase + { + public WindowsRuntimeResourceManagerBase() { } + public virtual System.Globalization.CultureInfo GlobalResourceContextBestFitCultureInfo { [System.Security.SecurityCriticalAttribute]get { return default(System.Globalization.CultureInfo); } } + [System.Security.SecurityCriticalAttribute] + public virtual string GetString(string stringName, string startingCulture, string neutralResourcesCulture) { return default(string); } + [System.Security.SecurityCriticalAttribute] + public virtual bool Initialize(string libpath, string reswFilename, out System.Resources.PRIExceptionInfo exceptionInfo) { exceptionInfo = default(System.Resources.PRIExceptionInfo); return default(bool); } + [System.Security.SecurityCriticalAttribute] + public virtual bool SetGlobalResourceContextDefaultCulture(System.Globalization.CultureInfo ci) { return default(bool); } + } + + internal partial class PRIExceptionInfo + { + [System.CLSCompliantAttribute(false)] + public string _PackageSimpleName; + [System.CLSCompliantAttribute(false)] + public string _ResWFile; + public PRIExceptionInfo() { } + } + [System.Runtime.InteropServices.ComVisibleAttribute(true)] public partial interface IResourceReader : System.Collections.IEnumerable, System.IDisposable { @@ -9002,6 +9530,56 @@ namespace System.Runtime } namespace System.Runtime.CompilerServices { + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static partial class JitHelpers + { + [System.Security.SecurityCriticalAttribute] + internal static System.Runtime.CompilerServices.ObjectHandleOnStack GetObjectHandleOnStack<T>(ref T o) where T : class { return default(System.Runtime.CompilerServices.ObjectHandleOnStack); } + [System.Security.SecurityCriticalAttribute] + internal static System.Runtime.CompilerServices.PinningHelper GetPinningHelper(object o) { return default(System.Runtime.CompilerServices.PinningHelper); } + [System.Security.SecurityCriticalAttribute] + internal static System.Runtime.CompilerServices.StackCrawlMarkHandle GetStackCrawlMarkHandle(ref System.Threading.StackCrawlMark stackMark) { return default(System.Runtime.CompilerServices.StackCrawlMarkHandle); } + [System.Security.SecurityCriticalAttribute] + internal static System.Runtime.CompilerServices.StringHandleOnStack GetStringHandleOnStack(ref string s) { return default(System.Runtime.CompilerServices.StringHandleOnStack); } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecurityCriticalAttribute] + internal static T UnsafeCast<T>(object o) where T : class { return default(T); } + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr UnsafeCastToStackPointer<T>(ref T val) { return default(System.IntPtr); } + internal static int UnsafeEnumCast<T>(T val) where T : struct { return default(int); } + internal static long UnsafeEnumCastLong<T>(T val) where T : struct { return default(long); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecurityCriticalAttribute] + internal static void UnsafeSetArrayElement(object[] target, int index, object element) { } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal partial struct ObjectHandleOnStack + { + private System.IntPtr m_ptr; + internal ObjectHandleOnStack(System.IntPtr pObject) { throw new System.NotImplementedException(); } + } + internal partial class PinningHelper + { + public byte m_data; + public PinningHelper() { } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal partial struct StackCrawlMarkHandle + { + private System.IntPtr m_ptr; + internal StackCrawlMarkHandle(System.IntPtr stackMark) { throw new System.NotImplementedException(); } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + internal partial struct StringHandleOnStack + { + private System.IntPtr m_ptr; + internal StringHandleOnStack(System.IntPtr pString) { throw new System.NotImplementedException(); } + } + [System.AttributeUsageAttribute((System.AttributeTargets)(2044), AllowMultiple = false, Inherited = false)] + internal sealed partial class FriendAccessAllowedAttribute : System.Attribute + { + public FriendAccessAllowedAttribute() { } + } [System.AttributeUsageAttribute((System.AttributeTargets)(256))] [System.Runtime.InteropServices.ComVisibleAttribute(true)] public sealed partial class AccessedThroughPropertyAttribute : System.Attribute @@ -9132,6 +9710,10 @@ namespace System.Runtime.CompilerServices [System.Security.SecuritySafeCriticalAttribute] public bool TryGetValue(TKey key, out TValue value) { value = default(TValue); return default(bool); } public delegate TValue CreateValueCallback(TKey key); + + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal TKey FindEquivalentKeyUnsafe(TKey key, out TValue value) { value = default(TValue); return default(TKey); } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ConfiguredTaskAwaitable @@ -10949,6 +11531,20 @@ namespace System.Runtime.InteropServices.ComTypes } namespace System.Runtime.InteropServices.WindowsRuntime { + [System.AttributeUsageAttribute((System.AttributeTargets)(5148), Inherited = false)] + internal sealed partial class WindowsRuntimeImportAttribute : System.Attribute + { + internal WindowsRuntimeImportAttribute() { } + } + + [System.Runtime.InteropServices.GuidAttribute("82BA7092-4C88-427D-A7BC-16DD93FEB67E")] + [System.Runtime.InteropServices.InterfaceTypeAttribute((System.Runtime.InteropServices.ComInterfaceType)(1))] + internal partial interface IRestrictedErrorInfo + { + void GetErrorDetails(out string description, out int error, out string restrictedDescription, out string capabilitySid); + void GetReference(out string reference); + } + #if FEATURE_COMINTEROP [System.AttributeUsageAttribute((System.AttributeTargets)(1028), AllowMultiple=false, Inherited=false)] public sealed partial class DefaultInterfaceAttribute : System.Attribute @@ -10972,6 +11568,9 @@ namespace System.Runtime.InteropServices.WindowsRuntime public static System.Runtime.InteropServices.WindowsRuntime.EventRegistrationTokenTable<T> GetOrCreateEventRegistrationTokenTable(ref System.Runtime.InteropServices.WindowsRuntime.EventRegistrationTokenTable<T> refEventTable) { return default(System.Runtime.InteropServices.WindowsRuntime.EventRegistrationTokenTable<T>); } public void RemoveEventHandler(T handler) { } public void RemoveEventHandler(System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken token) { } + + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal T ExtractHandler(System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken token) { return default(T); } } [System.Runtime.InteropServices.GuidAttribute("00000035-0000-0000-C000-000000000046")] public partial interface IActivationFactory @@ -11015,6 +11614,9 @@ namespace System.Runtime.InteropServices.WindowsRuntime public static void RemoveEventHandler<T>(System.Action<System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken> removeMethod, T handler) { } [System.Security.SecurityCriticalAttribute] public static System.IntPtr StringToHString(string s) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecuritySafeCriticalAttribute] + internal static bool ReportUnhandledError(System.Exception e) { return default(bool); } } [System.AttributeUsageAttribute((System.AttributeTargets)(2048), Inherited=false, AllowMultiple=false)] public sealed partial class WriteOnlyArrayAttribute : System.Attribute @@ -11160,6 +11762,147 @@ namespace System.Runtime.Versioning public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to, System.Type type) { return default(string); } } } +namespace System.StubHelpers +{ + [System.Security.SecurityCriticalAttribute] + internal static partial class StubHelpers + { + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr AddToCleanupList(ref System.StubHelpers.CleanupWorkList pCleanupWorkList, System.Runtime.InteropServices.SafeHandle handle) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static object AllocateInternal(System.IntPtr typeHandle) { return default(object); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static uint CalcVaListSize(System.IntPtr va_list) { return default(uint); } + internal static void CheckStringLength(int length) { } + internal static void CheckStringLength(uint length) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void ClearLastError() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr CreateCustomMarshalerHelper(System.IntPtr pMD, int paramToken, System.IntPtr hndManagedType) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void DecimalCanonicalizeInternal(ref decimal dec) { } + [System.Security.SecurityCriticalAttribute] + internal static void DestroyCleanupList(ref System.StubHelpers.CleanupWorkList pCleanupWorkList) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal unsafe static void FmtClassUpdateCLRInternal(object obj, byte* pNative) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal unsafe static void FmtClassUpdateNativeInternal(object obj, byte* pNative, ref System.StubHelpers.CleanupWorkList pCleanupWorkList) { } + internal static System.Exception GetCOMHRExceptionObject(int hr, System.IntPtr pCPCMD, object pThis) { return default(System.Exception); } + internal static System.Exception GetCOMHRExceptionObject_WinRT(int hr, System.IntPtr pCPCMD, object pThis) { return default(System.Exception); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetCOMIPFromRCW(object objSrc, System.IntPtr pCPCMD, out System.IntPtr ppTarget, out bool pfNeedsRelease) { ppTarget = default(System.IntPtr); pfNeedsRelease = default(bool); return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetCOMIPFromRCW_WinRT(object objSrc, System.IntPtr pCPCMD, out System.IntPtr ppTarget) { ppTarget = default(System.IntPtr); return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetCOMIPFromRCW_WinRTDelegate(object objSrc, System.IntPtr pCPCMD, out System.IntPtr ppTarget) { ppTarget = default(System.IntPtr); return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetCOMIPFromRCW_WinRTSharedGeneric(object objSrc, System.IntPtr pCPCMD, out System.IntPtr ppTarget) { ppTarget = default(System.IntPtr); return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetDelegateInvokeMethod(System.Delegate pThis) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetDelegateTarget(System.Delegate pThis, ref System.IntPtr pStubArg) { return default(System.IntPtr); } + internal static System.Exception GetHRExceptionObject(int hr) { return default(System.Exception); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetNDirectTarget(System.IntPtr pMD) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr GetOuterInspectable(object pThis, System.IntPtr pCtorMD) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr GetStubContext() { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.Delegate GetTargetForAmbiguousVariantCall(object objSrc, System.IntPtr pMT, out bool fUseString) { fUseString = default(bool); return default(System.Delegate); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecurityCriticalAttribute] + internal static object GetWinRTFactoryObject(System.IntPtr pCPCMD) { return default(object); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr GetWinRTFactoryReturnValue(object pThis, System.IntPtr pCtorEntry) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void InitDeclaringType(System.IntPtr pMD) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.Exception InternalGetCOMHRExceptionObject(int hr, System.IntPtr pCPCMD, object pThis, bool fForWinRT) { return default(System.Exception); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.Exception InternalGetHRExceptionObject(int hr) { return default(System.Exception); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static bool IsQCall(System.IntPtr pMD) { return default(bool); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal unsafe static void LayoutDestroyNativeInternal(byte* pNative, System.IntPtr pMT) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void LogPinnedArgument(System.IntPtr localDesc, System.IntPtr nativeArg) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void MarshalToManagedVaListInternal(System.IntPtr va_list, System.IntPtr pArgIterator) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void MarshalToUnmanagedVaListInternal(System.IntPtr va_list, uint vaListSize, System.IntPtr pArgIterator) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr ProfilerBeginTransitionCallback(System.IntPtr pSecretParam, System.IntPtr pThread, object pThis) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void ProfilerEndTransitionCallback(System.IntPtr pMD, System.IntPtr pThread) { } + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr SafeHandleAddRef(System.Runtime.InteropServices.SafeHandle pHandle, ref bool success) { return default(System.IntPtr); } + [System.Security.SecurityCriticalAttribute] + internal static void SafeHandleRelease(System.Runtime.InteropServices.SafeHandle pHandle) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void SetLastError() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static bool ShouldCallWinRTInterface(object objSrc, System.IntPtr pCPCMD) { return default(bool); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal unsafe static int strlen(sbyte* ptr) { return default(int); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void StubRegisterRCW(object pThis) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void StubUnregisterRCW(object pThis) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void ThrowInteropParamException(int resID, int paramIdx) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void ValidateByref(System.IntPtr byref, System.IntPtr pMD, object pThis) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static void ValidateObject(object obj, System.IntPtr pMD, object pThis) { } + } + + [System.Security.SecurityCriticalAttribute] + internal sealed partial class CleanupWorkList + { + private System.Collections.Generic.List<System.StubHelpers.CleanupWorkListElement> m_list; + public CleanupWorkList() { } + public void Add(System.StubHelpers.CleanupWorkListElement elem) { } + public void Destroy() { } + } + [System.Security.SecurityCriticalAttribute] + internal sealed partial class CleanupWorkListElement + { + public System.Runtime.InteropServices.SafeHandle m_handle; + public bool m_owned; + public CleanupWorkListElement(System.Runtime.InteropServices.SafeHandle handle) { } + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static partial class EventArgsMarshaler + { + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr CreateNativeNCCEventArgsInstance(int action, object newItems, object oldItems, int newIndex, int oldIndex) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)] + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr CreateNativeNCCEventArgsInstanceHelper(int action, System.IntPtr newItem, System.IntPtr oldItem, int newIndex, int oldIndex) { return default(System.IntPtr); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)] + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecurityCriticalAttribute] + internal static System.IntPtr CreateNativePCEventArgsInstance(string name) { return default(System.IntPtr); } + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static partial class InterfaceMarshaler + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.PreserveSig)] + [System.Security.SecurityCriticalAttribute] + internal static void ClearNative(System.IntPtr pUnk) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static object ConvertToManaged(System.IntPtr pUnk, System.IntPtr itfMT, System.IntPtr classMT, int flags) { return default(object); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static object ConvertToManagedWithoutUnboxing(System.IntPtr pNative) { return default(object); } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + internal static System.IntPtr ConvertToNative(object objSrc, System.IntPtr itfMT, System.IntPtr classMT, int flags) { return default(System.IntPtr); } + } +} namespace System.Security { [System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false, Inherited=false)] @@ -11865,6 +12608,21 @@ namespace System.Text } namespace System.Threading { + internal enum StackCrawlMark + { + LookForMe = 0, + LookForMyCaller = 1, + LookForMyCallersCaller = 2, + LookForThread = 3, + } + [System.Security.SecurityCriticalAttribute] + internal partial class WinRTSynchronizationContextFactoryBase + { + public WinRTSynchronizationContextFactoryBase() { } + [System.Security.SecurityCriticalAttribute] + public virtual System.Threading.SynchronizationContext Create(object coreDispatcher) { return default(System.Threading.SynchronizationContext); } + } + [System.Runtime.InteropServices.ComVisibleAttribute(false)] public partial class AbandonedMutexException : System.SystemException { @@ -11929,6 +12687,9 @@ namespace System.Threading public override int GetHashCode() { return default(int); } public static bool operator ==(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { return default(bool); } public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { return default(bool); } + + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal bool TryDeregister() { return default(bool); } } [System.Runtime.InteropServices.ComVisibleAttribute(false)] @@ -12012,6 +12773,10 @@ namespace System.Threading [System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute] [System.Security.SecurityCriticalAttribute] public static void Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) { } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + [System.Security.SecurityCriticalAttribute] + internal static void Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) { } + internal static System.Threading.ExecutionContext FastCapture() { return default(System.Threading.ExecutionContext); } } public static partial class Interlocked { @@ -12584,6 +13349,71 @@ namespace System.Threading } namespace System.Threading.Tasks { +#if FEATURE_COMINTEROP + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal enum AsyncCausalityStatus + { + Canceled = 2, + Completed = 1, + Error = 3, + Started = 0, + } + internal enum CausalityRelation + { + AssignDelegate = 0, + Cancel = 3, + Choice = 2, + Error = 4, + Join = 1, + } + internal enum CausalitySynchronousWork + { + CompletionNotification = 0, + Execution = 2, + ProgressNotification = 1, + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static partial class AsyncCausalityTracer + { + private static System.Threading.Tasks.AsyncCausalityTracer.Loggers f_LoggingOn; + //private const Windows.Foundation.Diagnostics.CausalitySource s_CausalitySource = 1; + private static readonly System.Guid s_PlatformId; + private static Windows.Foundation.Diagnostics.IAsyncCausalityTracerStatics s_TracerFactory; + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static bool LoggingOn { [System.Runtime.CompilerServices.FriendAccessAllowedAttribute]get { return default(bool); } } + internal static void EnableToETW(bool enabled) { } + private static ulong GetOperationId(uint taskId) { return default(ulong); } + private static void LogAndDisable(System.Exception ex) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static void TraceOperationCompletion(System.Threading.Tasks.CausalityTraceLevel traceLevel, int taskId, System.Threading.Tasks.AsyncCausalityStatus status) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static void TraceOperationCreation(System.Threading.Tasks.CausalityTraceLevel traceLevel, int taskId, string operationName, ulong relatedContext) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] + internal static void TraceOperationRelation(System.Threading.Tasks.CausalityTraceLevel traceLevel, int taskId, System.Threading.Tasks.CausalityRelation relation) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] + internal static void TraceSynchronousWorkCompletion(System.Threading.Tasks.CausalityTraceLevel traceLevel, System.Threading.Tasks.CausalitySynchronousWork work) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] + internal static void TraceSynchronousWorkStart(System.Threading.Tasks.CausalityTraceLevel traceLevel, int taskId, System.Threading.Tasks.CausalitySynchronousWork work) { } + [System.Security.SecuritySafeCriticalAttribute] + private static void TracingStatusChangedHandler(object sender, Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs args) { } + [System.FlagsAttribute] + private enum Loggers : byte + { + CausalityTracer = (byte)1, + ETW = (byte)2, + } + } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal enum CausalityTraceLevel + { + Important = 1, + Required = 0, + Verbose = 2, + } +#endif + [System.Diagnostics.DebuggerDisplayAttribute("Concurrent={ConcurrentTaskCountForDebugger}, Exclusive={ExclusiveTaskCountForDebugger}, Mode={ModeForDebugger}")] public partial class ConcurrentExclusiveSchedulerPair { @@ -12600,6 +13430,13 @@ namespace System.Threading.Tasks public partial class Task : System.IAsyncResult, System.IDisposable { + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static bool s_asyncDebuggingEnabled; + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static bool AddToActiveTasks(System.Threading.Tasks.Task task) { return default(bool); } + [System.Runtime.CompilerServices.FriendAccessAllowedAttribute] + internal static void RemoveFromActiveTasks(int taskId) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public Task(System.Action action) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public Task(System.Action action, System.Threading.CancellationToken cancellationToken) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public Task(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } @@ -12963,3 +13800,352 @@ namespace System.Threading.Tasks public void SetObserved() { } } } + +namespace System.Security.Cryptography +{ + public abstract class HashAlgorithm : System.IDisposable, System.Security.Cryptography.ICryptoTransform + { + protected internal byte[] HashValue; + protected int HashSizeValue; + protected int State; + protected HashAlgorithm() { } + public virtual bool CanReuseTransform { get { return default(bool); } } + public virtual bool CanTransformMultipleBlocks { get { return default(bool); } } + public virtual byte[] Hash { get { return default(byte[]); } } + public virtual int HashSize { get { return default(int); } } + public virtual int InputBlockSize { get { return default(int); } } + public virtual int OutputBlockSize { get { return default(int); } } + public void Clear() { } + public byte[] ComputeHash(byte[] buffer) { return default(byte[]); } + public byte[] ComputeHash(byte[] buffer, int offset, int count) { return default(byte[]); } + public byte[] ComputeHash(System.IO.Stream inputStream) { return default(byte[]); } + public static HashAlgorithm Create() { return default(HashAlgorithm); } + public static HashAlgorithm Create(string hashName) { return default(HashAlgorithm); } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + protected abstract void HashCore(byte[] array, int ibStart, int cbSize); + protected abstract byte[] HashFinal(); + public abstract void Initialize(); + public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) { return default(int); } + public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount) { return default(byte[]); } + } + + public abstract class SymmetricAlgorithm : System.IDisposable + { + protected byte[] IVValue; + protected byte[] KeyValue; + protected int BlockSizeValue; + protected int FeedbackSizeValue; + protected int KeySizeValue; + protected CipherMode ModeValue; + protected KeySizes[] LegalBlockSizesValue; + protected KeySizes[] LegalKeySizesValue; + protected PaddingMode PaddingValue; + protected SymmetricAlgorithm() { } + public virtual int BlockSize { get; set; } + public virtual int FeedbackSize { get; set; } + public virtual byte[] IV { get; set; } + public virtual byte[] Key { get; set; } + public virtual int KeySize { get; set; } + public virtual KeySizes[] LegalBlockSizes { get; } + public virtual KeySizes[] LegalKeySizes { get; } + public virtual CipherMode Mode { get; set; } + public virtual PaddingMode Padding { get; set; } + public void Clear() { } + public static SymmetricAlgorithm Create() { return default(SymmetricAlgorithm); } + public static SymmetricAlgorithm Create(string algName) { return default(SymmetricAlgorithm); } + public virtual ICryptoTransform CreateDecryptor() { return default(ICryptoTransform); } + public abstract ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV); + public virtual ICryptoTransform CreateEncryptor() { return default(ICryptoTransform); } + public abstract ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV); + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public abstract void GenerateIV(); + public abstract void GenerateKey(); + public bool ValidKeySize(int bitLength) { return default(bool); } + } + + public interface ICryptoTransform : System.IDisposable + { + int InputBlockSize { get; } + int OutputBlockSize { get; } + bool CanTransformMultipleBlocks { get; } + bool CanReuseTransform { get; } + int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset); + byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount); + } + + public sealed class KeySizes + { + public KeySizes(int minSize, int maxSize, int skipSize) { } + public int MaxSize { get; } + public int MinSize { get; } + public int SkipSize { get; } + } + + public enum PaddingMode + { + ANSIX923 = 4, + ISO10126 = 5, + None = 1, + PKCS7 = 2, + Zeros = 3, + } + + public enum CipherMode + { + CBC = 1, + CFB = 4, + CTS = 5, + ECB = 2, + OFB = 3, + } +} + +#if FEATURE_COMINTEROP +namespace Windows.Foundation.Diagnostics +{ + internal enum AsyncCausalityStatus + { + Canceled = 2, + Completed = 1, + Error = 3, + Started = 0, + } + internal enum CausalityRelation + { + AssignDelegate = 0, + Cancel = 3, + Choice = 2, + Error = 4, + Join = 1, + } + internal enum CausalitySource + { + Application = 0, + Library = 1, + System = 2, + } + internal enum CausalitySynchronousWork + { + CompletionNotification = 0, + Execution = 2, + ProgressNotification = 1, + } + internal enum CausalityTraceLevel + { + Important = 1, + Required = 0, + Verbose = 2, + } + [System.Runtime.InteropServices.GuidAttribute("50850B26-267E-451B-A890-AB6A370245EE")] + internal partial interface IAsyncCausalityTracerStatics + { + System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken add_TracingStatusChanged(System.EventHandler<Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs> eventHandler); + void TraceOperationCompletion(Windows.Foundation.Diagnostics.CausalityTraceLevel traceLevel, Windows.Foundation.Diagnostics.CausalitySource source, System.Guid platformId, ulong operationId, Windows.Foundation.Diagnostics.AsyncCausalityStatus status); + void TraceOperationCreation(Windows.Foundation.Diagnostics.CausalityTraceLevel traceLevel, Windows.Foundation.Diagnostics.CausalitySource source, System.Guid platformId, ulong operationId, string operationName, ulong relatedContext); + void TraceOperationRelation(Windows.Foundation.Diagnostics.CausalityTraceLevel traceLevel, Windows.Foundation.Diagnostics.CausalitySource source, System.Guid platformId, ulong operationId, Windows.Foundation.Diagnostics.CausalityRelation relation); + void TraceSynchronousWorkCompletion(Windows.Foundation.Diagnostics.CausalityTraceLevel traceLevel, Windows.Foundation.Diagnostics.CausalitySource source, Windows.Foundation.Diagnostics.CausalitySynchronousWork work); + void TraceSynchronousWorkStart(Windows.Foundation.Diagnostics.CausalityTraceLevel traceLevel, Windows.Foundation.Diagnostics.CausalitySource source, System.Guid platformId, ulong operationId, Windows.Foundation.Diagnostics.CausalitySynchronousWork work); + } + [System.Runtime.InteropServices.GuidAttribute("410B7711-FF3B-477F-9C9A-D2EFDA302DC3")] + internal partial interface ITracingStatusChangedEventArgs + { + bool Enabled { get; } + Windows.Foundation.Diagnostics.CausalityTraceLevel TraceLevel { get; } + } + [System.Runtime.InteropServices.GuidAttribute("410B7711-FF3B-477F-9C9A-D2EFDA302DC3")] + internal sealed partial class TracingStatusChangedEventArgs : Windows.Foundation.Diagnostics.ITracingStatusChangedEventArgs + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] + public TracingStatusChangedEventArgs() { } + public bool Enabled { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { return default(bool); } } + public Windows.Foundation.Diagnostics.CausalityTraceLevel TraceLevel { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { return default(Windows.Foundation.Diagnostics.CausalityTraceLevel); } } + } +} +#endif + +namespace System.Security.Claims +{ + public partial class Claim + { + public Claim(System.IO.BinaryReader reader) { } + public Claim(System.IO.BinaryReader reader, System.Security.Claims.ClaimsIdentity subject) { } + protected Claim(System.Security.Claims.Claim other) { } + protected Claim(System.Security.Claims.Claim other, System.Security.Claims.ClaimsIdentity subject) { } + public Claim(string type, string value) { } + public Claim(string type, string value, string valueType) { } + public Claim(string type, string value, string valueType, string issuer) { } + public Claim(string type, string value, string valueType, string issuer, string originalIssuer) { } + public Claim(string type, string value, string valueType, string issuer, string originalIssuer, System.Security.Claims.ClaimsIdentity subject) { } + protected virtual byte[] CustomSerializationData { get { return default(byte[]); } } + public string Issuer { get { return default(string); } } + public string OriginalIssuer { get { return default(string); } } + public System.Collections.Generic.IDictionary<string, string> Properties { get { return default(System.Collections.Generic.IDictionary<string, string>); } } + public System.Security.Claims.ClaimsIdentity Subject { get { return default(System.Security.Claims.ClaimsIdentity); } } + public string Type { get { return default(string); } } + public string Value { get { return default(string); } } + public string ValueType { get { return default(string); } } + public virtual System.Security.Claims.Claim Clone() { return default(System.Security.Claims.Claim); } + public virtual System.Security.Claims.Claim Clone(System.Security.Claims.ClaimsIdentity identity) { return default(System.Security.Claims.Claim); } + public override string ToString() { return default(string); } + public virtual void WriteTo(System.IO.BinaryWriter writer) { } + protected virtual void WriteTo(System.IO.BinaryWriter writer, byte[] userData) { } + } + public partial class ClaimsIdentity : System.Security.Principal.IIdentity + { + public const string DefaultIssuer = "LOCAL AUTHORITY"; + public const string DefaultNameClaimType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"; + public const string DefaultRoleClaimType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role"; + public ClaimsIdentity() { } + public ClaimsIdentity(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims) { } + public ClaimsIdentity(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType) { } + public ClaimsIdentity(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType, string nameType, string roleType) { } + public ClaimsIdentity(System.IO.BinaryReader reader) { } + protected ClaimsIdentity(System.Security.Claims.ClaimsIdentity other) { } + public ClaimsIdentity(System.Security.Principal.IIdentity identity) { } + public ClaimsIdentity(System.Security.Principal.IIdentity identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims) { } + public ClaimsIdentity(System.Security.Principal.IIdentity identity, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims, string authenticationType, string nameType, string roleType) { } + public ClaimsIdentity(string authenticationType) { } + public ClaimsIdentity(string authenticationType, string nameType, string roleType) { } + public System.Security.Claims.ClaimsIdentity Actor { get { return default(System.Security.Claims.ClaimsIdentity); } set { } } + public virtual string AuthenticationType { get { return default(string); } } + public object BootstrapContext { get { return default(object); } set { } } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> Claims { get { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } } + protected virtual byte[] CustomSerializationData { get { return default(byte[]); } } + public virtual bool IsAuthenticated { get { return default(bool); } } + public string Label { get { return default(string); } set { } } + public virtual string Name { get { return default(string); } } + public string NameClaimType { get { return default(string); } } + public string RoleClaimType { get { return default(string); } } + public virtual void AddClaim(System.Security.Claims.Claim claim) { } + public virtual void AddClaims(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> claims) { } + public virtual System.Security.Claims.ClaimsIdentity Clone() { return default(System.Security.Claims.ClaimsIdentity); } + protected virtual System.Security.Claims.Claim CreateClaim(System.IO.BinaryReader reader) { return default(System.Security.Claims.Claim); } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll(System.Predicate<System.Security.Claims.Claim> match) { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll(string type) { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } + public virtual System.Security.Claims.Claim FindFirst(System.Predicate<System.Security.Claims.Claim> match) { return default(System.Security.Claims.Claim); } + public virtual System.Security.Claims.Claim FindFirst(string type) { return default(System.Security.Claims.Claim); } + public virtual bool HasClaim(System.Predicate<System.Security.Claims.Claim> match) { return default(bool); } + public virtual bool HasClaim(string type, string value) { return default(bool); } + public virtual void RemoveClaim(System.Security.Claims.Claim claim) { } + public virtual bool TryRemoveClaim(System.Security.Claims.Claim claim) { return default(bool); } + public virtual void WriteTo(System.IO.BinaryWriter writer) { } + protected virtual void WriteTo(System.IO.BinaryWriter writer, byte[] userData) { } + } + public partial class ClaimsPrincipal : System.Security.Principal.IPrincipal + { + public ClaimsPrincipal() { } + public ClaimsPrincipal(System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> identities) { } + public ClaimsPrincipal(System.IO.BinaryReader reader) { } + public ClaimsPrincipal(System.Security.Principal.IIdentity identity) { } + public ClaimsPrincipal(System.Security.Principal.IPrincipal principal) { } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> Claims { get { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } } + public static System.Func<System.Security.Claims.ClaimsPrincipal> ClaimsPrincipalSelector { get { return default(System.Func<System.Security.Claims.ClaimsPrincipal>); } set { } } + public static System.Security.Claims.ClaimsPrincipal Current { get { return default(System.Security.Claims.ClaimsPrincipal); } } + protected virtual byte[] CustomSerializationData { get { return default(byte[]); } } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> Identities { get { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity>); } } + public virtual System.Security.Principal.IIdentity Identity { get { return default(System.Security.Principal.IIdentity); } } + public static System.Func<System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity>, System.Security.Claims.ClaimsIdentity> PrimaryIdentitySelector { get { return default(System.Func<System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity>, System.Security.Claims.ClaimsIdentity>); } set { } } + public virtual void AddIdentities(System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> identities) { } + public virtual void AddIdentity(System.Security.Claims.ClaimsIdentity identity) { } + public virtual System.Security.Claims.ClaimsPrincipal Clone() { return default(System.Security.Claims.ClaimsPrincipal); } + protected virtual System.Security.Claims.ClaimsIdentity CreateClaimsIdentity(System.IO.BinaryReader reader) { return default(System.Security.Claims.ClaimsIdentity); } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll(System.Predicate<System.Security.Claims.Claim> match) { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } + public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll(string type) { return default(System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>); } + public virtual System.Security.Claims.Claim FindFirst(System.Predicate<System.Security.Claims.Claim> match) { return default(System.Security.Claims.Claim); } + public virtual System.Security.Claims.Claim FindFirst(string type) { return default(System.Security.Claims.Claim); } + public virtual bool HasClaim(System.Predicate<System.Security.Claims.Claim> match) { return default(bool); } + public virtual bool HasClaim(string type, string value) { return default(bool); } + public virtual bool IsInRole(string role) { return default(bool); } + public virtual void WriteTo(System.IO.BinaryWriter writer) { } + protected virtual void WriteTo(System.IO.BinaryWriter writer, byte[] userData) { } + } + public static partial class ClaimTypes + { + public const string Actor = "http://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor"; + public const string Anonymous = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous"; + public const string Authentication = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authentication"; + public const string AuthenticationInstant = "http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant"; + public const string AuthenticationMethod = "http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod"; + public const string AuthorizationDecision = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision"; + public const string CookiePath = "http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath"; + public const string Country = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country"; + public const string DateOfBirth = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth"; + public const string DenyOnlyPrimaryGroupSid = "http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid"; + public const string DenyOnlyPrimarySid = "http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid"; + public const string DenyOnlySid = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid"; + public const string DenyOnlyWindowsDeviceGroup = "http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup"; + public const string Dns = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns"; + public const string Dsa = "http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa"; + public const string Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"; + public const string Expiration = "http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration"; + public const string Expired = "http://schemas.microsoft.com/ws/2008/06/identity/claims/expired"; + public const string Gender = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender"; + public const string GivenName = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"; + public const string GroupSid = "http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid"; + public const string Hash = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash"; + public const string HomePhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone"; + public const string IsPersistent = "http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent"; + public const string Locality = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality"; + public const string MobilePhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"; + public const string Name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"; + public const string NameIdentifier = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"; + public const string OtherPhone = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone"; + public const string PostalCode = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode"; + public const string PrimaryGroupSid = "http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid"; + public const string PrimarySid = "http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid"; + public const string Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role"; + public const string Rsa = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa"; + public const string SerialNumber = "http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber"; + public const string Sid = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid"; + public const string Spn = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn"; + public const string StateOrProvince = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince"; + public const string StreetAddress = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress"; + public const string Surname = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"; + public const string System = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system"; + public const string Thumbprint = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint"; + public const string Upn = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"; + public const string Uri = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri"; + public const string UserData = "http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata"; + public const string Version = "http://schemas.microsoft.com/ws/2008/06/identity/claims/version"; + public const string Webpage = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage"; + public const string WindowsAccountName = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"; + public const string WindowsDeviceClaim = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim"; + public const string WindowsDeviceGroup = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup"; + public const string WindowsFqbnVersion = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion"; + public const string WindowsSubAuthority = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority"; + public const string WindowsUserClaim = "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim"; + public const string X500DistinguishedName = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname"; + } + public static partial class ClaimValueTypes + { + public const string Base64Binary = "http://www.w3.org/2001/XMLSchema#base64Binary"; + public const string Base64Octet = "http://www.w3.org/2001/XMLSchema#base64Octet"; + public const string Boolean = "http://www.w3.org/2001/XMLSchema#boolean"; + public const string Date = "http://www.w3.org/2001/XMLSchema#date"; + public const string DateTime = "http://www.w3.org/2001/XMLSchema#dateTime"; + public const string DaytimeDuration = "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#dayTimeDuration"; + public const string DnsName = "http://schemas.xmlsoap.org/claims/dns"; + public const string Double = "http://www.w3.org/2001/XMLSchema#double"; + public const string DsaKeyValue = "http://www.w3.org/2000/09/xmldsig#DSAKeyValue"; + public const string Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"; + public const string Fqbn = "http://www.w3.org/2001/XMLSchema#fqbn"; + public const string HexBinary = "http://www.w3.org/2001/XMLSchema#hexBinary"; + public const string Integer = "http://www.w3.org/2001/XMLSchema#integer"; + public const string Integer32 = "http://www.w3.org/2001/XMLSchema#integer32"; + public const string Integer64 = "http://www.w3.org/2001/XMLSchema#integer64"; + public const string KeyInfo = "http://www.w3.org/2000/09/xmldsig#KeyInfo"; + public const string Rfc822Name = "urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name"; + public const string Rsa = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa"; + public const string RsaKeyValue = "http://www.w3.org/2000/09/xmldsig#RSAKeyValue"; + public const string Sid = "http://www.w3.org/2001/XMLSchema#sid"; + public const string String = "http://www.w3.org/2001/XMLSchema#string"; + public const string Time = "http://www.w3.org/2001/XMLSchema#time"; + public const string UInteger32 = "http://www.w3.org/2001/XMLSchema#uinteger32"; + public const string UInteger64 = "http://www.w3.org/2001/XMLSchema#uinteger64"; + public const string UpnName = "http://schemas.xmlsoap.org/claims/UPN"; + public const string X500Name = "urn:oasis:names:tc:xacml:1.0:data-type:x500Name"; + public const string YearMonthDuration = "http://www.w3.org/TR/2002/WD-xquery-operators-20020816#yearMonthDuration"; + } +}
\ No newline at end of file diff --git a/src/mscorlib/ref/mscorlib.csproj b/src/mscorlib/ref/mscorlib.csproj index 9827fe7ca2..9830f09405 100644 --- a/src/mscorlib/ref/mscorlib.csproj +++ b/src/mscorlib/ref/mscorlib.csproj @@ -23,7 +23,6 @@ <ErrorReport>prompt</ErrorReport> <Optimize Condition="'$(Optimize)' == ''">true</Optimize> - <GenerateNativeVersionInfo Condition="'$(OsEnvironment)'=='Windows_NT'">true</GenerateNativeVersionInfo> <CLSCompliant>true</CLSCompliant> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> diff --git a/src/mscorlib/src/System/Diagnostics/Eventing/XplatEventLogger.cs b/src/mscorlib/src/System/Diagnostics/Eventing/XplatEventLogger.cs index 4e380ee5e4..d7112fc81b 100644 --- a/src/mscorlib/src/System/Diagnostics/Eventing/XplatEventLogger.cs +++ b/src/mscorlib/src/System/Diagnostics/Eventing/XplatEventLogger.cs @@ -5,6 +5,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Runtime.InteropServices; +using System.Runtime.Versioning; using Contract = System.Diagnostics.Contracts.Contract; @@ -15,6 +16,9 @@ namespace System.Diagnostics.Tracing internal class XplatEventLogger : EventListener { + private static Lazy<string> eventSourceNameFilter = new Lazy<string>(() => CompatibilitySwitch.GetValueInternal("EventSourceFilter")); + private static Lazy<string> eventSourceEventFilter = new Lazy<string>(() => CompatibilitySwitch.GetValueInternal("EventNameFilter")); + public XplatEventLogger() {} private static bool initializedPersistentListener = false; @@ -122,12 +126,20 @@ namespace System.Diagnostics.Tracing internal protected override void OnEventSourceCreated(EventSource eventSource) { - EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All, null); + string eventSourceFilter = eventSourceNameFilter.Value; + if (String.IsNullOrEmpty(eventSourceFilter) || (eventSource.Name.IndexOf(eventSourceFilter, StringComparison.OrdinalIgnoreCase) >= 0)) + { + EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All, null); + } } internal protected override void OnEventWritten(EventWrittenEventArgs eventData) { - LogOnEventWritten(eventData); + string eventFilter = eventSourceEventFilter.Value; + if (String.IsNullOrEmpty(eventFilter) || (eventData.EventName.IndexOf(eventFilter, StringComparison.OrdinalIgnoreCase) >= 0)) + { + LogOnEventWritten(eventData); + } } [System.Security.SecuritySafeCritical] diff --git a/src/mscorlib/src/mscorlib.Friends.cs b/src/mscorlib/src/mscorlib.Friends.cs index fc24b2b853..fc8ed53fff 100644 --- a/src/mscorlib/src/mscorlib.Friends.cs +++ b/src/mscorlib/src/mscorlib.Friends.cs @@ -3,6 +3,11 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +#if FEATURE_CORECLR +// We need this to be able to typeforward to internal types +[assembly: InternalsVisibleTo("mscorlib, PublicKey=00240000048000009400000006020000002400005253413100040000010001008d56c76f9e8649383049f383c44be0ec204181822a6c31cf5eb7ef486944d032188ea1d3920763712ccb12d75fb77e9811149e6148e5d32fbaab37611c1878ddc19e20ef135d0cb2cff2bfec3d115810c3d9069638fe4be215dbf795861920e5ab6f7db2e2ceef136ac23d5dd2bf031700aec232f6c6b1c785b4305c123b37ab", AllInternalsVisible=false)] +#endif + // For now we are only moving to using this file over AssemblyAttributes.cspp in CoreSys, ideally we would move away from the centralized // AssemblyAttributes.cspp model for the other build types at a future point in time. #if FEATURE_CORESYSTEM diff --git a/src/scripts/genXplatLttng.py b/src/scripts/genXplatLttng.py index a334d8a267..bacf034868 100644 --- a/src/scripts/genXplatLttng.py +++ b/src/scripts/genXplatLttng.py @@ -75,6 +75,8 @@ stdprolog_cmake=""" #****************************************************************** """ +specialCaseSizes = { "BulkType" : { "Values" : "Values_ElementSize" }, "GCBulkRootCCW" : { "Values" : "Values_ElementSize" }, "GCBulkRCW" : { "Values" : "Values_ElementSize" }, "GCBulkRootStaticVar" : { "Values" : "Values_ElementSize" } } + lttngDataTypeMapping ={ #constructed types "win:null" :" ", @@ -361,17 +363,24 @@ def generateMethodBody(template, providerName, eventName): bool success = true; """ % (template.estimated_size, template.estimated_size) footer = """ - if (!fixedBuffer) - delete[] buffer; + if (!fixedBuffer) + delete[] buffer; """ + pack_list = [] for paramName in fnSig.paramlist: parameter = fnSig.getParam(paramName) if paramName in template.structs: - pack_list.append(" success &= WriteToBuffer((const BYTE *)%s, (int)%s_ElementSize * (int)%s, buffer, offset, size, fixedBuffer);" % (paramName, paramName, parameter.prop)) + size = "(int)%s_ElementSize * (int)%s" % (paramName, parameter.prop) + if template.name in specialCaseSizes and paramName in specialCaseSizes[template.name]: + size = "(int)(%s)" % specialCaseSizes[template.name][paramName] + pack_list.append(" success &= WriteToBuffer((const BYTE *)%s, %s, buffer, offset, size, fixedBuffer);" % (paramName, size)) elif paramName in template.arrays: - pack_list.append(" success &= WriteToBuffer((const BYTE *)%s, sizeof(%s) * (int)%s, buffer, offset, size, fixedBuffer);" % (paramName, lttngDataTypeMapping[parameter.winType], parameter.prop)) + size = "sizeof(%s) * (int)%s" % (lttngDataTypeMapping[parameter.winType], parameter.prop) + if template.name in specialCaseSizes and paramName in specialCaseSizes[template.name]: + size = "(int)(%s)" % specialCaseSizes[template.name][paramName] + pack_list.append(" success &= WriteToBuffer((const BYTE *)%s, %s, buffer, offset, size, fixedBuffer);" % (paramName, size)) elif parameter.winType == "win:GUID": pack_list.append(" success &= WriteToBuffer(*%s, buffer, offset, size, fixedBuffer);" % (parameter.name,)) else: @@ -753,4 +762,4 @@ def main(argv): if __name__ == '__main__': return_code = main(sys.argv[1:]) - sys.exit(return_code) + sys.exit(return_code)
\ No newline at end of file diff --git a/src/vm/eventtrace.cpp b/src/vm/eventtrace.cpp index 2708829650..d8702a53e1 100644 --- a/src/vm/eventtrace.cpp +++ b/src/vm/eventtrace.cpp @@ -1205,11 +1205,12 @@ void BulkComLogger::FlushRcw() EventDataDescCreate(&eventData[2], m_etwRcwData, sizeof(EventRCWEntry) * m_currRcw); ULONG result = EventWrite(Microsoft_Windows_DotNETRuntimeHandle, &GCBulkRCW, _countof(eventData), eventData); - _ASSERTE(result == ERROR_SUCCESS); #else -// UNIXTODO: "Eventing Not Implemented" + ULONG result = FireEtXplatGCBulkRCW(m_currRcw, instance, sizeof(EventRCWEntry) * m_currRcw, m_etwRcwData); #endif // !defined(FEATURE_PAL) + _ASSERTE(result == ERROR_SUCCESS); + m_currRcw = 0; } @@ -1293,11 +1294,11 @@ void BulkComLogger::FlushCcw() EventDataDescCreate(&eventData[2], m_etwCcwData, sizeof(EventCCWEntry) * m_currCcw); ULONG result = EventWrite(Microsoft_Windows_DotNETRuntimeHandle, &GCBulkRootCCW, _countof(eventData), eventData); - _ASSERTE(result == ERROR_SUCCESS); #else -// UNIXTODO: "Eventing Not Implemented" + ULONG result = FireEtXplatGCBulkRootCCW(m_currCcw, instance, sizeof(EventCCWEntry) * m_currCcw, m_etwCcwData); #endif //!defined(FEATURE_PAL) + _ASSERTE(result == ERROR_SUCCESS); m_currCcw = 0; } @@ -1497,11 +1498,12 @@ void BulkStaticsLogger::FireBulkStaticsEvent() EventDataDescCreate(&eventData[3], m_buffer, m_used); ULONG result = EventWrite(Microsoft_Windows_DotNETRuntimeHandle, &GCBulkRootStaticVar, _countof(eventData), eventData); - _ASSERTE(result == ERROR_SUCCESS); #else -// UNIXTODO: "Eventing Not Implemented" + ULONG result = FireEtXplatGCBulkRootStaticVar(m_count, appDomain, instance, m_used, m_buffer); #endif //!defined(FEATURE_PAL) + _ASSERTE(result == ERROR_SUCCESS); + m_used = 0; m_count = 0; } @@ -1700,7 +1702,6 @@ void BulkTypeValue::Clear() // // -#if !defined(FEATURE_PAL) void BulkTypeEventLogger::FireBulkTypeEvent() { LIMITED_METHOD_CONTRACT; @@ -1710,7 +1711,10 @@ void BulkTypeEventLogger::FireBulkTypeEvent() // No types were batched up, so nothing to send return; } + + UINT16 nClrInstanceID = GetClrInstanceId(); +#if !defined(FEATURE_PAL) // Normally, we'd use the MC-generated FireEtwBulkType for all this gunk, but // it's insufficient as the bulk type event is too complex (arrays of structs of // varying size). So we directly log the event via EventDataDescCreate and @@ -1722,7 +1726,6 @@ void BulkTypeEventLogger::FireBulkTypeEvent() // before the 64K event size limit, and we already limit our batch size // (m_nBulkTypeValueCount) to stay within the 128 descriptor limit. EVENT_DATA_DESCRIPTOR EventData[128]; - UINT16 nClrInstanceID = GetClrInstanceId(); UINT iDesc = 0; @@ -1783,18 +1786,62 @@ void BulkTypeEventLogger::FireBulkTypeEvent() } Win32EventWrite(Microsoft_Windows_DotNETRuntimeHandle, &BulkType, iDesc, EventData); + +#else // FEATURE_PAL + + UINT iSize = 0; + + for (int iTypeData = 0; iTypeData < m_nBulkTypeValueCount; iTypeData++) + { + BulkTypeValue& target = m_rgBulkTypeValues[iTypeData]; + + // Do fixed-size data as one bulk copy + memcpy( + m_BulkTypeEventBuffer + iSize, + &(target.fixedSizedData), + sizeof(target.fixedSizedData)); + iSize += sizeof(target.fixedSizedData); + + // Do var-sized data individually per field + + LPCWSTR wszName = target.sName.GetUnicode(); + if (wszName == NULL) + { + m_BulkTypeEventBuffer[iSize++] = 0; + m_BulkTypeEventBuffer[iSize++] = 0; + } + else + { + UINT nameSize = (target.sName.GetCount() + 1) * sizeof(WCHAR); + memcpy(m_BulkTypeEventBuffer + iSize, wszName, nameSize); + iSize += nameSize; + } + + // Type parameter count + ULONG params = target.rgTypeParameters.GetCount(); + + ULONG *ptrInt = (ULONG*)(m_BulkTypeEventBuffer + iSize); + *ptrInt = params; + iSize += 4; + + target.cTypeParameters = params; + + // Type parameter array + if (target.cTypeParameters > 0) + { + memcpy(m_BulkTypeEventBuffer + iSize, target.rgTypeParameters.GetElements(), sizeof(ULONGLONG) * target.cTypeParameters); + iSize += sizeof(ULONGLONG) * target.cTypeParameters; + } + } + FireEtwBulkType(m_nBulkTypeValueCount, GetClrInstanceId(), iSize, m_BulkTypeEventBuffer); + +#endif // FEATURE_PAL // Reset state m_nBulkTypeValueCount = 0; m_nBulkTypeValueByteCount = 0; } -#else -void BulkTypeEventLogger::FireBulkTypeEvent() -{ -// UNIXTODO: "Eventing Not Implemented" -} -#endif //!defined(FEATURE_PAL) #ifndef FEATURE_REDHAWK //--------------------------------------------------------------------------------------- @@ -4225,7 +4272,6 @@ Return Value: --*/ -#if !defined(FEATURE_PAL) void InitializeEventTracing() { CONTRACTL @@ -4242,6 +4288,7 @@ void InitializeEventTracing() if (FAILED(hr)) return; +#if !defined(FEATURE_PAL) // Register CLR providers with the OS if (g_pEtwTracer == NULL) { @@ -4249,6 +4296,7 @@ void InitializeEventTracing() if (tempEtwTracer != NULL && tempEtwTracer->Register () == ERROR_SUCCESS) g_pEtwTracer = tempEtwTracer.Extract (); } +#endif g_nClrInstanceId = GetRuntimeId() & 0x0000FFFF; // This will give us duplicate ClrInstanceId after UINT16_MAX @@ -4256,6 +4304,8 @@ void InitializeEventTracing() // providers can do so now ETW::TypeSystemLog::PostRegistrationInit(); } + +#if !defined(FEATURE_PAL) HRESULT ETW::CEtwTracer::Register() { WRAPPER_NO_CONTRACT; @@ -4413,9 +4463,9 @@ extern "C" PMCGEN_TRACE_CONTEXT context = (PMCGEN_TRACE_CONTEXT)CallbackContext; BOOLEAN bIsPublicTraceHandle = (context->RegistrationHandle==Microsoft_Windows_DotNETRuntimeHandle); - + BOOLEAN bIsPrivateTraceHandle = (context->RegistrationHandle==Microsoft_Windows_DotNETRuntimePrivateHandle); - + BOOLEAN bIsRundownTraceHandle = (context->RegistrationHandle==Microsoft_Windows_DotNETRuntimeRundownHandle); @@ -4502,13 +4552,9 @@ extern "C" } } -#else - -void InitializeEventTracing(){} - -#endif // !defined(FEATURE_PAL) #endif // FEATURE_REDHAWK +#endif // FEATURE_PAL #ifndef FEATURE_REDHAWK /****************************************************************************/ @@ -5013,6 +5059,7 @@ VOID ETW::InfoLog::RuntimeInformation(INT32 type) VOID ETW::CodeSymbolLog::EmitCodeSymbols(Module* pModule) { +#if !defined(FEATURE_PAL) //UNIXTODO: Enable EmitCodeSymbols CONTRACTL { NOTHROW; GC_NOTRIGGER; @@ -5042,15 +5089,14 @@ VOID ETW::CodeSymbolLog::EmitCodeSymbols(Module* pModule) // estmate. static const DWORD maxDataSize = 63000; - DWORD quot = length / maxDataSize; - + ldiv_t qr = ldiv(length, maxDataSize); + // We do not allow pdbs of size greater than 2GB for now, // so totalChunks should fit in 16 bits. - if (quot < UINT16_MAX) + if (qr.quot < UINT16_MAX) { // If there are trailing bits in the last chunk, then increment totalChunks by 1 - DWORD rem = length % maxDataSize; - UINT16 totalChunks = (UINT16)(quot + ((rem != 0) ? 1 : 0)); + UINT16 totalChunks = (UINT16)(qr.quot + ((qr.rem != 0) ? 1 : 0)); NewArrayHolder<BYTE> chunk(new BYTE[maxDataSize]); DWORD offset = 0; for (UINT16 chunkNum = 0; offset < length; chunkNum++) @@ -5071,6 +5117,7 @@ VOID ETW::CodeSymbolLog::EmitCodeSymbols(Module* pModule) } } } EX_CATCH{} EX_END_CATCH(SwallowAllExceptions); +#endif// !defined(FEATURE_PAL) } /* Returns the length of an in-memory symbol stream diff --git a/src/vm/eventtracepriv.h b/src/vm/eventtracepriv.h index 50886e4e07..0932225133 100644 --- a/src/vm/eventtracepriv.h +++ b/src/vm/eventtracepriv.h @@ -291,6 +291,10 @@ private: // List of types we've batched. BulkTypeValue m_rgBulkTypeValues[kMaxCountTypeValues]; +#ifdef FEATURE_PAL + BYTE m_BulkTypeEventBuffer[65536]; +#endif + #ifdef FEATURE_REDHAWK int LogSingleType(EEType * pEEType); #else diff --git a/src/vm/finalizerthread.cpp b/src/vm/finalizerthread.cpp index 727b57319b..5fe0b486cc 100644 --- a/src/vm/finalizerthread.cpp +++ b/src/vm/finalizerthread.cpp @@ -22,6 +22,16 @@ BOOL FinalizerThread::fRunFinalizersOnUnload = FALSE; BOOL FinalizerThread::fQuitFinalizer = FALSE; + +#if defined(__linux__) +#define LINUX_HEAP_DUMP_TIME_OUT 10000 + +extern bool s_forcedGCInProgress; +ULONGLONG FinalizerThread::LastHeapDumpTime = 0; + +Volatile<BOOL> g_TriggerHeapDump = FALSE; +#endif // __linux__ + AppDomain * FinalizerThread::UnloadingAppDomain; CLREvent * FinalizerThread::hEventFinalizer = NULL; @@ -509,7 +519,11 @@ void FinalizerThread::WaitForFinalizerEvent (CLREvent *event) cEventsForWait, // # objects to wait on &(MHandles[uiEventIndexOffsetForWait]), // array of objects to wait on FALSE, // bWaitAll == FALSE, so wait for first signal +#if defined(__linux__) + LINUX_HEAP_DUMP_TIME_OUT, +#else INFINITE, // timeout +#endif FALSE) // alertable // Adjust the returned array index for the offset we used, so the return @@ -539,7 +553,17 @@ void FinalizerThread::WaitForFinalizerEvent (CLREvent *event) // Spawn thread to perform the profiler attach, then resume our wait ProfilingAPIAttachDetach::ProcessSignaledAttachEvent(); break; -#endif // FEATURE_PROFAPI_ATTACH_DETACH +#endif // FEATURE_PROFAPI_ATTACH_DETACH +#if defined(__linux__) + case (WAIT_TIMEOUT + kLowMemoryNotification): + case (WAIT_TIMEOUT + kFinalizer): + if (g_TriggerHeapDump) + { + return; + } + + break; +#endif default: //what's wrong? _ASSERTE (!"Bad return code from WaitForMultipleObjects"); @@ -550,7 +574,11 @@ void FinalizerThread::WaitForFinalizerEvent (CLREvent *event) else { static LONG sLastLowMemoryFromHost = 0; while (1) { +#if defined(__linux__) + DWORD timeout = LINUX_HEAP_DUMP_TIME_OUT; +#else DWORD timeout = INFINITE; +#endif if (!CLRMemoryHosted()) { if (WaitForSingleObject(MHandles[kLowMemoryNotification], 0) == WAIT_OBJECT_0) { @@ -585,6 +613,12 @@ void FinalizerThread::WaitForFinalizerEvent (CLREvent *event) case (WAIT_ABANDONED): return; case (WAIT_TIMEOUT): +#if defined(__linux__) + if (g_TriggerHeapDump) + { + return; + } +#endif break; } } @@ -638,6 +672,20 @@ VOID FinalizerThread::FinalizerThreadWorker(void *args) WaitForFinalizerEvent (hEventFinalizer); +#if defined(__linux__) + if (g_TriggerHeapDump && (CLRGetTickCount64() > (LastHeapDumpTime + LINUX_HEAP_DUMP_TIME_OUT))) + { + s_forcedGCInProgress = true; + GetFinalizerThread()->DisablePreemptiveGC(); + GCHeap::GetGCHeap()->GarbageCollect(2, FALSE, collection_blocking); + GetFinalizerThread()->EnablePreemptiveGC(); + s_forcedGCInProgress = false; + + LastHeapDumpTime = CLRGetTickCount64(); + g_TriggerHeapDump = FALSE; + } +#endif + if (!bPriorityBoosted) { if (GetFinalizerThread()->SetThreadPriority(THREAD_PRIORITY_HIGHEST)) diff --git a/src/vm/finalizerthread.h b/src/vm/finalizerthread.h index 2d15e60a81..c3b6e71c37 100644 --- a/src/vm/finalizerthread.h +++ b/src/vm/finalizerthread.h @@ -11,6 +11,10 @@ class FinalizerThread static BOOL fRunFinalizersOnUnload; static BOOL fQuitFinalizer; static AppDomain *UnloadingAppDomain; + +#if defined(__linux__) + static ULONGLONG LastHeapDumpTime; +#endif static CLREvent *hEventFinalizer; static CLREvent *hEventFinalizerDone; diff --git a/src/vm/vars.hpp b/src/vm/vars.hpp index 0dfe71d167..1b51c47324 100644 --- a/src/vm/vars.hpp +++ b/src/vm/vars.hpp @@ -605,6 +605,10 @@ extern ULONGLONG g_ObjFinalizeStartTime; extern Volatile<BOOL> g_FinalizerIsRunning; extern Volatile<ULONG> g_FinalizerLoopCount; +#ifdef FEATURE_PAL +extern Volatile<BOOL> g_TriggerHeapDump; +#endif // FEATURE_PAL + extern LONG GetProcessedExitProcessEventCount(); #ifndef DACCESS_COMPILE diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config deleted file mode 100644 index 8077c95440..0000000000 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<configuration> - <runtime> - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> - <dependentAssembly> - <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" /> - </dependentAssembly> - <dependentAssembly> - <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /> - </dependentAssembly> - <dependentAssembly> - <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /> - </dependentAssembly> - <dependentAssembly> - <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /> - </dependentAssembly> - <dependentAssembly> - <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> - <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /> - </dependentAssembly> - </assemblyBinding> - </runtime> -</configuration>
\ No newline at end of file diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il deleted file mode 100644 index 7505a649a1..0000000000 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il +++ /dev/null @@ -1,156 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern mscorlib { } -.assembly extern System.Console -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) - .ver 4:0:0:0 -} -.assembly extern Microsoft.VisualC -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....: - .hash = (EC 47 1C 7B E2 10 BB EE 15 E2 3B 4E FB 55 44 9D // .G.{......;N.UD. - E2 D0 4D B7 ) // ..M. - .ver 7:0:3300:0 -} -.assembly t -{ - - // --- The following custom attribute is added automatically, do not uncomment ------- - // .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(bool, - // bool) = ( 01 00 00 01 00 00 ) - - .hash algorithm 0x00008004 - .ver 0:0:0:0 -} -.module t.exe -// MVID: {B0E04E8C-E35E-406B-87D5-0DB207C0D0AC} -.imagebase 0x00400000 -.subsystem 0x00000003 -.file alignment 512 -.corflags 0x00000001 -// Image base: 0x02fe0000 - -// =============== CLASS MEMBERS DECLARATION =================== - -.method public static char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl) - PtrToStringChars(string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier) s) cil managed -{ - .vtentry 3 : 1 - // Code size 24 (0x18) - .maxstack 2 - .locals (unsigned int8 modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_0, - unsigned int32 V_1, - string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier) pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_2) - IL_0000: ldnull - IL_0001: stloc.2 - IL_0002: ldarg.0 - IL_0003: stloc.2 - IL_0004: ldarg.0 - IL_0005: conv.i4 - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: brfalse.s IL_0014 - - IL_000a: call int32 [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData() - IL_000f: stloc.1 - IL_0010: ldloc.0 - IL_0011: ldloc.1 - IL_0012: add - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: br.s IL_0017 - - IL_0017: ret -} // end of global method PtrToStringChars - - -.class private auto ansi beforefieldinit T - extends [mscorlib]System.Object -{ - .method public hidebysig static int32 Main(string[] args) cil managed - { - .entrypoint - // Code size 9 (0x9) - .maxstack 1 - ldc.i4 100 - IL_0008: ret - } // end of method T::Main - - - .method family static void StringToPtrFast(string pstrSrc, - int32 offset, - char* pwchDest, - int32 modopt([Microsoft.VisualC]Microsoft.VisualC.IsLongModifier) cwchSize) cil managed - { - // Code size 64 (0x40) - .maxstack 3 - .locals (char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_0, - int32 V_1) - IL_0000: ldc.i4.0 - IL_0001: ldarg.3 - IL_0002: bge.s IL_003f - - IL_0004: ldarg.0 - IL_0005: call instance int32 [mscorlib]System.String::get_Length() - IL_000a: ldarg.1 - IL_000b: ldarg.3 - IL_000c: add - IL_000d: blt.s IL_0039 - - IL_000f: ldarg.0 - IL_0010: call char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl) PtrToStringChars(string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)) - IL_0015: stloc.0 - IL_0016: ldloc.0 - IL_0017: ldarg.1 - IL_0018: ldc.i4.2 - IL_0019: mul - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldc.i4.0 - IL_001d: stloc.1 - IL_001e: ldloc.1 - IL_001f: ldarg.3 - IL_0020: bge.s IL_0035 - - IL_0022: ldarg.2 - IL_0023: ldloc.0 - IL_0024: ldind.u2 - IL_0025: stind.i2 - IL_0026: ldarg.2 - IL_0027: ldc.i4.2 - IL_0028: add - IL_0029: starg.s pwchDest - IL_002b: ldloc.0 - IL_002c: ldc.i4.2 - IL_002d: add - IL_002e: stloc.0 - IL_002f: ldloc.1 - IL_0030: ldc.i4.1 - IL_0031: add - IL_0032: stloc.1 - IL_0033: br.s IL_001e - - IL_0035: ldc.i4.0 - IL_0036: stloc.0 - IL_0037: br.s IL_003f - - IL_0039: newobj instance void [mscorlib]System.IndexOutOfRangeException::.ctor() - IL_003e: throw - - IL_003f: ret - } // end of method CXVariantBase::StringToPtrFast - - - -} // end of class T - - - -// ============================================================= - - -//*********** DISASSEMBLY COMPLETE *********************** -// WARNING: Created Win32 resource file repro.res diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj deleted file mode 100644 index 649a5444ab..0000000000 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <AssemblyName>$(MSBuildProjectName)</AssemblyName> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <OutputType>Exe</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath> - <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - </PropertyGroup> - <!-- Default configurations to help VS understand the configurations --> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - </PropertyGroup> - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - <PropertyGroup> - - </PropertyGroup> - <ItemGroup> - <Compile Include="b05623.il" /> - </ItemGroup> - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> - <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "> - </PropertyGroup> -</Project>
\ No newline at end of file diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/M00/b98431/ConsoleApplication2.il b/tests/src/JIT/Regression/VS-ia64-JIT/M00/b98431/ConsoleApplication2.il index af0741ebbc..441f3349ab 100644 --- a/tests/src/JIT/Regression/VS-ia64-JIT/M00/b98431/ConsoleApplication2.il +++ b/tests/src/JIT/Regression/VS-ia64-JIT/M00/b98431/ConsoleApplication2.il @@ -14,26 +14,6 @@ .assembly extern mscorlib { } -.assembly extern Microsoft.VisualBasic -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) - .ver 7:0:0:0 -} -.assembly extern System -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} -.assembly extern System.Data -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} .assembly ConsoleApplication2 { @@ -64,7 +44,6 @@ .class private auto ansi sealed Module1 extends [mscorlib]System.Object { - .custom instance void [Microsoft.VisualBasic]Microsoft.VisualBasic.Globals/StandardModuleAttribute::.ctor() = ( 01 00 00 00 ) .method public static int32 Main() cil managed { .entrypoint @@ -93,7 +72,7 @@ IL_0027: nop IL_0028: nop IL_0029: nop - ldc.i4 100 + ldc.i4 100 IL_002a: ret } diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/M00/b99403/cbyte7a.il b/tests/src/JIT/Regression/VS-ia64-JIT/M00/b99403/cbyte7a.il index fddf6316c8..e4ada33948 100644 --- a/tests/src/JIT/Regression/VS-ia64-JIT/M00/b99403/cbyte7a.il +++ b/tests/src/JIT/Regression/VS-ia64-JIT/M00/b99403/cbyte7a.il @@ -14,26 +14,6 @@ .assembly extern mscorlib { } -.assembly extern Microsoft.VisualBasic -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) - .ver 7:0:0:0 -} -.assembly extern System -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} -.assembly extern System.Data -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} -.assembly extern System.Xml -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) - .ver 1:0:2411:0 -} .assembly CByte7a { @@ -64,7 +44,6 @@ .class private auto ansi sealed Module1 extends [mscorlib]System.Object { - .custom instance void [Microsoft.VisualBasic]Microsoft.VisualBasic.Globals/StandardModuleAttribute::.ctor() = ( 01 00 00 00 ) .method public static int32 Main() cil managed { .entrypoint @@ -87,7 +66,7 @@ IL_0012: nop IL_0013: nop IL_0014: ldc.i4 100 - ret + ret } } diff --git a/tests/src/Loader/classloader/generics/Variance/Regressions/dev10_468712/dev10_468712.il b/tests/src/Loader/classloader/generics/Variance/Regressions/dev10_468712/dev10_468712.il index 5bf015ba37..122c60029d 100644 --- a/tests/src/Loader/classloader/generics/Variance/Regressions/dev10_468712/dev10_468712.il +++ b/tests/src/Loader/classloader/generics/Variance/Regressions/dev10_468712/dev10_468712.il @@ -15,27 +15,7 @@ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 4:0:0:0 } -.assembly extern Microsoft.VisualBasic -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....: - .ver 10:0:0:0 -} -.assembly extern System.Xml.Linq -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. - .ver 4:0:0:0 -} -.assembly extern System -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. - .ver 4:0:0:0 -} -.assembly extern System.Core -{ - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. - .ver 4:0:0:0 -} -.assembly Module1 +.assembly dev10_468712 { .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows. @@ -47,7 +27,7 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.module Module1.exe +.module dev10_468712.exe // MVID: {A08CCC44-9903-487B-892B-8613075988F7} .imagebase 0x00400000 .file alignment 0x00000200 @@ -93,7 +73,6 @@ .class private auto ansi sealed ConsoleApplicationVB.Module1 extends [mscorlib]System.Object { - .custom instance void [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute::.ctor() = ( 01 00 00 00 ) .method public static int32 Main() cil managed { .entrypoint diff --git a/tests/src/Loader/classloader/regressions/163172/MethodImplFinal.il b/tests/src/Loader/classloader/regressions/163172/MethodImplFinal.il index 420a5bfa75..3af857cb09 100644 --- a/tests/src/Loader/classloader/regressions/163172/MethodImplFinal.il +++ b/tests/src/Loader/classloader/regressions/163172/MethodImplFinal.il @@ -22,13 +22,6 @@ A4 08 4B CE ) // ..K. .ver 1:2:3400:0 } -.assembly extern Microsoft.VisualC -{ - .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....: - .hash = (AA 0A 15 2C F5 4D 7E 6A 96 7E DE 85 1D A6 76 80 // ...,.M~j.~....v. - 16 9B C1 DE ) - .ver 8:0:1000:0 -} .assembly MethodImplFinal { .permissionset reqmin @@ -97,7 +90,6 @@ .class public auto ansi A extends [mscorlib]System.Object { - .custom instance void [Microsoft.VisualC]Microsoft.VisualC.MiscellaneousBitsAttribute::.ctor(int32) = ( 01 00 01 00 00 00 00 00 ) .method public newslot virtual instance void f() cil managed { @@ -121,7 +113,6 @@ .class public auto ansi B extends A { - .custom instance void [Microsoft.VisualC]Microsoft.VisualC.MiscellaneousBitsAttribute::.ctor(int32) = ( 01 00 01 00 00 00 00 00 ) .method public newslot virtual final instance void g() cil managed { @@ -146,7 +137,6 @@ .class public auto ansi C extends B { - .custom instance void [Microsoft.VisualC]Microsoft.VisualC.MiscellaneousBitsAttribute::.ctor(int32) = ( 01 00 01 00 00 00 00 00 ) .method public virtual instance void f() cil managed { // Code size 1 (0x1) @@ -170,7 +160,6 @@ .class public auto ansi D extends A { - .custom instance void [Microsoft.VisualC]Microsoft.VisualC.MiscellaneousBitsAttribute::.ctor(int32) = ( 01 00 01 00 00 00 00 00 ) .method public virtual instance void f() cil managed { // Code size 1 (0x1) @@ -193,8 +182,6 @@ // ============================================================= -.custom ([mscorlib]System.Runtime.CompilerServices.AssemblyAttributesGoHereSM) instance void [mscorlib]System.Security.Permissions.SecurityPermissionAttribute::.ctor(valuetype [mscorlib]System.Security.Permissions.SecurityAction) = ( 01 00 08 00 00 00 01 00 54 02 10 53 6B 69 70 56 // ........T..SkipV - 65 72 69 66 69 63 61 74 69 6F 6E 01 ) // erification. .data D_00008030 = bytearray ( 01 00 00 06) //*********** DISASSEMBLY COMPLETE *********************** diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.il deleted file mode 100644 index c1999971bf..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.il +++ /dev/null @@ -1,22 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Check that prolog must be 0x0001 -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor(int32) = ( FF FF 03 00 00 00 00 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.ilproj deleted file mode 100644 index fd966e7fc4..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6a.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6a</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6a.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.il deleted file mode 100644 index 37be27d3b4..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.il +++ /dev/null @@ -1,23 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Check that there are as many occurences of fixed arg as the constructor requires - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor(int32) = ( 01 00 00 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.ilproj deleted file mode 100644 index b3c7d9fa90..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6b.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6b</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6b.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.il deleted file mode 100644 index 40b565e2e7..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Checked that there must be exactly NumNamed occurences of NamedArgs - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //Creates a CA with a blob that indicates there is one named arg but doesn't contain any - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.ilproj deleted file mode 100644 index bd00ce69f8..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d-two.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6d-two</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6d-two.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.il deleted file mode 100644 index 8efc691af1..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.il +++ /dev/null @@ -1,25 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Checked that there must be exactly NumNamed occurences of NamedArgs - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //Creates a CA with a blob that indicates there are no NamedArgs but does contain one NamedArg - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 00 00 54 08 0F 50 75 62 49 6E 73 74 50 72 // ....T..PubInstPr - 6F 70 65 72 74 79 03 00 00 00 ) // operty.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.ilproj deleted file mode 100644 index 408c97b7f3..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6d.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6d</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6d.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.il deleted file mode 100644 index 98c490999c..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Check that each named argument must be accessible to the caller (properties this time) - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 54 08 0F 50 72 76 49 6E 73 74 50 72 // ....T..PrvInstPr - 6F 70 65 72 74 79 03 00 00 00 ) // operty.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.ilproj deleted file mode 100644 index 0866d4c827..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e-two.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6e-two</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6e-two.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.il b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.il deleted file mode 100644 index 187aa51012..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -//Check that each named argument must be accessible to the caller - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 08 0C 50 72 76 49 6E 73 74 46 69 // ....S..PrvInstFi - 65 6C 64 03 00 00 00 ) // eld.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.ilproj deleted file mode 100644 index 6c85a2595f..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-1-6e.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-1-6e</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-1-6e.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.il deleted file mode 100644 index 461e984738..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that there must be NumElem occurences of val - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //CA Blob, indicates one numelem but two are present - .custom instance void ['RMV-4-CA']MyCA::.ctor(int32[]) = ( 01 00 01 00 00 00 01 00 00 00 02 00 00 00 00 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.ilproj deleted file mode 100644 index ffd2ddfd26..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4-two.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-2-4-two</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-2-4-two.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.il b/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.il deleted file mode 100644 index d3d1b1c1b4..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that there must be NumElem occurences of val - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //CA Blob, indicates one numelem but none are present - .custom instance void ['RMV-4-CA']MyCA::.ctor(int32[]) = ( 01 00 01 00 00 00 00 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.ilproj deleted file mode 100644 index acf82e2caa..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-2-4.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-2-4</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-2-4.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il deleted file mode 100644 index 1ccf50fd38..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that if a property is specified, the name must match a property and not a field - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 54 08 0C 50 75 62 49 6E 73 74 46 69 // ....S..PubInstFi - 65 6C 64 03 00 00 00 ) // eld.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.ilproj deleted file mode 100644 index 46e379d1d8..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4-two.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-3-4-two</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-3-4-two.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.il deleted file mode 100644 index 2903411f6e..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that Name must match the name of a field - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 08 0C 50 50 62 49 6E 73 74 46 69 // ....S..PPbInstFi - 65 6C 64 03 00 00 00 ) // eld.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.ilproj deleted file mode 100644 index 468ee50761..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-4.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-3-4</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-3-4.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.il deleted file mode 100644 index 83e1676f26..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.il +++ /dev/null @@ -1,25 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that if present, NumElem must match the number of vals for NamedArgs - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //CA Blob - NumElem on the NamedArg PubInstFieldArr==1, Actual argument count==2 - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 1D 08 0F 50 75 62 49 6E 73 74 46 // ....S...PubInstF - 69 65 6C 64 41 72 72 01 00 00 00 01 00 00 00 02 00 00 00) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.ilproj deleted file mode 100644 index 102d23e23e..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7-two.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-3-7-two</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-3-7-two.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.il deleted file mode 100644 index b9291a171a..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.il +++ /dev/null @@ -1,25 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that if present, NumElem must match the number of vals for NamedArgs - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - //CA Blob - NumElem on the NamedArg PubInstFieldArr==1, Actual argument count==0 - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 1D 08 0F 50 75 62 49 6E 73 74 46 // ....S...PubInstF - 69 65 6C 64 41 72 72 01 00 00 00 ) -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.ilproj deleted file mode 100644 index bc4bff3de9..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-7.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-3-7</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-3-7.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il b/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il deleted file mode 100644 index 4344a51559..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.il +++ /dev/null @@ -1,24 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -// Check that if NumElem is not present for a NamedArg that there must be only one occurance of val - -.assembly extern 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.assembly 'RMV-4-1-6a'{ - .custom instance void ['RMV-4-CA']MyCA::.ctor() = ( 01 00 01 00 53 08 0C 50 75 62 49 6E 73 74 46 69 // ....S..PubInstFi - 65 6C 64 03 00 00 00 01 00 00 00) // eld.... -} - -.class CMain extends [mscorlib]System.Object{ - .method public static int32 Main(){ - .entrypoint - ldstr "FAIL - 4.1.6a - Was allowed to declare a customattribute whose prolog isn't 0x0001" - call void [System.Console]System.Console::WriteLine(string) - ldc.i4 100 - ret - } -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.ilproj deleted file mode 100644 index 8b54d1d626..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-3-8.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-3-8</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Exe</OutputType> - <CLRTestKind>BuildAndRun</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-3-8.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-CA.il b/tests/src/Loader/classloader/rmv/il/RMV-4-CA.il deleted file mode 100644 index 8df4004f5b..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-CA.il +++ /dev/null @@ -1,75 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -.assembly extern System.Console { } -.assembly 'RMV-4-CA'{} -.assembly extern mscorlib {} - -.class public MyCA extends [mscorlib]System.Attribute{ - .field public int32 PubInstField - .field private int32 PrvInstField - .field private int32 PubInstProperty - .field private int32 PrvInstProperty - .field public int32[] PubInstFieldArr - - .method public specialname void .ctor(){ - ldarg.0 - call instance void [mscorlib]System.Attribute::.ctor() - ret - } - - .method public specialname void .ctor(int32 argument){ - ldarg.0 - call instance void [mscorlib]System.Attribute::.ctor() - ret - } - - .method public specialname void .ctor(int32[] argumentarray){ - ldarg.0 - call instance void [mscorlib]System.Attribute::.ctor() - ret - } - - .method public static void NotTheConstuctorStat(int32){ - ret - } - - .method public void NotTheConstructorInst(int32){ - ret - } - - .property int32 PubInstProperty(){ - .set instance void MyCA::set_PubInstProperty(int32) - .get instance int32 MyCA::get_PubInstProperty() - } - - .property int32 PrvInstProperty(){ - .set instance void MyCA::set_PrvInstProperty(int32) - .get instance int32 MyCA::get_PrvInstProperty() - } - - .method public hidebysig specialname instance int32 get_PubInstProperty(){ - ldarg.0 - ldfld int32 MyCA::PubInstProperty - ret - } - .method public hidebysig specialname instance void set_PubInstProperty(int32){ - ldarg.0 - ldarg.1 - stfld int32 MyCA::PubInstProperty - ret - } - .method private hidebysig specialname instance int32 get_PrvInstProperty(){ - ldarg.0 - ldfld int32 MyCA::PrvInstProperty - ret - } - .method private hidebysig specialname instance void set_PrvInstProperty(int32){ - ldarg.0 - ldarg.1 - stfld int32 MyCA::PrvInstProperty - ret - } - -} diff --git a/tests/src/Loader/classloader/rmv/il/RMV-4-CA.ilproj b/tests/src/Loader/classloader/rmv/il/RMV-4-CA.ilproj deleted file mode 100644 index 563d899d0e..0000000000 --- a/tests/src/Loader/classloader/rmv/il/RMV-4-CA.ilproj +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> - <PropertyGroup> - <AssemblyName>RMV-4-CA</AssemblyName> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> - <FileAlignment>512</FileAlignment> - <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> - <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ReferenceLocalMscorlib>true</ReferenceLocalMscorlib> - <OutputType>Library</OutputType> - <CLRTestKind>BuildOnly</CLRTestKind> - <CLRTestPriority>0</CLRTestPriority> - </PropertyGroup> - - <ItemGroup> - <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> - <Visible>False</Visible> - </CodeAnalysisDependentAssemblyPaths> - </ItemGroup> - - <ItemGroup> - <Compile Include="RMV-4-CA.il" /> - </ItemGroup> - - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - - <ItemGroup> - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> - </ItemGroup> - <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> -</Project> |