9 overrides of RefCustomModifiers
Microsoft.CodeAnalysis.CSharp (9)
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
30public override ImmutableArray<CustomModifier> RefCustomModifiers { get; }
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
929public override ImmutableArray<CustomModifier> RefCustomModifiers
Symbols\SignatureOnlyParameterSymbol.cs (1)
42public override ImmutableArray<CustomModifier> RefCustomModifiers { get { return _refCustomModifiers; } }
Symbols\Source\SourceClonedParameterSymbol.cs (1)
123public override ImmutableArray<CustomModifier> RefCustomModifiers
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1521public abstract override ImmutableArray<CustomModifier> RefCustomModifiers { get; }
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
78public override ImmutableArray<CustomModifier> RefCustomModifiers
Symbols\Source\ThisParameterSymbol.cs (1)
88public sealed override ImmutableArray<CustomModifier> RefCustomModifiers
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
56public abstract override ImmutableArray<CustomModifier> RefCustomModifiers { get; }
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
119public override ImmutableArray<CustomModifier> RefCustomModifiers
39 references to RefCustomModifiers
Microsoft.CodeAnalysis.CSharp (39)
Binder\Semantics\Conversions\Conversions.cs (1)
418TypeWithAnnotations.Create(compilation.GetSpecialType(SpecialType.System_Object), customModifiers: parameter.TypeWithAnnotations.CustomModifiers), parameter.RefCustomModifiers,
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (4)
417otherParamRefCustomModifiersBuilder.Add(VisitCustomModifiers(param.RefCustomModifiers)); 687ValidateFunctionPointerParamOrReturn(param.TypeWithAnnotations, param.RefKind, param.RefCustomModifiers, allowOut: true); 688ValidateFunctionPointerParamOrReturn(otherParam.TypeWithAnnotations, otherParam.RefKind, otherParam.RefCustomModifiers, allowOut: true); 928translatedParamRefCustomModifiersBuilder.Add(VisitCustomModifiers(param.RefCustomModifiers));
Emitter\Model\ParameterSymbolAdapter.cs (1)
49return ImmutableArray<Cci.ICustomModifier>.CastUp(AdaptedParameterSymbol.RefCustomModifiers);
Emitter\Model\ParameterTypeInformation.cs (1)
47return ImmutableArray<Cci.ICustomModifier>.CastUp(_underlyingParameter.RefCustomModifiers);
Symbols\AbstractTypeMap.cs (2)
257var substituted = SubstituteCustomModifiers(param.RefCustomModifiers); 259if (substituted != param.RefCustomModifiers)
Symbols\Compilation_WellKnownMembers.cs (1)
1007handle(param.RefKind, param.RefCustomModifiers, param.TypeWithAnnotations);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (3)
466var customModifiers = substitutedRefCustomModifiers.IsDefault ? originalParam.RefCustomModifiers : substitutedRefCustomModifiers[i]; 789if (CustomModifierUtils.HasRequiresLocationAttributeModifier(parameter.RefCustomModifiers) && 790parameter.RefCustomModifiers.Any(static m => !m.IsOptional))
Symbols\MemberSignatureComparer.cs (2)
791!HaveSameCustomModifiers(param1.RefCustomModifiers, typeMap1, param2.RefCustomModifiers, typeMap2))
Symbols\MemberSymbolExtensions.cs (2)
211count += paramType.CustomModifiers.Length + param.RefCustomModifiers.Length; 260count += paramType.CustomModifiers.Length + param.RefCustomModifiers.Length;
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
369var (transformedParamType, paramTransformed) = handle(ref this, param.RefKind, param.RefCustomModifiers, param.TypeWithAnnotations);
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
267!CustomModifiersMatch(candidateMethodTypeMap.SubstituteCustomModifiers(candidateParam.RefCustomModifiers), targetParam.RefCustomModifiers))
Symbols\NativeIntegerTypeSymbol.cs (1)
421public override ImmutableArray<CustomModifier> RefCustomModifiers => _underlyingParameter.RefCustomModifiers;
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
669Debug.Assert(!(param.TypeWithAnnotations.CustomModifiers.Any() || param.RefCustomModifiers.Any()));
Symbols\PublicModel\ParameterSymbol.cs (1)
48get { return _underlying.RefCustomModifiers; }
Symbols\ReducedExtensionMethodSymbol.cs (1)
647return _containingMethod._typeMap.SubstituteCustomModifiers(this._underlyingParameter.RefCustomModifiers);
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
59return RetargetingModule.RetargetingTranslator.RetargetModifiers(_underlyingParameter.RefCustomModifiers, ref _lazyRefCustomModifiers);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
779var newModifiers = RetargetModifiers(parameter.RefCustomModifiers, out bool customModifiersChanged);
Symbols\Source\CustomModifierUtils.cs (3)
131if (sourceParameter.TypeWithAnnotations.CustomModifiers.Any() || sourceParameter.RefCustomModifiers.Any() || 133destinationParameter.TypeWithAnnotations.CustomModifiers.Any() || destinationParameter.RefCustomModifiers.Any() || 146destinationParameter.RefKind != RefKind.None ? sourceParameter.RefCustomModifiers : ImmutableArray<CustomModifier>.Empty,
Symbols\Source\SourceClonedParameterSymbol.cs (1)
125get { return _originalParam.RefCustomModifiers; }
Symbols\Source\SourceParameterSymbolBase.cs (1)
97AddSynthesizedAttribute(ref attributes, compilation.SynthesizeDynamicAttribute(type.Type, type.CustomModifiers.Length + this.RefCustomModifiers.Length, this.RefKind));
Symbols\SubstitutedParameterSymbol.cs (3)
59this._underlyingParameter.RefCustomModifiers.IsEmpty) 77return map != null ? map.SubstituteCustomModifiers(this._underlyingParameter.RefCustomModifiers) : this._underlyingParameter.RefCustomModifiers;
Symbols\Symbol.cs (2)
1237DeriveUseSiteInfoFromCustomModifiers(ref result, param.RefCustomModifiers, 1373GetUnificationUseSiteDiagnosticRecursive(ref result, parameter.RefCustomModifiers, owner, ref checkedTypes))
Symbols\SymbolExtensions.cs (1)
526refCustomModifiers = parameter.RefCustomModifiers;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
317oldParam.RefCustomModifiers,
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
121get { return _underlyingParameter.RefCustomModifiers; }
Utilities\TypeSymbolExtensions.cs (1)
120if (!param.RefCustomModifiers.IsEmpty || checkTypeWithAnnotations(param.TypeWithAnnotations, flagNonDefaultArraySizesOrLowerBounds))