This project is read-only.

Expose MethodSymbol.CallsAreOmitted

Topics: APIs
Aug 9, 2014 at 5:36 AM
I see that MethodSymbol has a CallsAreOmitted(SyntaxTree) method which indicates when a method call will be omitted due to a Conditional attribute or because it is partial and unimplemented. It would be very useful to have this information when analyzing the source code. Please add a way to access this information, perhaps on IMethodSymbol. Thank you.
Aug 30, 2014 at 4:28 PM
+1 for this
Sep 11, 2014 at 11:12 PM
Would also be nice if AttributeData.IsConditionallyOmitted were exposed
Nov 17, 2014 at 11:35 PM
This seems to not have been implemented in 1.0-beta. It would be very helpful to have this (or another way of obtaining the information). Currently I have to resort to private reflection.
Nov 18, 2014 at 1:15 AM
Please open a code issue so we can track this.
Nov 18, 2014 at 7:39 AM
Nov 18, 2014 at 2:38 PM
Thank you @erikkallen for submitting this issue