27 references to GetDeclaredOrInheritedCompliance
Microsoft.CodeAnalysis.CSharp (27)
Compiler\ClsComplianceChecker.cs (27)
95
Compliance assemblyCompliance =
GetDeclaredOrInheritedCompliance
(symbol);
166
if (IsTrue(
GetDeclaredOrInheritedCompliance
(sourceModule)))
194
if (IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)))
245
Compliance compliance =
GetDeclaredOrInheritedCompliance
(symbol);
277
if (IsTrue(
GetDeclaredOrInheritedCompliance
(constructor)) && IsAccessibleIfContainerIsAccessible(constructor))
309
Compliance compliance =
GetDeclaredOrInheritedCompliance
(symbol);
363
Compliance compliance =
GetDeclaredOrInheritedCompliance
(symbol);
385
Compliance compliance =
GetDeclaredOrInheritedCompliance
(symbol);
406
Compliance compliance =
GetDeclaredOrInheritedCompliance
(symbol);
453
else if (
GetDeclaredOrInheritedCompliance
(symbol.ContainingAssembly) == Compliance.DeclaredTrue && IsTrue(GetInheritedCompliance(symbol)))
499
System.Diagnostics.Debug.Assert(!IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)), "Only call on non-compliant symbols");
514
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)), "Only call on compliant symbols");
543
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)), "Only call on compliant symbols");
547
if ((object)containingType != null && !IsTrue(
GetDeclaredOrInheritedCompliance
(containingType)))
555
System.Diagnostics.Debug.Assert(typeParameters.IsEmpty || IsTrue(
GetDeclaredOrInheritedCompliance
(context)), "Only call on compliant symbols");
574
System.Diagnostics.Debug.Assert(parameters.IsEmpty || IsTrue(
GetDeclaredOrInheritedCompliance
(context)), "Only call on compliant symbols");
587
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)), "Only call on compliant symbols");
713
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)), "Only call on compliant symbols");
788
Compliance assemblyCompliance =
GetDeclaredOrInheritedCompliance
(symbol.ContainingAssembly);
805
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)));
843
IsTrue(
GetDeclaredOrInheritedCompliance
(member)) &&
860
!IsTrue(
GetDeclaredOrInheritedCompliance
(member)) ||
929
System.Diagnostics.Debug.Assert(IsTrue(
GetDeclaredOrInheritedCompliance
(symbol)));
1039
if (!IsTrue(
GetDeclaredOrInheritedCompliance
(type.OriginalDefinition)))
1122
return
GetDeclaredOrInheritedCompliance
(symbol.ContainingAssembly);
1131
return
GetDeclaredOrInheritedCompliance
(associated);
1176
return
GetDeclaredOrInheritedCompliance
(containing);