12 references to TypeNameHelper
Microsoft.AspNetCore.Shared.Tests (12)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (3)
103
declaringTypeName =
TypeNameHelper
.GetTypeDisplayName(type, includeGenericParameterNames: true);
110
.Select(arg =>
TypeNameHelper
.GetTypeDisplayName(arg, fullName: false, includeGenericParameterNames: true))) + ">";
136
parameterTypeString =
TypeNameHelper
.GetTypeDisplayName(parameterType!, fullName: false, includeGenericParameterNames: true);
TypeNameHelperTest.cs (9)
47
Assert.Equal(expected,
TypeNameHelper
.GetTypeDisplayName(type));
57
Assert.Equal("ClassInGlobalNamespace<int>",
TypeNameHelper
.GetTypeDisplayName(type));
82
Assert.Equal(expected,
TypeNameHelper
.GetTypeDisplayName(type, false));
104
Assert.Equal(expected,
TypeNameHelper
.GetTypeDisplayName(type));
117
Assert.Equal(expected,
TypeNameHelper
.GetTypeDisplayName(type, fullName));
176
Assert.Equal(expected,
TypeNameHelper
.GetTypeDisplayName(type, fullName));
193
var actual =
TypeNameHelper
.GetTypeDisplayName(type, fullName: true, includeGenericParameterNames: true);
213
var actual =
TypeNameHelper
.GetTypeDisplayName(type, fullName: false, includeGenericParameterNames: true);
254
var displayName =
TypeNameHelper
.GetTypeDisplayName(type, fullName: true, includeGenericParameters: false, nestedTypeDelimiter: '.');