Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS0197
Passing '{0}' as ref or out or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class