MCPcopy Create free account
hub / github.com/beefytech/Beef / BfGenericParamSource

Class BfGenericParamSource

IDEHelper/Compiler/BfModule.h:1363–1400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361};
1362
1363struct BfGenericParamSource
1364{
1365public:
1366 BfTypeInstance* mTypeInstance;
1367 BfMethodInstance* mMethodInstance;
1368 bool mCheckAccessibility;
1369
1370public:
1371 BfGenericParamSource()
1372 {
1373 mTypeInstance = NULL;
1374 mMethodInstance = NULL;
1375 mCheckAccessibility = true;
1376 }
1377
1378 BfGenericParamSource(BfTypeInstance* typeInstance)
1379 {
1380 mTypeInstance = typeInstance;
1381 mMethodInstance = NULL;
1382 mCheckAccessibility = true;
1383 }
1384
1385 BfGenericParamSource(BfMethodInstance* methodInstance)
1386 {
1387 mTypeInstance = NULL;
1388 mMethodInstance = methodInstance;
1389 mCheckAccessibility = true;
1390 }
1391
1392 BfTypeInstance* GetTypeInstance() const
1393 {
1394 if (mTypeInstance != NULL)
1395 return mTypeInstance;
1396 if (mMethodInstance != NULL)
1397 return mMethodInstance->GetOwner();
1398 return NULL;
1399 }
1400};
1401
1402class BfAmbiguityContext
1403{

Callers 6

AddExtensionMethodsMethod · 0.85
CheckMethodMethod · 0.85
GetSelectedMethodMethod · 0.85
InjectMixinMethod · 0.85
IsTypeMemberIncludedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected