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