.NET structs are value types, meaning that if function A creates a struct and calls function B, which tries to change the struct, B will get a new copy of the struct, so the changes won't apply to A's struct.
Structs can be much bigger than the CLR's other value types. Lets say that one function creates a large struct, calls another and passes the struct to the function. This goes on for 10 levels, but all functions just need to read data from the struct, and do not change any of the fields . If a new copy of the struct is indeed created in each function call, the above scenario will result allocating many unneeded structs.
C language users can avoid this by passing a pointer instead of the struct itself, and if the inner functions should not change that data in the struct, the const keyword can be used.
However, C# has references instead of pointers, and there is no such thing as "const ref".
My question is: Is .NET optimized in such way that it knows to copy a struct only when a function tries to change the fields inside, or that new copy is always created once a struct is passed to another function?