19 references to ModifierSymbol
Microsoft.CodeAnalysis.CSharp (19)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
779
if (!actualUnmanagedCallingConventionTypes.Contains(((CSharpCustomModifier)expectedModifier).
ModifierSymbol
))
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
458
var type = (NamedTypeSymbol?)Visit(((CSharpCustomModifier)modifier).
ModifierSymbol
);
950
var translatedType = (NamedTypeSymbol)this.Visit(((CSharpCustomModifier)modifier).
ModifierSymbol
);
Emitter\Model\CustomModifierAdapter.cs (1)
22
return ((PEModuleBuilder)context.Module).Translate(this.
ModifierSymbol
, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics);
Symbols\AbstractTypeMap.cs (2)
142
NamedTypeSymbol modifier = ((CSharpCustomModifier)customModifiers[i]).
ModifierSymbol
;
153
modifier = ((CSharpCustomModifier)customModifiers[i]).
ModifierSymbol
;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (3)
657
if (FunctionPointerTypeSymbol.IsCallingConventionModifier(modifier.
ModifierSymbol
))
659
builder.Add(modifier.
ModifierSymbol
);
681
if (FunctionPointerTypeSymbol.IsCallingConventionModifier(((CSharpCustomModifier)modifier).
ModifierSymbol
))
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
326
!object.Equals(targetCustomModifier.Modifier, ((CSharpCustomModifier)candidateCustomModifier).
ModifierSymbol
))
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
329
_packedFlags.SetIsVolatile(customModifiersArray.Any(static m => !m.IsOptional && ((CSharpCustomModifier)m).
ModifierSymbol
.SpecialType == SpecialType.System_Runtime_CompilerServices_IsVolatile));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
720
NamedTypeSymbol oldModifierSymbol = ((CSharpCustomModifier)oldModifier).
ModifierSymbol
;
Symbols\Source\CustomModifierUtils.cs (4)
160
return modifiers.Any(static modifier => !modifier.IsOptional && ((CSharpCustomModifier)modifier).
ModifierSymbol
.IsWellKnownTypeInAttribute());
165
return modifiers.Any(static modifier => modifier.IsOptional && ((CSharpCustomModifier)modifier).
ModifierSymbol
.IsWellKnownTypeRequiresLocationAttribute());
170
return modifiers.Any(static modifier => !modifier.IsOptional && ((CSharpCustomModifier)modifier).
ModifierSymbol
.IsWellKnownTypeIsExternalInit());
175
return modifiers.Any(static modifier => !modifier.IsOptional && ((CSharpCustomModifier)modifier).
ModifierSymbol
.IsWellKnownTypeOutAttribute());
Symbols\Symbol.cs (2)
1273
NamedTypeSymbol modifierType = ((CSharpCustomModifier)modifier).
ModifierSymbol
;
1359
if (((CSharpCustomModifier)modifier).
ModifierSymbol
.GetUnificationUseSiteDiagnosticRecursive(ref result, owner, ref checkedTypes))
Symbols\TypeSymbolExtensions.cs (1)
820
typeWithAnnotationsOpt: default, type: ((CSharpCustomModifier)customModifier).
ModifierSymbol
,