Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
954397
Regression
No
[OSX] [.NET4.6] VS fails to find System.Runtime.CompilerServices.ExtensionAttribute when using pointer argument in method
To reproduce:
1. Open project
2. Open and run 'Extension' script in VS
3. Repeat 3rd step using MonoDevelop
Expected: both times scripts will run without errors
Actual: When trying to run on VS an error is thrown:
'Error CS1110: Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute' cannot be found. Are you missing a reference to System.Core.dll? (CS1110)'
Reproduced on: 2017.1.0b4, 2017.1.1p3, 2017.2.0f1, 2017.3.0b2
Not reproducible: 2017.1.0b2
Regression introduced between 2017.1.0b2- 2017.1.0b4
Note:
• Not reproducible on Windows
• Reproducible only when scripting runtime is set to .NET4.6
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Errorsatz
Oct 12, 2017 22:37
Why is this marked as "Won't Fix"? It breaks debugging from VS on Mac. That's a pretty significant problem!