Skip to content

Commit b831e4d

Browse files
author
Josh Peterson
committed
Put dummy types used in ProcessImportedType in the proper namespace
These dummy types were added in 0e66d19 so that the `ProcessImportedType` method could be added to the `IDataContractSurrogate` interface properly. However, the types were not put in the proper namespace. Recent changes to the profile stubber to handle overloaded methods correctly caused an additional `ProcessImportedType` method to be incorrectly stubbed in. This change allows the profile stubber to correctly notice that this method exists, and not stubbing is done.
1 parent 876c538 commit b831e4d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#if UNITY_AOT
22

3+
namespace System.CodeDom
4+
{
5+
36
public class CodeCompileUnit
47
{
58
}
69

10+
}
11+
712
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#if UNITY_AOT
22

3+
namespace System.CodeDom
4+
{
5+
36
public class CodeTypeDeclaration
47
{
58
}
69

10+
}
11+
712
#endif

0 commit comments

Comments
 (0)