24 references to Default
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (1)
1131SignatureCallingConvention callingConvention = SignatureCallingConvention.Default,
PEWriter\Members.cs (2)
35Default = SignatureCallingConvention.Default, 82SignatureCallingConvention.Default
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
107public SignatureCallingConvention CallingConvention => SignatureCallingConvention.Default;
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
587if (symbol.CallingConvention != SignatureCallingConvention.Default)
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
147case (byte)SignatureCallingConvention.Default:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
136if (symbol.Signature.CallingConvention is not System.Reflection.Metadata.SignatureCallingConvention.Default
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
4067DefineInvalidSignatureAttributeIL(metadataBuilder, ilBuilder, headerToUseForM: new SignatureHeader(SignatureKind.Method, SignatureCallingConvention.Default, ((SignatureAttributes)0x80)));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1540Assert.Throws<ArgumentException>(() => comp.CreateFunctionPointerTypeSymbol(returnType: @string, returnRefKind: RefKind.None, parameterTypes: ImmutableArray<ITypeSymbol>.Empty, parameterRefKinds: ImmutableArray<RefKind>.Empty, callingConvention: SignatureCallingConvention.Default, callingConventionTypes: ImmutableArray.Create(cdeclType)!));
Symbols\TypeTests.cs (4)
2349Assert.Equal(SignatureCallingConvention.Default, m1.CallingConvention); 2354Assert.Equal(SignatureCallingConvention.Default, m2.CallingConvention); 2397Assert.Equal(SignatureCallingConvention.Default, m1.CallingConvention); 2402Assert.Equal(SignatureCallingConvention.Default, m2.CallingConvention);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
136if (symbol.Signature.CallingConvention is not System.Reflection.Metadata.SignatureCallingConvention.Default
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
122Case SignatureCallingConvention.Default, SignatureCallingConvention.VarArgs
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\NoPiaEmbedTypes.vb (1)
1306Assert.Equal(CByte(SignatureCallingConvention.Default) Or CByte(SignatureAttributes.Instance), signatureHeader.RawValue)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
107public SignatureCallingConvention CallingConvention => SignatureCallingConvention.Default;
System.Reflection.Emit (3)
System\Reflection\Emit\ModuleBuilderImpl.cs (3)
805SignatureCallingConvention convention = SignatureCallingConvention.Default; 1375CallingConvention.Winapi => SignatureCallingConvention.Default, // TODO: platform-specific 1380_ => SignatureCallingConvention.Default,
System.Reflection.Metadata (4)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (3)
75SignatureCallingConvention convention = SignatureCallingConvention.Default, 105Builder.WriteByte(new SignatureHeader(SignatureKind.Property, SignatureCallingConvention.Default, (isInstanceProperty ? SignatureAttributes.Instance : 0)).RawValue); 1084SignatureCallingConvention convention = SignatureCallingConvention.Default,
System\Reflection\Metadata\Signatures\SignatureHeader.cs (1)
46return SignatureCallingConvention.Default;