Skip to content

Commit ce92e50

Browse files
committed
[Immutable]
1 parent 2739495 commit ce92e50

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

ManagedCode.Communication.Orleans/CollectionResultTSurrogate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]
1011
public struct CollectionResultTSurrogate<T>
1112
{

ManagedCode.Communication.Orleans/ErrorSurrogate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]
910
public struct ErrorSurrogate
1011
{

ManagedCode.Communication.Orleans/ResultSurrogate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]
910
public struct ResultSurrogate
1011
{

ManagedCode.Communication.Orleans/ResultTSurrogate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]
910
public struct ResultTSurrogate<T>
1011
{

0 commit comments

Comments
 (0)