33 references to HasValue
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Expressions.cs (1)
10563if (!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)
4906if (!_lazyEmitNullablePublicOnly.HasValue())
Symbols\Metadata\PE\PEEventSymbol.cs (1)
553if (!requiresUnsafeState.HasValue())
Symbols\Metadata\PE\PENamedTypeSymbol.cs (18)
171!lazyContainsExtensions.HasValue() && 174!lazyHasEmbeddedAttribute.HasValue() && 175!lazyHasCompilerLoweringPreserveAttribute.HasValue() && 176!lazyHasInterpolatedStringHandlerAttribute.HasValue() && 177!lazyHasRequiredMembers.HasValue() && 178!lazyHasUnionAttribute.HasValue() && 179!lazyIsClosed.HasValue() && 656if (!uncommon.lazyHasInterpolatedStringHandlerAttribute.HasValue()) 675if (!uncommon.lazyHasEmbeddedAttribute.HasValue()) 694if (!uncommon.lazyHasCompilerLoweringPreserveAttribute.HasValue()) 713if (!uncommon.lazyHasUnionAttribute.HasValue()) 963if (!uncommon.lazyHasRequiredMembers.HasValue()) 969if (!uncommon.lazyIsClosed.HasValue()) 1189if (uncommon.lazyHasRequiredMembers.HasValue()) 1210if (uncommon.lazyIsClosed.HasValue()) 2196if (!uncommon.lazyContainsExtensions.HasValue()) 2896if (!uncommon.lazyIsByRefLike.HasValue()) 2945if (!uncommon.lazyIsReadOnly.HasValue())
Symbols\Source\SourceAssemblySymbol.cs (2)
1909if (_lazyContainsExtensions.HasValue()) 2052if (!_lazyContainsExtensions.HasValue())
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1538Debug.Assert(_lazyHasOptionalAttribute.HasValue());
Symbols\Source\SourceEventSymbol.cs (2)
772if (!_lazyIsWindowsRuntimeEvent.HasValue()) 777Debug.Assert(_lazyIsWindowsRuntimeEvent.HasValue());
Symbols\Source\SourceMemberContainerSymbol.cs (2)
6230if (!_lazyContainsExtensions.HasValue()) 6245if (!_lazyAnyMemberHasAttributes.HasValue())
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
390if (_lazyShouldEmit.HasValue())