@@ -77,10 +77,12 @@ public override string ToString()
7777 [ Serializable ]
7878 public struct AssemblyFilter
7979 {
80- [ Tooltip ( "Include predefined assemblies (Assembly-CSharp-firstpass.dll, Assembly-CSharp-Editor-firstpass.dll, Assembly-CSharp.dll and Assembly-CSharp-Editor.dll)" ) ] [ SerializeField ]
80+ [ Tooltip ( "Include predefined assemblies (Assembly-CSharp-firstpass.dll, Assembly-CSharp-Editor-firstpass.dll, Assembly-CSharp.dll and Assembly-CSharp-Editor.dll)" ) ]
81+ [ SerializeField ]
8182 private bool m_PredefinedAssemblies ;
8283
83- [ Tooltip ( "Assemblies filter. Prefix '!' to exclude. (e.g. 'Assets/', '!Packages/')" ) ] [ SerializeField ]
84+ [ Tooltip ( "Assemblies filter. Prefix '!' to exclude. (e.g. 'Assets/', '!Packages/')" ) ]
85+ [ SerializeField ]
8486 private string [ ] m_IncludedAssemblies ;
8587
8688 public AssemblyFilter ( bool predefinedAssemblies , string [ ] includedAssemblies )
@@ -107,11 +109,10 @@ internal class CscSettingsAsset : ScriptableObject, ISerializationCallbackReceiv
107109 [ SerializeField ] private bool m_EnableLogging = false ;
108110 [ SerializeField ] private Nullable m_Nullable = Nullable . Disable ;
109111 [ SerializeField ] private NugetPackage m_CompilerPackage = new NugetPackage ( "Microsoft.Net.Compilers" , "3.5.0" , NugetPackage . CategoryType . Compiler ) ;
110- [ SerializeField ] private AssemblyFilter m_CompilerFilter = new AssemblyFilter ( true , new [ ] { "Assets/" , "!Assets/Standard Assets/" , "!Packages/" } ) ;
112+ [ SerializeField ] private AssemblyFilter m_CompilerFilter = new AssemblyFilter ( true , new [ ] { "Assets/" , "!Assets/Standard Assets/" , "!Packages/" } ) ;
111113 [ SerializeField ] private NugetPackage [ ] m_AnalyzerPackages = new NugetPackage [ 0 ] ;
112- [ SerializeField ] private AssemblyFilter m_AnalyzerFilter = new AssemblyFilter ( true , new [ ] { "Assets/" , "!Assets/Standard Assets/" , "!Packages/" } ) ;
114+ [ SerializeField ] private AssemblyFilter m_AnalyzerFilter = new AssemblyFilter ( true , new [ ] { "Assets/" , "!Assets/Standard Assets/" , "!Packages/" } ) ;
113115 [ SerializeField ] private string [ ] m_SymbolModifier = new string [ 0 ] ;
114-
115116 [ SerializeField ] [ Obsolete ] private bool m_UseDefaultCompiler = true ;
116117 [ SerializeField ] [ Obsolete ] private string m_PackageName = "Microsoft.Net.Compilers" ;
117118 [ SerializeField ] [ Obsolete ] private string m_PackageVersion = "3.5.0" ;
@@ -128,18 +129,13 @@ private static CscSettingsAsset CreateFromProjectSettings()
128129 }
129130
130131 public bool IsProjectSetting { get ; private set ; }
131-
132132 private static CscSettingsAsset s_Instance ;
133133 public static CscSettingsAsset instance => s_Instance ? s_Instance : s_Instance = CreateFromProjectSettings ( ) ;
134134 public NugetPackage CompilerPackage => m_CompilerPackage ;
135135 public Nullable Nullable => m_Nullable ;
136136 public NugetPackage [ ] AnalyzerPackages => m_AnalyzerPackages ;
137137 public bool EnableDebugLog => m_EnableLogging ;
138-
139- public bool UseDefaultCompiler
140- {
141- get { return m_CompilerType == CompilerType . BuiltIn || ! m_CompilerPackage . IsValid ; }
142- }
138+ public bool UseDefaultCompiler => m_CompilerType == CompilerType . BuiltIn || ! m_CompilerPackage . IsValid ;
143139
144140 public string LanguageVersion
145141 {
0 commit comments