Fix 'params' (#16)
This commit is contained in:
@@ -5,6 +5,11 @@ namespace ProxyInterfaceSourceGenerator.Extensions
|
||||
{
|
||||
internal static class SymbolExtensions
|
||||
{
|
||||
public static string GetParamsPrefix(this IParameterSymbol ps)
|
||||
{
|
||||
return ps.IsParams ? "params " : string.Empty;
|
||||
}
|
||||
|
||||
public static TypeEnum GetTypeEnum(this IPropertySymbol p)
|
||||
{
|
||||
return GetTypeEnum(p.Type);
|
||||
|
||||
Reference in New Issue
Block a user