11 references to IsContainingSymbolOfAllTypeParameters
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceTypeParameterSymbol.cs (2)
363
Debug.Assert(this.ContainingSymbol.
IsContainingSymbolOfAllTypeParameters
(this.EffectiveBaseClassNoUseSiteDiagnostics));
364
Debug.Assert(this.ContainingSymbol.
IsContainingSymbolOfAllTypeParameters
(this.DeducedBaseTypeNoUseSiteDiagnostics));
Symbols\SymbolExtensions.cs (1)
242
return types.All(containingSymbol.
IsContainingSymbolOfAllTypeParameters
);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
Symbols\DisplayClassVariable.cs (1)
44
Debug.Assert(this.ContainingSymbol.
IsContainingSymbolOfAllTypeParameters
(this.Type));
Symbols\EEDisplayClassFieldLocalSymbol.cs (1)
27
Debug.Assert(this.ContainingSymbol.
IsContainingSymbolOfAllTypeParameters
(this.Type));
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (6)
ExpressionCompilerTestBase.cs (6)
393
Assert.True(method.
IsContainingSymbolOfAllTypeParameters
(method.ReturnType));
394
AssertEx.All(method.TypeParameters, typeParameter => method.
IsContainingSymbolOfAllTypeParameters
(typeParameter));
395
AssertEx.All(method.TypeArgumentsWithAnnotations, typeArgument => method.
IsContainingSymbolOfAllTypeParameters
(typeArgument.Type));
396
AssertEx.All(method.Parameters, parameter => method.
IsContainingSymbolOfAllTypeParameters
(parameter.Type));
434
AssertEx.All(type.TypeParameters, typeParameter => type.
IsContainingSymbolOfAllTypeParameters
(typeParameter));
435
AssertEx.All(type.TypeArguments(), typeArgument => type.
IsContainingSymbolOfAllTypeParameters
(typeArgument));