12 references to ExactSpelling
Microsoft.CodeAnalysis (2)
Symbols\PlatformInvokeInformation.cs (2)
56return (_flags & MethodImportAttributes.ExactSpelling) != 0; 173result |= MethodImportAttributes.ExactSpelling;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_WellKnownAttributes.cs (6)
2709MethodImportAttributes.ExactSpelling | 2736MethodImportAttributes.ExactSpelling | 2871new { attr = MakeDllImport(exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.ExactSpelling }, // M11 2874new { attr = MakeDllImport(charSet: CharSet.Ansi, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.ExactSpelling | MethodImportAttributes.CharSetAnsi }, // M13 2876new { attr = MakeDllImport(charSet: CharSet.Unicode, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.ExactSpelling | MethodImportAttributes.CharSetUnicode },// M15 2878new { attr = MakeDllImport(charSet: CharSet.Auto, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.ExactSpelling | MethodImportAttributes.CharSetAuto }, // M17
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\SourceMethodSymbol.vb (2)
290result = MethodImportAttributes.CharSetAnsi Or MethodImportAttributes.ExactSpelling 293result = MethodImportAttributes.CharSetUnicode Or MethodImportAttributes.ExactSpelling
System.Reflection.Emit (1)
System\Reflection\Emit\PseudoCustomAttributesData.cs (1)
61importAttributes |= MethodImportAttributes.ExactSpelling;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
143ExactSpelling = (a & MethodImportAttributes.ExactSpelling) != 0,