Symbols\Source\SourceNamedTypeSymbol_Extension.cs (13)
70AppendClrType(extendedType.Type, extendedType.CustomModifiers, builder);
71Debug.Assert(extendedType.CustomModifiers.IsEmpty);
121Debug.Assert(typeConstraint.CustomModifiers.IsEmpty);
122AppendClrType(typeConstraint.Type, typeConstraint.CustomModifiers, constraintBuilder.Builder);
174AppendClrType(pointedAtType.Type, pointedAtType.CustomModifiers, builder);
255AppendClrType(typeArgument.Type, typeArgument.CustomModifiers, builder);
284AppendClrType(elementType.Type, elementType.CustomModifiers, builder);
315AppendClrType(returnType.Type, returnType.CustomModifiers, builder);
333AppendClrType(parameterType.Type, parameterType.CustomModifiers, builder);
436Debug.Assert(type.CustomModifiers.IsEmpty);
526Debug.Assert(elementType.CustomModifiers.IsEmpty);
587Debug.Assert(typeArguments[i].CustomModifiers.IsEmpty);
1003AppendClrType(parameterType.Type, parameterType.CustomModifiers, builder);
Symbols\TypeWithAnnotations.cs (23)
115return Create(Type, NullableAnnotation.Annotated, CustomModifiers);
125return Create(Type, NullableAnnotation.NotAnnotated, CustomModifiers);
196Debug.Assert(CustomModifiers.IsEmpty);
204return CreateNonLazyType(typeSymbol, NullableAnnotation.Annotated, this.CustomModifiers);
247return Create(type, nullableAnnotation, CustomModifiers);
359!this.CustomModifiers.SequenceEqual(other.CustomModifiers))
427Symbol.GetUnificationUseSiteDiagnosticRecursive(ref result, this.CustomModifiers, owner, ref checkedTypes);
444var newCustomModifiers = typeMap.SubstituteCustomModifiers(this.CustomModifiers);
451Debug.Assert(newTypeWithModifiers.CustomModifiers.IsEmpty);
455newCustomModifiers == CustomModifiers)
469newCustomModifiers == CustomModifiers)
513return CreateLazySubstitutedType(newTypeWithModifiers.DefaultType, newCustomModifiers.Concat(newTypeWithModifiers.CustomModifiers), typeParameter);
536newCustomModifiers.Concat(newTypeWithModifiers.CustomModifiers));
564CustomModifiers.IsEmpty;
571_extensions.WithTypeAndModifiers(this, typeSymbol, CustomModifiers);
695result = result.WithTypeAndModifiers(newTypeSymbol, result.CustomModifiers);
712result = CreateNonLazyType(newTypeSymbol, NullableAnnotation.Oblivious, result.CustomModifiers);
732return CreateNonLazyType(typeSymbol, NullableAnnotation.NotAnnotated, CustomModifiers);
745return CreateNonLazyType(newTypeSymbol, NullableAnnotation.Oblivious, CustomModifiers);
751return WithTypeAndModifiers(newTypeSymbol, CustomModifiers);
1069Debug.Assert(underlying.CustomModifiers.IsEmpty);
1163newUnderlying.CustomModifiers.IsEmpty)