49 references to WellKnownMember
Microsoft.CodeAnalysis (48)
Compilation\Compilation.cs (3)
996
internal abstract ISymbolInternal? CommonGetWellKnownTypeMember(
WellKnownMember
member);
3693
internal void MakeMemberMissing(
WellKnownMember
member)
3703
internal bool IsMemberMissing(
WellKnownMember
member)
Emit\CommonPEModuleBuilder.cs (2)
135
internal abstract Cci.ICustomAttribute SynthesizeAttribute(
WellKnownMember
attributeConstructor);
1091
SynthesizeAttribute(
WellKnownMember
.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));
Emit\EditAndContinue\DefinitionMap.cs (2)
357
if (compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Runtime_CompilerServices_AsyncStateMachineAttribute__ctor) == null)
365
if (compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Runtime_CompilerServices_IteratorStateMachineAttribute__ctor) == null)
Emit\NoPia\CommonEmbeddedMember.cs (1)
79
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_DispIdAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
Emit\NoPia\CommonEmbeddedMethod.cs (1)
89
return TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_LCIDConversionAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics);
Emit\NoPia\CommonEmbeddedParameter.cs (5)
100
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_ParamArrayAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
107
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_CompilerServices_DateTimeConstantAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
115
signatureIndex == 0 ?
WellKnownMember
.System_Runtime_CompilerServices_DecimalConstantAttribute__ctor :
116
WellKnownMember
.System_Runtime_CompilerServices_DecimalConstantAttribute__ctorByteByteInt32Int32Int32,
124
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_DefaultParameterValueAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
Emit\NoPia\CommonEmbeddedType.cs (9)
120
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_GuidAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
128
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_ComEventInterfaceAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
135
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(signatureIndex == 0 ?
WellKnownMember
.System_Runtime_InteropServices_InterfaceTypeAttribute__ctorInt16 :
136
WellKnownMember
.System_Runtime_InteropServices_InterfaceTypeAttribute__ctorComInterfaceType,
144
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_BestFitMappingAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
151
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_CoClassAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
158
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_FlagsAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
165
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Reflection_DefaultMemberAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
179
builder.AddOptional(TypeManager.CreateSynthesizedAttribute(
WellKnownMember
.System_Runtime_InteropServices_UnmanagedFunctionPointerAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
Emit\NoPia\EmbeddedTypesManager.cs (1)
159
internal abstract TAttributeData CreateSynthesizedAttribute(
WellKnownMember
constructor, ImmutableArray<TypedConstant> constructorArguments, ImmutableArray<KeyValuePair<string, TypedConstant>> namedArguments, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics);
Operations\ControlFlowGraphBuilder.cs (10)
4172
? (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_IAsyncDisposable__DisposeAsync)?.GetISymbol()
4327
var enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Threading_Monitor__Enter2)?.GetISymbol();
4333
enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Threading_Monitor__Enter)?.GetISymbol();
4416
var exitMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Threading_Monitor__Exit)?.GetISymbol();
4778
IOperation tryCallObjectForLoopControlHelper(SyntaxNode syntax,
WellKnownMember
helper)
4781
bool isInitialization = (helper ==
WellKnownMember
.Microsoft_VisualBasic_CompilerServices_ObjectFlowControl_ForLoopControl__ForLoopInitObj);
4874
WellKnownMember
.Microsoft_VisualBasic_CompilerServices_ObjectFlowControl_ForLoopControl__ForLoopInitObj);
5029
WellKnownMember
.Microsoft_VisualBasic_CompilerServices_ObjectFlowControl_ForLoopControl__ForNextCheckObj);
7792
(IMethodSymbol?)(_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_Runtime_CompilerServices_SwitchExpressionException__ctor) ??
7793
_compilation.CommonGetWellKnownTypeMember(
WellKnownMember
.System_InvalidOperationException__ctor))?.GetISymbol();
WellKnownMembers.cs (14)
5186
string[] allNames = new string[(int)
WellKnownMember
.Count]
5820
public static MemberDescriptor GetDescriptor(
WellKnownMember
member)
5829
internal static bool IsSynthesizedAttributeOptional(
WellKnownMember
attributeMember)
5833
case
WellKnownMember
.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor:
5834
case
WellKnownMember
.System_Diagnostics_DebuggableAttribute__ctorDebuggingModes:
5835
case
WellKnownMember
.System_Diagnostics_DebuggerBrowsableAttribute__ctor:
5836
case
WellKnownMember
.System_Diagnostics_DebuggerHiddenAttribute__ctor:
5837
case
WellKnownMember
.System_Diagnostics_DebuggerDisplayAttribute__ctor:
5838
case
WellKnownMember
.System_Diagnostics_DebuggerStepThroughAttribute__ctor:
5839
case
WellKnownMember
.System_Diagnostics_DebuggerNonUserCodeAttribute__ctor:
5840
case
WellKnownMember
.System_STAThreadAttribute__ctor:
5841
case
WellKnownMember
.System_Runtime_CompilerServices_AsyncStateMachineAttribute__ctor:
5842
case
WellKnownMember
.System_Runtime_CompilerServices_IteratorStateMachineAttribute__ctor:
5843
case
WellKnownMember
.System_Runtime_CompilerServices_AsyncIteratorStateMachineAttribute__ctor:
Microsoft.CodeAnalysis.CSharp (1)
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
60
/// <see cref="
WellKnownMember
.Microsoft_CodeAnalysis_Runtime_LocalStoreTracker__GetNewStateMachineInstanceId"/>.