14 references to ContainsDynamic
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Constraints.cs (1)
630
if (type.
ContainsDynamic
())
Binder\Binder_Symbols.cs (1)
913
if (type.
ContainsDynamic
())
CodeGen\EmitStatement.cs (1)
1758
var dynamicTransformFlags = !local.IsCompilerGenerated && local.Type.
ContainsDynamic
() ?
Symbols\Compilation_WellKnownMembers.cs (1)
778
Debug.Assert(type.
ContainsDynamic
());
Symbols\ConstraintsHelper.cs (1)
161
Debug.Assert(!constraintType.Type.
ContainsDynamic
());
Symbols\MethodSymbol.cs (1)
1161
if (type.Type.
ContainsDynamic
() && compilation.HasDynamicEmitAttributes(BindingDiagnosticBag.Discarded, Location.None))
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
400
if (type.Type.
ContainsDynamic
())
Symbols\Source\SourceEventSymbol.cs (1)
331
if (type.Type.
ContainsDynamic
())
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5339
if (baseType.
ContainsDynamic
())
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
575
if (baseType.
ContainsDynamic
())
Symbols\Source\SourceParameterSymbolBase.cs (1)
95
if (type.Type.
ContainsDynamic
())
Symbols\Source\SourcePropertySymbolBase.cs (1)
1370
if (type.Type.
ContainsDynamic
())
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
61
type.
ContainsDynamic
() &&
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
156
if (type.Type.
ContainsDynamic
() && compilation.HasDynamicEmitAttributes(BindingDiagnosticBag.Discarded, Location.None) && compilation.CanEmitBoolean())