@@ -28,23 +28,23 @@ when GetMethod.Match(candidate, semanticModel, cancellationToken) is { Member: {
2828
2929 InvocationExpressionSyntax { Expression : MemberAccessExpressionSyntax memberAccess } invocation
3030 when semanticModel . TryGetSymbol ( invocation , KnownSymbol . PropertyInfo . GetGetMethod , cancellationToken , out _ ) &&
31- PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property : { GetMethod : { } getMethod } }
31+ PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property . GetMethod : { } getMethod }
3232 => new MethodInfo ( reflectedType , getMethod ) ,
3333
3434 InvocationExpressionSyntax { Expression : MemberAccessExpressionSyntax memberAccess } invocation
3535 when semanticModel . TryGetSymbol ( invocation , KnownSymbol . PropertyInfo . GetSetMethod , cancellationToken , out _ ) &&
36- PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property : { SetMethod : { } setMethod } }
36+ PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property . SetMethod : { } setMethod }
3737 => new MethodInfo ( reflectedType , setMethod ) ,
3838
3939 MemberAccessExpressionSyntax memberAccess
4040 when semanticModel . TryGetSymbol ( memberAccess , cancellationToken , out var symbol )
4141 => symbol switch
4242 {
4343 { } when symbol == KnownSymbol . PropertyInfo . GetMethod &&
44- PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property : { GetMethod : { } getMethod } }
44+ PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property . GetMethod : { } getMethod }
4545 => new MethodInfo ( reflectedType , getMethod ) ,
4646 { } when symbol == KnownSymbol . PropertyInfo . SetMethod &&
47- PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property : { SetMethod : { } setMethod } }
47+ PropertyInfo . Find ( memberAccess . Expression , semanticModel , cancellationToken ) is { ReflectedType : { } reflectedType , Property . SetMethod : { } setMethod }
4848 => new MethodInfo ( reflectedType , setMethod ) ,
4949 { } when AssignedValue . FindSingle ( symbol , semanticModel , cancellationToken ) is { } assignedValue
5050 => Find ( assignedValue , semanticModel , cancellationToken ) ,
0 commit comments