26 references to IsTrue
Microsoft.CodeAnalysis.CSharp (26)
Compiler\ClsComplianceChecker.cs (26)
106
bool assemblyComplianceValue =
IsTrue
(assemblyCompliance);
159
if (
IsTrue
(GetDeclaredOrInheritedCompliance(sourceModule)))
187
if (
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)))
242
if (
IsTrue
(compliance))
270
if (
IsTrue
(GetDeclaredOrInheritedCompliance(constructor)) && IsAccessibleIfContainerIsAccessible(constructor))
311
if (
IsTrue
(compliance))
321
if (
IsTrue
(compliance))
366
if (
IsTrue
(compliance))
403
if (
IsTrue
(compliance))
430
bool isCompliant =
IsTrue
(compliance);
446
else if (GetDeclaredOrInheritedCompliance(symbol.ContainingAssembly) == Compliance.DeclaredTrue &&
IsTrue
(GetInheritedCompliance(symbol)))
492
System.Diagnostics.Debug.Assert(!
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)), "Only call on non-compliant symbols");
507
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)), "Only call on compliant symbols");
536
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)), "Only call on compliant symbols");
540
if ((object)containingType != null && !
IsTrue
(GetDeclaredOrInheritedCompliance(containingType)))
548
System.Diagnostics.Debug.Assert(typeParameters.IsEmpty ||
IsTrue
(GetDeclaredOrInheritedCompliance(context)), "Only call on compliant symbols");
567
System.Diagnostics.Debug.Assert(parameters.IsEmpty ||
IsTrue
(GetDeclaredOrInheritedCompliance(context)), "Only call on compliant symbols");
580
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)), "Only call on compliant symbols");
706
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)), "Only call on compliant symbols");
785
ErrorCode code =
IsTrue
(compliance)
798
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)));
836
IsTrue
(GetDeclaredOrInheritedCompliance(member)) &&
853
!
IsTrue
(GetDeclaredOrInheritedCompliance(member)) ||
922
System.Diagnostics.Debug.Assert(
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)));
1032
if (!
IsTrue
(GetDeclaredOrInheritedCompliance(type.OriginalDefinition)))
1154
compliance =
IsTrue
(GetInheritedCompliance(symbol)) ? Compliance.InheritedTrue : Compliance.InheritedFalse;