2 instantiations of DllImportData
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (1)
3414return new DllImportData(moduleName, entryPointName, flags);
Symbols\Attributes\CommonMethodWellKnownAttributeData.cs (1)
69_platformInvokeInfo = new DllImportData(moduleName, entryPointName, flags);
63 references to DllImportData
Microsoft.CodeAnalysis (4)
MetadataReader\PEModule.cs (1)
3399internal DllImportData GetDllImportData(MethodDefinitionHandle methodDef)
Symbols\Attributes\CommonMethodWellKnownAttributeData.cs (2)
34private DllImportData? _platformInvokeInfo; 75public DllImportData? DllImportPlatformInvokeData
Symbols\IMethodSymbol.cs (1)
281DllImportData? GetDllImportData();
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
117public DllImportData GetDllImportData()
Microsoft.CodeAnalysis.CSharp (22)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
100public override DllImportData GetDllImportData()
Lowering\SynthesizedMethodBaseSymbol.cs (1)
180public sealed override DllImportData? GetDllImportData() => InheritsBaseMethodAttributes ? BaseMethod.GetDllImportData() : null;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
190public sealed override DllImportData GetDllImportData()
Symbols\ErrorMethodSymbol.cs (1)
237public sealed override DllImportData GetDllImportData()
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
856public override DllImportData GetDllImportData() => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
471public override DllImportData GetDllImportData() => HasFlag(MethodAttributes.PinvokeImpl)
Symbols\MethodSymbol.cs (1)
148public abstract DllImportData? GetDllImportData();
Symbols\PublicModel\MethodSymbol.cs (1)
331DllImportData IMethodSymbol.GetDllImportData() => _underlying.GetDllImportData();
Symbols\ReducedExtensionMethodSymbol.cs (1)
326public override DllImportData GetDllImportData()
Symbols\SignatureOnlyMethodSymbol.cs (1)
115public override DllImportData GetDllImportData() { return null; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
931DllImportData.MakeFlags( 1721public override DllImportData? GetDllImportData()
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
123public override DllImportData? GetDllImportData()
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
250public override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
115public override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
244public sealed override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
102public sealed override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
208public override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
153public override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
336public override DllImportData GetDllImportData()
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
338public override DllImportData? GetDllImportData()
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
215public override DllImportData GetDllImportData()
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenLocalFunctionTests.cs (2)
5772var importData = localFunction.GetDllImportData(); 5844var importData = localFunction.GetDllImportData();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\TopLevelStatementsTests.cs (1)
6198var importData = localFunction.GetDllImportData();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\PartialPropertiesTests.cs (1)
794var importData = accessor.GetDllImportData()!;
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedMethodSymbol.cs (1)
115public DllImportData GetDllImportData()
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_XmlLiterals.vb (1)
1810Public Overrides Function GetDllImportData() As DllImportData
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
452Dim data As DllImportData = method.GetDllImportData()
Symbols\ErrorMethodSymbol.vb (1)
70Public Overrides Function GetDllImportData() As DllImportData
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
701Public Overrides Function GetDllImportData() As DllImportData
Symbols\MethodSymbol.vb (1)
379Public MustOverride Function GetDllImportData() As DllImportData Implements IMethodSymbol.GetDllImportData
Symbols\ReducedExtensionMethodSymbol.vb (1)
563Public Overrides Function GetDllImportData() As DllImportData
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
314Public Overrides Function GetDllImportData() As DllImportData
Symbols\SignatureOnlyMethodSymbol.vb (1)
262Public Overrides Function GetDllImportData() As DllImportData
Symbols\Source\LambdaSymbol.vb (1)
167Public Overrides Function GetDllImportData() As DllImportData
Symbols\Source\SourceDeclareMethodSymbol.vb (3)
26Private ReadOnly _platformInvokeInfo As DllImportData 33platformInvokeInfo As DllImportData) 104Public Overrides Function GetDllImportData() As DllImportData
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
154Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Symbols\Source\SourceMethodSymbol.vb (2)
1728DllImportData.MakeFlags(exactSpelling, charSet, setLastError, callingConvention, bestFitMapping, throwOnUnmappable), 1926Public Overrides Function GetDllImportData() As DllImportData
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1246Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Symbols\Source\SourceParameterSymbol.vb (1)
458Dim pinvoke As DllImportData = methodSymbol.GetDllImportData()
Symbols\SubstitutedMethodSymbol.vb (1)
72Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
147Public Overrides Function GetDllImportData() As DllImportData
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
264Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (1)
86Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Symbols\Wrapped\WrappedMethodSymbol.vb (1)
256Public Overrides Function GetDllImportData() As DllImportData
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Symbols\EEMethodSymbol.vb (1)
230Public Overrides Function GetDllImportData() As DllImportData
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
MockSymbols.vb (1)
462Public NotOverridable Overrides Function GetDllImportData() As DllImportData
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
117public DllImportData GetDllImportData()
Microsoft.DotNet.CodeAnalysis (1)
Analyzers\PinvokeAnalyzer.cs (1)
138DllImportData data = methodSymbol.GetDllImportData();
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\ConvertToLibraryImportAnalyzer.cs (4)
72DllImportData? dllImportData = method.GetDllImportData(); 94DllImportData dllImportData, 179private static bool IsBestFitMapping(IMethodSymbol method, DllImportData? dllImportData) 215private static InteropAttributeCompilationData CreateInteropAttributeDataFromDllImport(DllImportData dllImportData)
Analyzers\ConvertToLibraryImportFixer.cs (1)
422DllImportData dllImportData = methodSymbol.GetDllImportData()!;