15 references to GetTypeDisplayName
Microsoft.AspNetCore.Mvc.Abstractions (15)
src\Shared\ParameterBindingMethodCache.cs (14)
187
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"TryParse method found on {TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)} with incorrect format. Must be a static method with format");
188
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"bool TryParse(string, IFormatProvider, out {TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)})");
189
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"bool TryParse(string, out {TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)})");
281
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"BindAsync method found on {TypeNameHelper.
GetTypeDisplayName
(nonNullableParameterType, fullName: false)} with incorrect format. Must be a static method with format");
282
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.
GetTypeDisplayName
(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context, ParameterInfo parameter)");
283
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.
GetTypeDisplayName
(nonNullableParameterType, fullName: false)}> BindAsync(HttpContext context)");
284
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.
GetTypeDisplayName
(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context, ParameterInfo parameter)");
285
stringBuilder.AppendLine(CultureInfo.InvariantCulture, $"ValueTask<{TypeNameHelper.
GetTypeDisplayName
(nonNullableParameterType, fullName: false)}?> BindAsync(HttpContext context)");
341
$"The public parameterized constructor must contain only parameters that match the declared public properties for type '{TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)}'.");
357
throw new InvalidOperationException($"The abstract type '{TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)}' is not supported.");
397
throw new InvalidOperationException($"Only a single public parameterized constructor is allowed for type '{TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)}'.");
400
throw new InvalidOperationException($"No public parameterless constructor found for type '{TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)}'.");
429
var typeName = TypeNameHelper.
GetTypeDisplayName
(type, fullName: true, nestedTypeDelimiter: '.');
460
throw new InvalidOperationException($"{TypeNameHelper.
GetTypeDisplayName
(type, fullName: false)} implements multiple interfaces defining a static {interfaceMethod} method causing ambiguity.");
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
40
return item == null ? null :
GetTypeDisplayName
(item.GetType(), fullName);