30 references to HasValue
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_Expressions.cs (1)
10565if (!argIsIndexNotRange.HasValue())
Binder\NameofBinder.cs (1)
47if (!_lazyIsNameofOperator.HasValue())
Binder\Semantics\Conversions\ConversionsBase.cs (1)
3149if (quickResult.HasValue())
Binder\Semantics\OverloadResolution\AnalyzedArguments.cs (1)
90if (_lazyHasDynamicArgument.HasValue())
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
75if (!_bestResultState.HasValue())
Compilation\CSharpCompilation.cs (1)
4826if (!_lazyEmitNullablePublicOnly.HasValue())
Symbols\Metadata\PE\PEEventSymbol.cs (1)
552if (!requiresUnsafeState.HasValue())
Symbols\Metadata\PE\PENamedTypeSymbol.cs (15)
168!lazyContainsExtensions.HasValue() && 171!lazyHasEmbeddedAttribute.HasValue() && 172!lazyHasCompilerLoweringPreserveAttribute.HasValue() && 173!lazyHasInterpolatedStringHandlerAttribute.HasValue() && 174!lazyHasRequiredMembers.HasValue() && 175!lazyHasUnionAttribute.HasValue() && 651if (!uncommon.lazyHasInterpolatedStringHandlerAttribute.HasValue()) 670if (!uncommon.lazyHasEmbeddedAttribute.HasValue()) 689if (!uncommon.lazyHasCompilerLoweringPreserveAttribute.HasValue()) 708if (!uncommon.lazyHasUnionAttribute.HasValue()) 958if (!uncommon.lazyHasRequiredMembers.HasValue()) 1171if (uncommon.lazyHasRequiredMembers.HasValue()) 2030if (!uncommon.lazyContainsExtensions.HasValue()) 2730if (!uncommon.lazyIsByRefLike.HasValue()) 2779if (!uncommon.lazyIsReadOnly.HasValue())
Symbols\Source\SourceAssemblySymbol.cs (2)
1909if (_lazyContainsExtensions.HasValue()) 2052if (!_lazyContainsExtensions.HasValue())
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1543Debug.Assert(_lazyHasOptionalAttribute.HasValue());
Symbols\Source\SourceEventSymbol.cs (2)
770if (!_lazyIsWindowsRuntimeEvent.HasValue()) 775Debug.Assert(_lazyIsWindowsRuntimeEvent.HasValue());
Symbols\Source\SourceMemberContainerSymbol.cs (2)
6097if (!_lazyContainsExtensions.HasValue()) 6112if (!_lazyAnyMemberHasAttributes.HasValue())
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
388if (_lazyShouldEmit.HasValue())