5 references to GetConventionForString
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (5)
145
System.Reflection.Metadata.SignatureCallingConvention.CDecl => [
GetConventionForString
("Cdecl")],
146
System.Reflection.Metadata.SignatureCallingConvention.StdCall => [
GetConventionForString
("Stdcall")],
147
System.Reflection.Metadata.SignatureCallingConvention.ThisCall => [
GetConventionForString
("Thiscall")],
148
System.Reflection.Metadata.SignatureCallingConvention.FastCall => [
GetConventionForString
("Fastcall")],
153
? null : symbol.Signature.UnmanagedCallingConventionTypes.Select(type =>
GetConventionForString
(type.Name["CallConv".Length..])),