26 references to Ignored
Microsoft.CodeAnalysis.CSharp (26)
Symbols\NullableAnnotationExtensions.cs (10)
28Debug.Assert(a != NullableAnnotation.Ignored); 29Debug.Assert(b != NullableAnnotation.Ignored); 39Debug.Assert(a != NullableAnnotation.Ignored); 40Debug.Assert(b != NullableAnnotation.Ignored); 50Debug.Assert(a != NullableAnnotation.Ignored); 51Debug.Assert(b != NullableAnnotation.Ignored); 65Debug.Assert(a != NullableAnnotation.Ignored); 66Debug.Assert(b != NullableAnnotation.Ignored); 128Debug.Assert(annotation != NullableAnnotation.Ignored); 140NullableAnnotation.Ignored => CodeAnalysis.NullableAnnotation.None,
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
113builder.Add(TypeWithAnnotations.Create(GetTypeParameter(i), NullableAnnotation.Ignored));
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (4)
83private int _inferredNullableAnnotation = (int)NullableAnnotation.Ignored; 151if (_inferredNullableAnnotation == (int)NullableAnnotation.Ignored) 154Debug.Assert(inferredAnnotation is not NullableAnnotation.Ignored); 155Interlocked.CompareExchange(ref _inferredNullableAnnotation, (int)inferredAnnotation, (int)NullableAnnotation.Ignored);
Symbols\TypeMap.cs (1)
33return typeParameters.SelectAsArray(static (tp) => TypeWithAnnotations.Create(tp, NullableAnnotation.Ignored));
Symbols\TypeWithAnnotations.cs (10)
92Debug.Assert(nullableAnnotation != NullableAnnotation.Ignored || typeSymbol.IsTypeParameter()); 180return new TypeWithAnnotations(defaultType: substitutedTypeSymbol, defaultAnnotation: NullableAnnotation.Ignored, new LazySubstitutedType(customModifiers, typeParameter)); 442Debug.Assert(NullableAnnotation != NullableAnnotation.Ignored); 452Debug.Assert(NullableAnnotation != NullableAnnotation.Ignored); 473else if (Is((TypeParameterSymbol)typeSymbol) && newTypeWithModifiers.NullableAnnotation != NullableAnnotation.Ignored) 484Debug.Assert(newTypeWithModifiers.Type is not IndexedTypeParameterSymbol || newTypeWithModifiers.NullableAnnotation == NullableAnnotation.Ignored); 490else if (newTypeWithModifiers.NullableAnnotation == NullableAnnotation.Ignored) 980Debug.Assert(defaultAnnotation == NullableAnnotation.Ignored); 1008internal override bool IsResolved => _resolved != (int)NullableAnnotation.Ignored; 1051_ = GetResolvedAnnotation(NullableAnnotation.Ignored);