0

I’d like to write a Analyzer that adds either Option Strict Off or Option Strict On, which seems like it would be easy to do ... if the Analyzer can get access to a files project.

jmoreno
  • 12,752
  • 4
  • 60
  • 91

1 Answers1

0

The context has a property Compilation, which has the property CommonOptions a VisualBasicCompilationOptions, which has the Property OptionStrict which allows me to determine if the project has strict on as a default or not.

jmoreno
  • 12,752
  • 4
  • 60
  • 91