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