31 references to IsEmptyWithoutResolution
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.cs (2)
1327
if (analyzerDriver != null && !diagnostics.
IsEmptyWithoutResolution
)
1409
if (!diagnostics.
IsEmptyWithoutResolution
)
Diagnostic\DiagnosticBag.cs (4)
68
if (
IsEmptyWithoutResolution
)
96
if (
IsEmptyWithoutResolution
)
152
if (!bag.
IsEmptyWithoutResolution
)
273
if (this.
IsEmptyWithoutResolution
)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1012
Debug.Assert(!reportedDiagnostics.
IsEmptyWithoutResolution
);
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Expressions.cs (1)
6558
if (source.DiagnosticBag is {
IsEmptyWithoutResolution
: false } bag)
Binder\Binder_InterpolatedString.cs (1)
831
if (source.DiagnosticBag is {
IsEmptyWithoutResolution
: false } bag)
Binder\Binder_Operators.cs (1)
1057
if (!sourceBag.
IsEmptyWithoutResolution
)
Binder\EarlyWellKnownAttributeBinder.cs (1)
34
generatedDiagnostics = !dummyDiagnosticBag.DiagnosticBag.
IsEmptyWithoutResolution
;
Binder\ForEachLoopBinder.cs (1)
517
if (createConversionDiagnostics.AccumulatesDiagnostics && !createConversionDiagnostics.DiagnosticBag.
IsEmptyWithoutResolution
)
CodeGen\EmitStatement.cs (2)
1479
Debug.Assert(diag.
IsEmptyWithoutResolution
);
1596
Debug.Assert(diag.
IsEmptyWithoutResolution
);
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
70
if (diagnostics.
IsEmptyWithoutResolution
)
159
if (Diagnostics != null && !Diagnostics.
IsEmptyWithoutResolution
)
Compilation\SyntaxAndDeclarationManager.cs (1)
274
Debug.Assert(diagnostics.
IsEmptyWithoutResolution
);
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
654
if (bindingDiagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (6)
448
Debug.Assert(diagnostics.
IsEmptyWithoutResolution
);
583
Debug.Assert(calculated.Diagnostics?.
IsEmptyWithoutResolution
?? true);
601
Debug.Assert(calculated.Diagnostics?.
IsEmptyWithoutResolution
?? true);
850
if (diagnostics.
IsEmptyWithoutResolution
)
1054
if (usingsAndDiagnostics.Diagnostics?.
IsEmptyWithoutResolution
== false)
1059
if (globalUsingDiagnostics?.
IsEmptyWithoutResolution
== false)
Symbols\Symbol.cs (2)
1040
if (diagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false || diagnostics.DependenciesBag?.Count > 0)
1047
if (diagnostics.DiagnosticBag?.
IsEmptyWithoutResolution
== false)
Symbols\Symbol_Attributes.cs (1)
448
!diagnostics.DiagnosticBag.
IsEmptyWithoutResolution
&&
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (3)
183
if (annotatedDiagnostics.
IsEmptyWithoutResolution
)
191
if (notAnnotatedDiagnostics.
IsEmptyWithoutResolution
)
221
if (diagnostics.
IsEmptyWithoutResolution
)
Microsoft.CodeAnalysis.Scripting (1)
ScriptBuilder.cs (1)
105
if (diagnostics.
IsEmptyWithoutResolution
)