Ejemplo n.º 1
0
 public static MemberDeclarationSyntax IConvertibleConvertToSyntax(this PrimitiveDescriptor descriptor, string returnType, string name)
 => descriptor.IConvertibleConvertToSyntax(IdentifierName(returnType), name);
Ejemplo n.º 2
0
 public static MemberDeclarationSyntax IConvertibleConvertToSyntax(this PrimitiveDescriptor descriptor, SyntaxKind returnType, string name)
 => descriptor.IConvertibleConvertToSyntax(PredefinedType(Token(returnType)), name);