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