@@ -77,10 +77,12 @@ public override string ToString()
77
77
[ Serializable ]
78
78
public struct AssemblyFilter
79
79
{
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 ]
81
82
private bool m_PredefinedAssemblies ;
82
83
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 ]
84
86
private string [ ] m_IncludedAssemblies ;
85
87
86
88
public AssemblyFilter ( bool predefinedAssemblies , string [ ] includedAssemblies )
@@ -107,11 +109,10 @@ internal class CscSettingsAsset : ScriptableObject, ISerializationCallbackReceiv
107
109
[ SerializeField ] private bool m_EnableLogging = false ;
108
110
[ SerializeField ] private Nullable m_Nullable = Nullable . Disable ;
109
111
[ 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/" } ) ;
111
113
[ 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/" } ) ;
113
115
[ SerializeField ] private string [ ] m_SymbolModifier = new string [ 0 ] ;
114
-
115
116
[ SerializeField ] [ Obsolete ] private bool m_UseDefaultCompiler = true ;
116
117
[ SerializeField ] [ Obsolete ] private string m_PackageName = "Microsoft.Net.Compilers" ;
117
118
[ SerializeField ] [ Obsolete ] private string m_PackageVersion = "3.5.0" ;
@@ -128,18 +129,13 @@ private static CscSettingsAsset CreateFromProjectSettings()
128
129
}
129
130
130
131
public bool IsProjectSetting { get ; private set ; }
131
-
132
132
private static CscSettingsAsset s_Instance ;
133
133
public static CscSettingsAsset instance => s_Instance ? s_Instance : s_Instance = CreateFromProjectSettings ( ) ;
134
134
public NugetPackage CompilerPackage => m_CompilerPackage ;
135
135
public Nullable Nullable => m_Nullable ;
136
136
public NugetPackage [ ] AnalyzerPackages => m_AnalyzerPackages ;
137
137
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 ;
143
139
144
140
public string LanguageVersion
145
141
{
0 commit comments