2 references to isValidTypeArgument
Microsoft.CodeAnalysis.CSharp (2)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
306
if (!
isValidTypeArgument
(useUpdatedEscapeRules, runtimeSupportsByRefLikeGenerics, fields[i], ref needsIndexedName))
312
return returnParameter.Type.IsVoidType() ||
isValidTypeArgument
(useUpdatedEscapeRules, runtimeSupportsByRefLikeGenerics, returnParameter, ref needsIndexedName);