5 references to WithModifiers
Microsoft.CodeAnalysis.CSharp (5)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
94
returnType = returnType.
WithModifiers
(customModifiers.ToImmutableAndFree());
288
returnTypeWithAnnotations = returnTypeWithAnnotations.
WithModifiers
(modifiersBuilder.ToImmutableAndFree());
Symbols\Source\SourceMemberFieldSymbol.cs (1)
600
if (Interlocked.CompareExchange(ref _lazyTypeAndRefKind, new TypeAndRefKind(refKind, type.
WithModifiers
(this.RequiredCustomModifiers)), null) == null)
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
778
appendTypeWithAnnotation(signature.ReturnTypeWithAnnotations.
WithModifiers
([]), builder);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
397
type = type.
WithModifiers
(modifiers);