34 references to IsEmptyWithoutResolution
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.cs (2)
1215
if (analyzerDriver != null && !diagnostics.
IsEmptyWithoutResolution
)
1297
if (!diagnostics.
IsEmptyWithoutResolution
)
Diagnostic\DiagnosticBag.cs (4)
67
if (
IsEmptyWithoutResolution
)
95
if (
IsEmptyWithoutResolution
)
151
if (!bag.
IsEmptyWithoutResolution
)
265
if (this.
IsEmptyWithoutResolution
)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
942
Debug.Assert(!reportedDiagnostics.
IsEmptyWithoutResolution
);
Microsoft.CodeAnalysis.CSharp (17)
Binder\EarlyWellKnownAttributeBinder.cs (1)
34
generatedDiagnostics = !dummyDiagnosticBag.DiagnosticBag.
IsEmptyWithoutResolution
;
Binder\ForEachLoopBinder.cs (1)
481
if (createConversionDiagnostics.AccumulatesDiagnostics && !createConversionDiagnostics.DiagnosticBag.
IsEmptyWithoutResolution
)
CodeGen\EmitStatement.cs (2)
1448
Debug.Assert(diag.
IsEmptyWithoutResolution
);
1567
Debug.Assert(diag.
IsEmptyWithoutResolution
);
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
70
if (diagnostics.
IsEmptyWithoutResolution
)
159
if (Diagnostics != null && !Diagnostics.
IsEmptyWithoutResolution
)
Compilation\SyntaxAndDeclarationManager.cs (1)
252
Debug.Assert(diagnostics.
IsEmptyWithoutResolution
);
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
654
if (bindingDiagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (6)
437
Debug.Assert(diagnostics.
IsEmptyWithoutResolution
);
572
Debug.Assert(calculated.Diagnostics?.
IsEmptyWithoutResolution
?? true);
590
Debug.Assert(calculated.Diagnostics?.
IsEmptyWithoutResolution
?? true);
802
if (diagnostics.
IsEmptyWithoutResolution
)
1006
if (usingsAndDiagnostics.Diagnostics?.
IsEmptyWithoutResolution
== false)
1011
if (globalUsingDiagnostics?.
IsEmptyWithoutResolution
== false)
Symbols\Symbol.cs (2)
890
if (diagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false || diagnostics.DependenciesBag?.Count > 0)
897
if (diagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false)
Symbols\Symbol_Attributes.cs (1)
433
!diagnostics.DiagnosticBag.
IsEmptyWithoutResolution
&&
Microsoft.CodeAnalysis.Scripting (1)
ScriptBuilder.cs (1)
105
if (diagnostics.
IsEmptyWithoutResolution
)
Microsoft.CodeAnalysis.VisualBasic (9)
Binding\Binder_Expressions.vb (2)
4701
Debug.Assert(operand.Type.IsErrorType() OrElse ignoreDiagnostics.DiagnosticBag.
IsEmptyWithoutResolution
())
4916
If bag.
IsEmptyWithoutResolution
Then
Binding\Binder_Statements.vb (1)
4039
Debug.Assert(If(temporaryDiagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
, True))
Binding\BindingDiagnosticBag.vb (1)
75
Return (DiagnosticBag Is Nothing OrElse DiagnosticBag.
IsEmptyWithoutResolution
) AndAlso DependenciesBag.IsNullOrEmpty()
Binding\EarlyWellKnownAttributeBinder.vb (1)
56
generatedDiagnostics = Not diagnostics.DiagnosticBag.
IsEmptyWithoutResolution
()
Compilation\VisualBasicCompilation.vb (1)
2264
If Not methodBodyDiagnostics.DiagnosticBag.
IsEmptyWithoutResolution
Then
Symbols\Source\SourceModuleSymbol.vb (2)
817
Debug.Assert(Not diagBag.
IsEmptyWithoutResolution
())
1035
If Not diagBag.DiagnosticBag?.
IsEmptyWithoutResolution
Then
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
120
If source.
IsEmptyWithoutResolution
Then