20 references to IsOblivious
Microsoft.CodeAnalysis.CSharp (20)
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1835if (source.NullableAnnotation.IsOblivious() || destination.NullableAnnotation.IsOblivious()) 1867if (source.NullableAnnotation.IsOblivious() || destination.NullableAnnotation.IsOblivious() || destination.NullableAnnotation.IsAnnotated())
FlowAnalysis\NullableWalker.cs (2)
840if (!type.NullableAnnotation.IsOblivious()) 10054if (lValueType.NullableAnnotation.IsOblivious() || !lValueType.CanBeAssignedNull)
Symbols\ConstraintsHelper.cs (1)
1658if (objectConstraint.NullableAnnotation.IsOblivious())
Symbols\Metadata\PE\PETypeParameterSymbol.cs (2)
201if (bestObjectConstraint.NullableAnnotation.IsOblivious() && !HasReferenceTypeConstraint) 330else if (constraintType.NullableAnnotation.IsOblivious() || isNotNullable == null)
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
351static (type, arg, flag) => !type.Type.IsValueType && !type.NullableAnnotation.IsOblivious(),
Symbols\SubstitutedTypeParameterSymbol.cs (1)
124if (bestObjectConstraint.NullableAnnotation.IsOblivious() && !HasReferenceTypeConstraint)
Symbols\TypeParameterSymbol.cs (1)
498if (constraintType.NullableAnnotation.IsOblivious())
Symbols\TypeWithAnnotations.cs (8)
370((comparison & TypeCompareKind.ObliviousNullableModifierMatchesAny) == 0 || (!thisAnnotation.IsOblivious() && !otherAnnotation.IsOblivious()))) 450Debug.Assert(newTypeWithModifiers.NullableAnnotation.IsOblivious() || (typeSymbol.IsNullableType() && newTypeWithModifiers.NullableAnnotation.IsAnnotated())); 459else if ((NullableAnnotation.IsOblivious() || (typeSymbol.IsNullableType() && NullableAnnotation.IsAnnotated())) && 528Debug.Assert(NullableAnnotation.IsOblivious()); 529Debug.Assert(newTypeWithModifiers.NullableAnnotation.IsOblivious()); 563return DefaultNullableAnnotation.IsOblivious() && ((object)DefaultType == other) && 635if (annotation.IsOblivious() || type.IsValueType)