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