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