33 references to Compliance
Microsoft.CodeAnalysis.CSharp (33)
Compiler\ClsComplianceChecker.cs (33)
32
private readonly ConcurrentDictionary<Symbol,
Compliance
> _declaredOrInheritedCompliance;
52
_declaredOrInheritedCompliance = new ConcurrentDictionary<Symbol,
Compliance
>(Symbols.SymbolEqualityComparer.ConsiderEverything);
95
Compliance
assemblyCompliance = GetDeclaredOrInheritedCompliance(symbol);
97
if (assemblyCompliance ==
Compliance
.DeclaredFalse)
245
Compliance
compliance = GetDeclaredOrInheritedCompliance(symbol);
309
Compliance
compliance = GetDeclaredOrInheritedCompliance(symbol);
363
Compliance
compliance = GetDeclaredOrInheritedCompliance(symbol);
385
Compliance
compliance = GetDeclaredOrInheritedCompliance(symbol);
406
Compliance
compliance = GetDeclaredOrInheritedCompliance(symbol);
420
private bool VisitTypeOrMember(Symbol symbol,
Compliance
compliance)
453
else if (GetDeclaredOrInheritedCompliance(symbol.ContainingAssembly) ==
Compliance
.DeclaredTrue && IsTrue(GetInheritedCompliance(symbol)))
784
private bool CheckForDeclarationWithoutAssemblyDeclaration(Symbol symbol,
Compliance
compliance)
788
Compliance
assemblyCompliance = GetDeclaredOrInheritedCompliance(symbol.ContainingAssembly);
1114
private
Compliance
GetDeclaredOrInheritedCompliance(Symbol symbol)
1142
Compliance
compliance;
1152
compliance = declaredCompliance.GetValueOrDefault() ?
Compliance
.DeclaredTrue :
Compliance
.DeclaredFalse;
1157
compliance =
Compliance
.ImpliedFalse;
1161
compliance = IsTrue(GetInheritedCompliance(symbol)) ?
Compliance
.InheritedTrue :
Compliance
.InheritedFalse;
1170
private
Compliance
GetInheritedCompliance(Symbol symbol)
1272
private static bool IsTrue(
Compliance
compliance)
1276
case
Compliance
.DeclaredTrue:
1277
case
Compliance
.InheritedTrue:
1279
case
Compliance
.DeclaredFalse:
1280
case
Compliance
.InheritedFalse:
1281
case
Compliance
.ImpliedFalse:
1288
private static bool IsDeclared(
Compliance
compliance)
1292
case
Compliance
.DeclaredTrue:
1293
case
Compliance
.DeclaredFalse:
1295
case
Compliance
.InheritedTrue:
1296
case
Compliance
.InheritedFalse:
1297
case
Compliance
.ImpliedFalse: