26 references to IsTrue
Microsoft.CodeAnalysis.CSharp (26)
Compiler\ClsComplianceChecker.cs (26)
113
bool assemblyComplianceValue =
IsTrue
(assemblyCompliance);
166
if (
IsTrue
(GetDeclaredOrInheritedCompliance(sourceModule)))
194
if (
IsTrue
(GetDeclaredOrInheritedCompliance(symbol)))
249
if (
IsTrue
(compliance))
277
if (
IsTrue
(GetDeclaredOrInheritedCompliance(constructor)) && IsAccessibleIfContainerIsAccessible(constructor))
318
if (
IsTrue
(compliance))
328
if (
IsTrue
(compliance))
373
if (
IsTrue
(compliance))
410
if (
IsTrue
(compliance))
437
bool isCompliant =
IsTrue
(compliance);
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");
792
ErrorCode code =
IsTrue
(compliance)
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)))
1161
compliance =
IsTrue
(GetInheritedCompliance(symbol)) ? Compliance.InheritedTrue : Compliance.InheritedFalse;