6 references to SetUnknownNullabilityForReferenceTypes
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Constraints.cs (1)
499Error(diagnostics, ErrorCode.ERR_DuplicateBound, syntax, type.Type.SetUnknownNullabilityForReferenceTypes(), typeParameter.Name);
BoundTree\UnboundLambda.cs (1)
379expression.Type?.SetUnknownNullabilityForReferenceTypes();
FlowAnalysis\NullableWalker.cs (2)
5902TypeSymbol? refResultType = node.Type?.SetUnknownNullabilityForReferenceTypes(); 5968resultType ??= node.Type?.SetUnknownNullabilityForReferenceTypes();
FlowAnalysis\NullableWalker_Patterns.cs (1)
953?? node.Type?.SetUnknownNullabilityForReferenceTypes();
Symbols\TypeWithAnnotations.cs (1)
738var newTypeSymbol = typeSymbol.SetUnknownNullabilityForReferenceTypes();