4 references to WithModifiers
Microsoft.CodeAnalysis.CSharp (4)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
94
returnType = returnType.
WithModifiers
(customModifiers.ToImmutableAndFree());
288
returnTypeWithAnnotations = returnTypeWithAnnotations.
WithModifiers
(modifiersBuilder.ToImmutableAndFree());
Symbols\Source\SourceMemberFieldSymbol.cs (1)
585
if (Interlocked.CompareExchange(ref _lazyTypeAndRefKind, new TypeAndRefKind(refKind, type.
WithModifiers
(this.RequiredCustomModifiers)), null) == null)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
397
type = type.
WithModifiers
(modifiers);