1 write to TypeManager
Microsoft.CodeAnalysis (1)
Emit\NoPia\CommonEmbeddedType.cs (1)
54
this.
TypeManager
= typeManager;
27 references to TypeManager
Microsoft.CodeAnalysis (27)
Emit\NoPia\CommonEmbeddedType.cs (27)
88
return
TypeManager
.IsTargetAttribute(attrData, description, out signatureIndex);
97
builder.AddOptional(
TypeManager
.CreateCompilerGeneratedAttribute());
116
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
120
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_GuidAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
125
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
128
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_ComEventInterfaceAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
133
if ((signatureIndex == 0 || signatureIndex == 1) &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
135
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(signatureIndex == 0 ? WellKnownMember.System_Runtime_InteropServices_InterfaceTypeAttribute__ctorInt16 :
142
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
144
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_BestFitMappingAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
149
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
151
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_CoClassAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
156
if (UnderlyingNamedType.IsEnum && signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
158
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_FlagsAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
163
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
165
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Reflection_DefaultMemberAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
177
if (signatureIndex == 0 &&
TypeManager
.TryGetAttributeArguments(attrData, out constructorArguments, out namedArguments, syntaxNodeOpt, diagnostics))
179
builder.AddOptional(
TypeManager
.CreateSynthesizedAttribute(WellKnownMember.System_Runtime_InteropServices_UnmanagedFunctionPointerAttribute__ctor, constructorArguments, namedArguments, syntaxNodeOpt, diagnostics));
247
Debug.Assert(
TypeManager
.IsFrozen);
255
if (
TypeManager
.EmbeddedEventsMap.TryGetValue(e, out embedded))
276
Debug.Assert(
TypeManager
.IsFrozen);
284
if (
TypeManager
.EmbeddedFieldsMap.TryGetValue(f, out embedded))
445
Debug.Assert(
TypeManager
.IsFrozen);
458
if (
TypeManager
.EmbeddedMethodsMap.TryGetValue(method, out embedded))
495
Debug.Assert(
TypeManager
.IsFrozen);
503
if (
TypeManager
.EmbeddedPropertiesMap.TryGetValue(p, out embedded))
699
return
TypeManager
.ModuleBeingBuilt;