File tree Expand file tree Collapse file tree
ManagedCode.Communication.Orleans Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ namespace ManagedCode.Communication;
66
77// This is the surrogate which will act as a stand-in for the foreign type.
88// Surrogates should use plain fields instead of properties for better perfomance.
9+ [ Immutable ]
910[ GenerateSerializer ]
1011public struct CollectionResultTSurrogate < T >
1112{
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ namespace ManagedCode.Communication;
55
66// This is the surrogate which will act as a stand-in for the foreign type.
77// Surrogates should use plain fields instead of properties for better perfomance.
8+ [ Immutable ]
89[ GenerateSerializer ]
910public struct ErrorSurrogate
1011{
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ namespace ManagedCode.Communication;
55
66// This is the surrogate which will act as a stand-in for the foreign type.
77// Surrogates should use plain fields instead of properties for better perfomance.
8+ [ Immutable ]
89[ GenerateSerializer ]
910public struct ResultSurrogate
1011{
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ namespace ManagedCode.Communication;
55
66// This is the surrogate which will act as a stand-in for the foreign type.
77// Surrogates should use plain fields instead of properties for better perfomance.
8+ [ Immutable ]
89[ GenerateSerializer ]
910public struct ResultTSurrogate < T >
1011{
You can’t perform that action at this time.
0 commit comments