5 overrides of HasErrors
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\PEAttributeData.cs (1)
156internal override bool HasErrors
Symbols\Attributes\RetargetingAttributeData.cs (1)
48internal override bool HasErrors => _underlying.HasErrors || _attributeConstructor is null;
Symbols\Attributes\SourceAttributeData.cs (1)
192internal override bool HasErrors
Symbols\Source\SynthesizedAttributeData.cs (2)
51internal override bool HasErrors => false; 83internal override bool HasErrors => _original.HasErrors;
38 references to HasErrors
Microsoft.CodeAnalysis.CSharp (38)
Compiler\ClsComplianceChecker.cs (1)
1201if (!data.HasErrors)
Emitter\NoPia\EmbeddedEvent.cs (1)
87if (!attrData.HasErrors)
Emitter\NoPia\EmbeddedTypesManager.cs (1)
158bool result = !attrData.HasErrors;
FlowAnalysis\DefiniteAssignment.cs (1)
1916if (attributeData.HasErrors)
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
40if (!attrData.HasErrors)
Symbols\Attributes\AttributeData.cs (5)
218Debug.Assert(!this.HasErrors); 510Debug.Assert(!this.HasErrors); 574Debug.Assert(!this.HasErrors); 599Debug.Assert(!this.HasErrors); 625Debug.Assert(!this.HasErrors);
Symbols\Attributes\RetargetingAttributeData.cs (4)
31Debug.Assert(attributeClass is object || underlying.HasErrors); 48internal override bool HasErrors => _underlying.HasErrors || _attributeConstructor is null; 54Debug.Assert(AttributeClass is object || _underlying.HasErrors); 56if (_underlying.HasErrors)
Symbols\Source\SourceAssemblySymbol.cs (7)
1197if (!attribute.HasErrors) 1211Debug.Assert(!attribute.HasErrors); 1223Debug.Assert(!attribute.HasErrors); 1343if (!attribute.HasErrors && ValidateAttributeUsageForNetModuleAttribute(attribute, netModuleNames[i], diagnostics, ref uniqueAttributes)) 1500if (!attribute.HasErrors && ValidateAttributeUsageForNetModuleAttribute(attribute, netModuleNames[i], BindingDiagnosticBag.Discarded, ref uniqueAttributes)) 2275Debug.Assert(!attrData.HasErrors); 2595Debug.Assert(!attribute.HasErrors);
Symbols\Source\SourceComplexParameterSymbol.cs (1)
942Debug.Assert(!attribute.HasErrors);
Symbols\Source\SourceNamedTypeSymbol.cs (9)
906if (!attributeData.HasErrors) 921if (!attributeData.HasErrors) 936if (!attributeData.HasErrors) 963if (!attributeData.HasErrors) 995if (!attributeData.HasErrors) 1010if (!attributeData.HasErrors) 1028if (!attributeData.HasErrors) 1294Debug.Assert(!attribute.HasErrors); 1384Debug.Assert(!attribute.HasErrors);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1438if (!attributeData.HasErrors)
Symbols\Symbol_Attributes.cs (6)
183if (!attributeData.HasErrors) 476if (!boundAttribute.HasErrors && boundAttribute.IsTargetAttribute(AttributeDescription.TypeForwardedToAttribute) && 566if (attribute.HasErrors) 799Debug.Assert(earlyAttributeDataOpt == null || !earlyAttributeDataOpt.HasErrors); 864if (!boundAttribute.HasErrors && ValidateAttributeUsage(boundAttribute, attributeSyntax, binder.Compilation, symbolPart, diagnostics, uniqueAttributeTypes)) 894Debug.Assert(!attribute.HasErrors);