10 references to IsValid
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
265if (options.OutputKind.IsValid() && options.OutputKind != OutputKind.DynamicallyLinkedLibrary) 2160if (!outputKind.IsValid())
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (1)
3159var kind = _options.OutputKind.IsValid() ? _options.OutputKind : OutputKind.DynamicallyLinkedLibrary;
CSharpCompilationOptions.cs (3)
669if (this.OutputKind.IsValid() && !this.OutputKind.IsApplication()) 690if (!OutputKind.IsValid()) 715if (Platform == Platform.AnyCpu32BitPreferred && OutputKind.IsValid() && !(OutputKind == OutputKind.ConsoleApplication || OutputKind == OutputKind.WindowsApplication || OutputKind == OutputKind.WindowsRuntimeApplication))
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\VisualBasicCompilation.vb (1)
2412Dim kind = If(Options.OutputKind.IsValid(), Options.OutputKind, OutputKind.DynamicallyLinkedLibrary)
PredefinedPreprocessorSymbols.vb (1)
44If Not kind.IsValid Then
VisualBasicCompilationOptions.vb (2)
1042If Not OutputKind.IsValid() Then 1066If Platform = Platform.AnyCpu32BitPreferred AndAlso OutputKind.IsValid() AndAlso