4 references to TryParse
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
78if (contentType != null && MediaTypeHeaderValue.TryParse(contentType, out var mt))
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
130if (MediaTypeHeaderValue.TryParse(contentType, out contentTypeHeaderValue))
Microsoft.Extensions.AI.Abstractions (1)
Contents\DataUriParser.cs (1)
117return MediaTypeHeaderValue.TryParse(mediaType, out _);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\MessageContent.cs (1)
136if (MediaTypeHeaderValue.TryParse(contentType, out contentTypeHeaderValue))