7 references to HasCustomModifiers
Microsoft.CodeAnalysis.CSharp (7)
Symbols\OverriddenOrHiddenMembersHelpers.cs (4)
670
Debug.Assert(!param.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: false));
895
methodReturnType.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: false);
900
propertyType.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: false);
903
return @event.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: false); //can't have custom modifiers on (vs in) type
Symbols\Source\CustomModifierUtils.cs (2)
132
sourceParameter.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: true) ||
134
destinationParameter.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds: true) || // Could happen if the associated property has custom modifiers.
Utilities\TypeSymbolExtensions.cs (1)
158
=> typeWithAnnotations.CustomModifiers.Any() || typeWithAnnotations.Type.
HasCustomModifiers
(flagNonDefaultArraySizesOrLowerBounds);