28 references to ToThreeState
Microsoft.CodeAnalysis (2)
MetadataReader\PEAssembly.cs (1)
195
_lazyDeclaresTheObjectClass = value.
ToThreeState
();
ReferenceManager\CommonReferenceManager.State.cs (1)
446
_lazyHasCircularReference = containsCircularReferences.
ToThreeState
();
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Invocation.cs (1)
1409
return result.
ToThreeState
();
Binder\NameofBinder.cs (1)
49
_lazyIsNameofOperator = ThreeStateHelpers.
ToThreeState
(!NextRequired.InvocableNameofInScope());
Compilation\CSharpCompilation.cs (1)
4788
_lazyEmitNullablePublicOnly = value.
ToThreeState
();
Symbols\Attributes\AttributeData.cs (1)
116
_lazyIsSecurityAttribute = AttributeClass.IsDerivedFrom(wellKnownType, TypeCompareKind.ConsiderEverything, useSiteInfo: ref discardedUseSiteInfo).
ToThreeState
();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (9)
650
uncommon.lazyHasInterpolatedStringHandlerAttribute = ContainingPEModule.Module.HasInterpolatedStringHandlerAttribute(_handle).
ToThreeState
();
669
uncommon.lazyHasEmbeddedAttribute = ContainingPEModule.Module.HasCodeAnalysisEmbeddedAttribute(_handle).
ToThreeState
();
688
uncommon.lazyHasCompilerLoweringPreserveAttribute = ContainingPEModule.Module.HasCompilerLoweringPreserveAttribute(_handle).
ToThreeState
();
971
uncommon.lazyHasRequiredMembers = (!requiredHandle.IsNil).
ToThreeState
();
1135
uncommon.lazyHasRequiredMembers = hasRequiredMemberAttribute.
ToThreeState
();
1995
&& containingAssembly.MightContainExtensionMethods).
ToThreeState
();
1999
contains = moduleHasExtension.
ToThreeState
();
2679
isByRefLike = module.HasIsByRefLikeAttribute(_handle).
ToThreeState
();
2733
isReadOnly = module.HasIsReadOnlyAttribute(_handle).
ToThreeState
();
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
243
_lazyHasIsUnmanagedConstraint = hasUnmanagedModreqPattern.
ToThreeState
();
Symbols\Source\SourceAssemblySymbol.cs (1)
2052
_lazyContainsExtensionMethods = ContainsExtensionMethods(_modules).
ToThreeState
();
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1480
_lazyHasOptionalAttribute = copyFrom.HasOptionalAttribute.
ToThreeState
();
Symbols\Source\SourceEventSymbol.cs (1)
734
_lazyIsWindowsRuntimeEvent = ComputeIsWindowsRuntimeEvent().
ToThreeState
();
Symbols\Source\SourceMemberContainerSymbol.cs (3)
2610
var value = (int)CheckStructCircularity(diagnostics).
ToThreeState
();
5967
_lazyContainsExtensionMethods = containsExtensionMethods.
ToThreeState
();
5981
_lazyAnyMemberHasAttributes = anyMemberHasAttributes.
ToThreeState
();
Symbols\Source\SourceModuleSymbol.cs (3)
158
_lazyContainsExplicitDefinitionOfNoPiaLocalTypes = NamespaceContainsExplicitDefinitionOfNoPiaLocalTypes(GlobalNamespace).
ToThreeState
();
606
_lazyRequiresRefSafetyRulesAttribute = value.
ToThreeState
();
711
_lazyUseUpdatedEscapeRules = value.
ToThreeState
();
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
253
_lazyIsNullableAnalysisEnabled = value.
ToThreeState
();
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
394
_lazyShouldEmit = shouldEmit.
ToThreeState
();
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommonMemberFilter.cs (1)
23
if (method.DeclaringType?.FullName.StartsWith("Submission#0").
ToThreeState
() == ThreeState.True)