36 references to UriSchemeHttp
aspire (1)
Packaging\PackagingService.cs (1)
113(uri.Scheme == Uri.UriSchemeHttps || uri.Scheme == Uri.UriSchemeHttp))
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
72(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) &&
Microsoft.AspNetCore.Hosting (1)
GenericHost\GenericWebHostService.cs (1)
91var httpUrls = ExpandPorts(httpPorts, Uri.UriSchemeHttp);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
NuGet.Common (1)
UriUtility.cs (1)
15return uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps;
NuGet.PackageManagement (1)
Utility\UriHelper.cs (1)
121return (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps);
NuGet.Packaging (3)
Signing\Timestamp\Rfc3161TimestampProvider.cs (2)
30if (!string.Equals(timeStampServerUrl.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) && 37nameof(Uri.UriSchemeHttp),
Signing\Timestamp\Rfc3161TimestampRequestNetstandard21Wrapper.cs (1)
50if (timestampUri.Scheme != Uri.UriSchemeHttp && timestampUri.Scheme != Uri.UriSchemeHttps)
NuGet.Protocol (4)
Resources\PackageUpdateResource.cs (2)
438if (logErrorForHttpSources && serviceEndpointUrl.Scheme == Uri.UriSchemeHttp && !allowInsecureConnections) 741if (sourceUri.Scheme == Uri.UriSchemeHttp && !allowInsecureConnections)
Resources\ServiceIndexResourceV3.cs (2)
177if (packageSource != null && uri.Scheme == Uri.UriSchemeHttp && packageSource.IsHttps) 246if (packageSource != null && uri.Scheme == Uri.UriSchemeHttp && packageSource.IsHttps)
PresentationCore (7)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
402if (!string.Equals(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) && !string.Equals(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal))
MS\Internal\IO\Packaging\NetStream.cs (1)
92if (fullStreamLength > 0 && ((string.Equals(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal)) ||
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
342if (IsScheme(Uri.UriSchemeHttp))
System\Windows\Media\Imaging\BitmapDecoder.cs (3)
263((finalUri.Scheme == Uri.UriSchemeHttp) || 1009Debug.Assert((uri.Scheme == Uri.UriSchemeHttp) || (uri.Scheme == Uri.UriSchemeHttps)); 1051else if (uri.Scheme == Uri.UriSchemeHttp) // for http
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
45if (uriToDecode.Scheme == Uri.UriSchemeHttp ||
PresentationFramework (2)
MS\Internal\AppModel\AppSecurityManager.cs (2)
72bool isKnownScheme = (Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttp)) || 129if (uri.Scheme != Uri.UriSchemeHttp && uri.Scheme != Uri.UriSchemeHttps)
QuarantineTools.Tests (1)
QuarantineScriptTests.cs (1)
411return uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps;
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (1)
257(uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps) ? uri : null;
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\UrlAttribute.cs (1)
24return valueAsUri.Scheme == Uri.UriSchemeHttp
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (1)
24var builder = new UriBuilder(Uri.UriSchemeHttp, host, port);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
332Debug.Assert(request.RequestUri.Scheme == Uri.UriSchemeHttp);
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpHandler.cs (2)
603if (requestUri.Scheme != Uri.UriSchemeHttp && requestUri.Scheme != Uri.UriSchemeHttps) 1013state.RequestMessage.RequestUri.Scheme == Uri.UriSchemeHttps && responseMessage.Headers.Location?.Scheme == Uri.UriSchemeHttp)
System.Net.HttpListener (1)
System\Net\ServiceNameStore.cs (1)
102if (!Uri.TryCreate(Uri.UriSchemeHttp + Uri.SchemeDelimiter + host, UriKind.Absolute, out constructedUri))
System.Private.Uri (1)
System\UriBuilder.cs (1)
36_uri = new Uri(Uri.UriSchemeHttp + Uri.SchemeDelimiter + uri);