93 references to Misc
System.Web (93)
Compilation\CompilationLock.cs (1)
47string mutexRandomName = (string) Misc.GetAspNetRegValue("CompilationMutexName",
Configuration\NativeConfig.cs (2)
29Misc.ThrowIfFailedHr(hresult); 51Misc.ThrowIfFailedHr(hresult);
Configuration\ProcessHostMapPath.cs (1)
43_functions = Misc.CreateLocalSupportFunctions(functions);
Hosting\ApplicationManager.cs (2)
134Misc.WriteUnhandledExceptionToEventLog(appDomain, e); 878Misc.ReportUnhandledException(e, new string[] {SR.GetString(SR.Failed_to_initialize_AppDomain), appId});
Hosting\HostingEnvironment.cs (2)
331_functions = Misc.CreateLocalSupportFunctions(proxyFunctions); 1193BackgroundWorkScheduler newlyCreatedScheduler = new BackgroundWorkScheduler(UnregisterObject, Misc.WriteUnhandledExceptionToEventLog);
Hosting\IIS7WorkerRequest.cs (41)
148Misc.ThrowIfFailedHr(hr); 432Misc.ThrowIfFailedHr(hresult); 793Misc.ThrowIfFailedHr(hr); 923Misc.ThrowIfFailedHr(result); 930Misc.ThrowIfFailedHr(result); 1143Misc.ThrowIfFailedHr(result); 1159Misc.ThrowIfFailedHr(retval); 1177Misc.ThrowIfFailedHr(retval); 1195Misc.ThrowIfFailedHr(retval); 1213Misc.ThrowIfFailedHr(retval); 1230Misc.ThrowIfFailedHr(retval); 1468Misc.ThrowIfFailedHr(result); 1542Misc.ThrowIfFailedHr(result); 1584Misc.ThrowIfFailedHr(result); 1601Misc.ThrowIfFailedHr(result); 1614Misc.ThrowIfFailedHr(result); 1619Misc.ThrowIfFailedHr(result); 1670Misc.ThrowIfFailedHr(result); 1751Misc.ThrowIfFailedHr(result); 1846Misc.ThrowIfFailedHr(result); 1870Misc.ThrowIfFailedHr(result); 1908Misc.ThrowIfFailedHr(result); 1957Misc.ThrowIfFailedHr(result); 2004Misc.ThrowIfFailedHr(result); 2027Misc.ThrowIfFailedHr(result); 2037Misc.ThrowIfFailedHr(result); 2061Misc.ThrowIfFailedHr(result); 2077Misc.ThrowIfFailedHr(result); 2093Misc.ThrowIfFailedHr(result); 2136Misc.ThrowIfFailedHr(result); 2250Misc.ThrowIfFailedHr(result); 2314Misc.ThrowIfFailedHr(result); 2403Misc.ThrowIfFailedHr(result); 2491Misc.ThrowIfFailedHr(hr); 2497Misc.CopyMemory(pClientCert, 0, _clientCert, 0, clientCertSize); 2502Misc.CopyMemory(pClientCertIssuer, 0, _clientCertBinaryIssuer, 0, clientCertIssuerSize); 2507Misc.CopyMemory(pClientCertPublicKey, 0, _clientCertPublicKey, 0, clientCertPublicKeySize); 2576Misc.ThrowIfFailedHr(hr); 2585Misc.ThrowIfFailedHr(hr); 2601Misc.ThrowIfFailedHr(hr); 2621Misc.ThrowIfFailedHr(hr);
Hosting\ISAPIWorkerRequest.cs (2)
2024Misc.ThrowIfFailedHr(hr); 2176Misc.ThrowIfFailedHr(hresult);
Hosting\PreloadHost.cs (1)
30Misc.FormatExceptionMessage(e, new string[]{
Hosting\ProcessHost.cs (19)
335int maxPreloadConcurrency = (int)Misc.GetAspNetRegValue(null, "MaxPreloadConcurrency", 0); 344Misc.ReportUnhandledException(e, new string[] 413Misc.ReportUnhandledException(e, new string[] { 492Misc.ReportUnhandledException(e, new string[] { 518Misc.ReportUnhandledException(e, new string[] { 548Misc.ReportUnhandledException(e, new string[] { 607Misc.ReportUnhandledException(e, new string[] { 640Misc.ReportUnhandledException(e, new string[] { 673Misc.ReportUnhandledException(e, new string[] { 755Misc.ReportUnhandledException(e, new string[] { 770Misc.ReportUnhandledException(e, new string[] { 815Misc.ReportUnhandledException(e, new string[] { 861Misc.ReportUnhandledException(e, new string[] { 877Misc.ReportUnhandledException(e, new string[] { 894Misc.ReportUnhandledException(e, new string[] { 1002Misc.FormatExceptionMessage( 1104Misc.FormatExceptionMessage( 1122Misc.FormatExceptionMessage( 1287int valueInRegistry = (int)Misc.GetAspNetRegValue(null, "CustomLoaderEnabled", -1);
Hosting\ProcessHostFactoryHelper.cs (1)
47Misc.ReportUnhandledException(e, new string[] {SR.GetString(SR.Cant_Create_Process_Host)});
httpapplicationstate.cs (1)
51: base(Misc.CaseInsensitiveInvariantKeyComparer) {
HttpDictionary.cs (1)
21internal HttpDictionary(): base(Misc.CaseInsensitiveInvariantKeyComparer) {
HttpModuleCollection.cs (1)
31internal HttpModuleCollection() : base(Misc.CaseInsensitiveInvariantKeyComparer) {
HttpRuntime.cs (1)
2086Misc.ThrowIfFailedHr(result);
HttpWriter.cs (7)
130Misc.CopyMemory(data, offset, _data, _size-_free, n); 228Misc.CopyMemory(_data, 0, clonedData, 0, clonedSize); 256Misc.CopyMemory(data, offset, _data, _size-_free, n); 265Misc.CopyMemory(data, offset, _data, _size-_free, n); 315Misc.CopyMemory(_data, 0, data, 0, n); 381Misc.CopyMemory(_data, _offset, data, 0, _size); 623Misc.CopyMemory(_firstSubstData, 0, data, 0, _firstSubstDataSize);
State\SessionStateItemCollection.cs (2)
58internal KeyedCollection(int count) : base(count, Misc.CaseInsensitiveInvariantKeyComparer) { 150public SessionStateItemCollection() : base(Misc.CaseInsensitiveInvariantKeyComparer) {
Util\AppVerifier.cs (5)
85int valueFromRegistry = (Misc.GetAspNetRegValue(subKey: null, valueName: "RuntimeVerificationBehavior", defaultValue: null) as int?) ?? 0; 88AppVerifierErrorCodeEnableAssertMask = (Misc.GetAspNetRegValue(subKey: null, valueName: "AppVerifierErrorCodeEnableAssertMask", defaultValue: (long)(-1)) as long?) ?? (long)(-1); 91AppVerifierErrorCodeCollectCallStackMask = (Misc.GetAspNetRegValue(subKey: null, valueName: "AppVerifierErrorCodeCollectCallstackMask", defaultValue: (long)(-1)) as long?) ?? (long)(-1); 94AppVerifierCollectCallStackMask = (CallStackCollectionBitMasks)((Misc.GetAspNetRegValue(subKey: null, valueName: "AppVerifierCollectCallStackMask", defaultValue: (int)(-1)) as int?) ?? (int)(-1)); 117Misc.WriteUnhandledExceptionToEventLog(AppDomain.CurrentDomain, ex); // method won't throw
Util\Misc.cs (1)
54Misc.ReportUnhandledException(exception, new string[5] {description, APPLICATION_ID, appId, PROCESS_ID, pid});
Util\TlsTokenBindingHandle.cs (1)
30Misc.ThrowIfFailedHr(hr);
WorkerRequest.cs (1)
953Misc.CopyMemory(data, 0, bytes, 0, length);