14 references to CustomModifierUtils
Microsoft.CodeAnalysis.CSharp (14)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (4)
586true when CustomModifierUtils.HasInAttributeModifier(paramRefCustomMods) => hasInRefKind, 587true when CustomModifierUtils.HasOutAttributeModifier(paramRefCustomMods) => hasOutRefKind, 588true when requiresLocationAllowed && CustomModifierUtils.HasRequiresLocationAttributeModifier(paramRefCustomMods) => RefKind.RefReadOnlyParameter, 789if (CustomModifierUtils.HasRequiresLocationAttributeModifier(parameter.RefCustomModifiers) &&
Symbols\SignatureOnlyMethodSymbol.cs (1)
48Debug.Assert(returnType.IsDefault || isInitOnly == CustomModifierUtils.HasIsExternalInitModifier(returnType.CustomModifiers));
Symbols\Source\SourceEventSymbol.cs (1)
634type = type.WithTypeAndModifiers(CustomModifierUtils.CopyTypeCustomModifiers(overriddenEventType, type.Type, containingAssembly),
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (2)
113CustomModifierUtils.CopyMethodCustomModifiers(overriddenOrExplicitlyImplementedMethod, this, out _lazyReturnType, 135CustomModifierUtils.CopyMethodCustomModifiers(overriddenOrExplicitlyImplementedMethod, this, out _lazyReturnType,
Symbols\Source\SourceParameterSymbol.cs (1)
125newType = CustomModifierUtils.CopyTypeCustomModifiers(newType, this.Type, this.ContainingAssembly);
Symbols\Source\SourcePropertyAccessorSymbol.cs (3)
272CustomModifierUtils.CopyMethodCustomModifiers(implementedMethod, this, out _lazyReturnType, 283CustomModifierUtils.CopyMethodCustomModifiers(overriddenMethod, this, out _lazyReturnType, 293CustomModifierUtils.CopyTypeCustomModifiers(type.Type, _lazyReturnType.Type, this.ContainingAssembly),
Symbols\Source\SourcePropertySymbolBase.cs (2)
259CustomModifierUtils.CopyTypeCustomModifiers(overriddenPropertyType.Type, type.Type, this.ContainingAssembly), 265_lazyParameters = CustomModifierUtils.CopyParameterCustomModifiers(overriddenOrImplementedProperty.Parameters, _lazyParameters, alsoCopyParamsModifier: isOverride);