Skip to content

Commit

Permalink
Update src/Neo.Compiler.CSharp/MethodConvert/Expression/CastExpressio…
Browse files Browse the repository at this point in the history
…n.cs
  • Loading branch information
shargon authored Feb 15, 2024
1 parent 8835008 commit 4cd8139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private void ConvertCastExpression(SemanticModel model, CastExpressionSyntax exp
{
ITypeSymbol sType = model.GetTypeInfo(expression.Expression).Type!;
ITypeSymbol tType = model.GetTypeInfo(expression.Type).Type!;
IMethodSymbol method = (IMethodSymbol)model.GetSymbolInfo(expression).Symbol;
IMethodSymbol method = (IMethodSymbol)model.GetSymbolInfo(expression).Symbol!;
if (method is not null)
{
Call(model, method, null, expression.Expression);
Expand Down

0 comments on commit 4cd8139

Please sign in to comment.