22 references to ExactSpelling
Microsoft.CodeAnalysis (2)
Symbols\PlatformInvokeInformation.cs (2)
56
return (_flags & MethodImportAttributes.
ExactSpelling
) != 0;
173
result |= MethodImportAttributes.
ExactSpelling
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_WellKnownAttributes.cs (6)
2709
MethodImportAttributes.
ExactSpelling
|
2736
MethodImportAttributes.
ExactSpelling
|
2871
new { attr = MakeDllImport(exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
ExactSpelling
}, // M11
2874
new { attr = MakeDllImport(charSet: CharSet.Ansi, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
ExactSpelling
| MethodImportAttributes.CharSetAnsi }, // M13
2876
new { attr = MakeDllImport(charSet: CharSet.Unicode, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
ExactSpelling
| MethodImportAttributes.CharSetUnicode },// M15
2878
new { attr = MakeDllImport(charSet: CharSet.Auto, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.
ExactSpelling
| MethodImportAttributes.CharSetAuto }, // M17
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\SourceMethodSymbol.vb (2)
289
result = MethodImportAttributes.CharSetAnsi Or MethodImportAttributes.
ExactSpelling
292
result = MethodImportAttributes.CharSetUnicode Or MethodImportAttributes.
ExactSpelling
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (10)
Attributes\AttributeTests_WellKnownAttributes.vb (10)
1514
Assert.Equal(MethodImportAttributes.
ExactSpelling
Or
1542
MethodImportAttributes.
ExactSpelling
Or
1891
New With {.n = 11, .attr = MakeDllImport(exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.
ExactSpelling
},
1894
New With {.n = 13, .attr = MakeDllImport(charSet:=CharSet.Ansi, exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetAnsi},
1896
New With {.n = 15, .attr = MakeDllImport(charSet:=CharSet.Unicode, exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetUnicode},
1898
New With {.n = 17, .attr = MakeDllImport(charSet:=CharSet.Auto, exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetAuto},
2776
Assert.Equal(MethodImportAttributes.
ExactSpelling
Or
2827
Assert.Equal(declareFlags Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetAnsi, import.Attributes)
2832
Assert.Equal(declareFlags Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetUnicode, import.Attributes)
2842
Assert.Equal(declareFlags Or MethodImportAttributes.
ExactSpelling
Or MethodImportAttributes.CharSetAnsi, import.Attributes)
System.Reflection.Emit (1)
System\Reflection\Emit\PseudoCustomAttributesData.cs (1)
61
importAttributes |= MethodImportAttributes.
ExactSpelling
;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
143
ExactSpelling = (a & MethodImportAttributes.
ExactSpelling
) != 0,