Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS4025
The CallerFilePathAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments