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