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